Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001496/0.001496, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001694/0.001694, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 230.5 MB / 258.2 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2183/0.2183, allocations: 46.94 MB / 361.6 MB, free: 4.184 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 80.17 kB / 0.497 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3315, allocations: 66.08 MB / 0.5615 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.0023/0.3338, allocations: 1.221 MB / 0.5627 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000784/0.3346, allocations: 427.9 kB / 0.5631 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.18e-05/0.3346, allocations: 4 kB / 0.5631 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.714e-05/0.3346, allocations: 0 / 0.5631 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.284e-05/0.3346, allocations: 0 / 0.5631 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004697/0.3351, allocations: 75.73 kB / 0.5632 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.945e-05/0.3351, allocations: 0 / 0.5632 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.009e-05/0.3352, allocations: 3.984 kB / 0.5632 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.425e-05/0.3352, allocations: 4 kB / 0.5632 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.3354, allocations: 47.69 kB / 0.5632 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.532e-06/0.3354, allocations: 0 / 0.5632 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.105e-05/0.3354, allocations: 8 kB / 0.5632 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.274e-06/0.3354, allocations: 0 / 0.5632 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.566e-05/0.3355, allocations: 0 / 0.5632 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 6.525e-05/0.3355, allocations: 12 kB / 0.5632 GB, free: 2.492 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3355, allocations: 0 / 0.5632 GB, free: 2.492 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3355, allocations: 0 / 0.5632 GB, free: 2.492 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.3355, allocations: 0 / 0.5632 GB, free: 2.492 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002695/0.3358, allocations: 242.5 kB / 0.5635 GB, free: 2.223 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.3358, allocations: 11.97 kB / 0.5635 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.084e-05/0.3359, allocations: 30.75 kB / 0.5635 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.336, allocations: 4.938 kB / 0.5635 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.919e-05/0.3361, allocations: 106.5 kB / 0.5636 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-06/0.3361, allocations: 384 / 0.5636 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.3361, allocations: 8.375 kB / 0.5636 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.329e-05/0.3362, allocations: 26.27 kB / 0.5637 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3362, allocations: 3.938 kB / 0.5637 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.3362, allocations: 0 / 0.5637 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.3362, allocations: 0 / 0.5637 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.642e-05/0.3362, allocations: 8 kB / 0.5637 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.3365, allocations: 352.7 kB / 0.564 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.875e-05/0.3366, allocations: 181 kB / 0.5642 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.401e-05/0.3366, allocations: 84.08 kB / 0.5643 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.3367, allocations: 75.28 kB / 0.5643 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.802e-05/0.3367, allocations: 109.8 kB / 0.5644 GB, free: 1.137 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.3367, allocations: 0 / 0.5644 GB, free: 1.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 6.538e-05/0.3368, allocations: 41.59 kB / 0.5645 GB, free: 1.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/0.3368, allocations: 126.7 kB / 0.5646 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.829e-05/0.3369, allocations: 97.84 kB / 0.5647 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.3369, allocations: 25.7 kB / 0.5647 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.337, allocations: 84.12 kB / 0.5648 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.757e-06/0.337, allocations: 4 kB / 0.5648 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.542e-05/0.337, allocations: 9.719 kB / 0.5648 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.3371, allocations: 315 kB / 0.5651 GB, free: 404 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.941e-06/0.3371, allocations: 0 / 0.5651 GB, free: 404 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.6e-06/0.3371, allocations: 4 kB / 0.5651 GB, free: 400 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.858e-05/0.3371, allocations: 8.891 kB / 0.5651 GB, free: 388 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3371, allocations: 3.938 kB / 0.5651 GB, free: 384 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.855e-05/0.3372, allocations: 45.61 kB / 0.5652 GB, free: 332 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.3373, allocations: 10.19 kB / 0.5652 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.3373, allocations: 0 / 0.5652 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.3373, allocations: 4.094 kB / 0.5652 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.085e-05/0.3373, allocations: 0 / 0.5652 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.3373, allocations: 0 / 0.5652 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.159e-05/0.3373, allocations: 4 kB / 0.5652 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-06/0.3373, allocations: 0 / 0.5652 GB, free: 316 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.979e-05/0.3374, allocations: 185.1 kB / 0.5654 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.348e-05/0.3375, allocations: 101 kB / 0.5655 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.143e-05/0.3375, allocations: 119.7 kB / 0.5656 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.012e-05/0.3376, allocations: 184.3 kB / 0.5657 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-05/0.3377, allocations: 180.2 kB / 0.5659 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.945e-05/0.3378, allocations: 176.3 kB / 0.5661 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.338, allocations: 381.2 kB / 0.5665 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.633e-05/0.338, allocations: 101 kB / 0.5665 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.12e-05/0.3381, allocations: 109 kB / 0.5667 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.488e-05/0.3381, allocations: 184.2 kB / 0.5668 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-05/0.3382, allocations: 176.3 kB / 0.567 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.714e-05/0.3383, allocations: 180.2 kB / 0.5672 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.696e-05/0.3384, allocations: 184.2 kB / 0.5673 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.3385, allocations: 311.9 kB / 0.5676 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.82e-05/0.3386, allocations: 109 kB / 0.5677 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.01e-05/0.3386, allocations: 188.2 kB / 0.5679 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.077e-05/0.3387, allocations: 101 kB / 0.568 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.332e-05/0.3388, allocations: 184.2 kB / 0.5682 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.644e-05/0.3388, allocations: 112.9 kB / 0.5683 GB, free: 12.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.512e-05/0.3389, allocations: 75.28 kB / 0.5684 GB, free: 12.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3389, allocations: 0 / 0.5684 GB, free: 12.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002182/0.3391, allocations: 0 / 0.5684 GB, free: 12.84 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003957/0.3395, allocations: 0.8088 MB / 0.5692 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.592e-05/0.3395, allocations: 3.938 kB / 0.5692 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3395, allocations: 0 / 0.5692 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.3395, allocations: 0 / 0.5692 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.3399, allocations: 455.7 kB / 0.5696 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003519/0.3403, allocations: 190.6 kB / 0.5698 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.3405, allocations: 0.669 MB / 0.5704 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.443e-05/0.3406, allocations: 0 / 0.5704 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.749e-05/0.3406, allocations: 7.438 kB / 0.5704 GB, free: 10.61 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3406, allocations: 0 / 0.5704 GB, free: 10.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01927/0.3598, allocations: 0.8916 MB / 0.5713 GB, free: 9.793 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.676/8.036, allocations: 12 kB / 0.5713 GB, free: 9.781 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.773939763195813] Failed to read output from testmodel.py, exit status != 0: ['time', 'p'] 8.106949829030782 8.136701862 7.795941264 Calling exit ...