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.001323/0.001323, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001484/0.001484, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.48/1.48, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2328/0.2328, allocations: 46.88 MB / 357.4 MB, free: 10.54 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.003477/0.003477, allocations: 83.84 kB / 0.4912 GB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1364, allocations: 65.98 MB / 0.5556 GB, free: 6.473 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002313/0.1387, allocations: 1.221 MB / 0.5568 GB, free: 5.234 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006989/0.1394, allocations: 340.7 kB / 0.5572 GB, free: 4.898 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.345e-05/0.1394, allocations: 0 / 0.5572 GB, free: 4.898 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.496e-05/0.1394, allocations: 0 / 0.5572 GB, free: 4.898 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.794e-05/0.1395, allocations: 0 / 0.5572 GB, free: 4.898 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000431/0.1399, allocations: 51.83 kB / 0.5572 GB, free: 4.848 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.128e-05/0.14, allocations: 11.97 kB / 0.5572 GB, free: 4.836 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.591e-05/0.14, allocations: 4 kB / 0.5572 GB, free: 4.832 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.882e-05/0.14, allocations: 4 kB / 0.5572 GB, free: 4.828 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.1403, allocations: 35.91 kB / 0.5573 GB, free: 4.793 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.384e-06/0.1403, allocations: 0 / 0.5573 GB, free: 4.793 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.797e-06/0.1403, allocations: 0 / 0.5573 GB, free: 4.793 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.1403, allocations: 7.984 kB / 0.5573 GB, free: 4.785 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.661e-05/0.1403, allocations: 0 / 0.5573 GB, free: 4.785 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 5.082e-05/0.1403, allocations: 4 kB / 0.5573 GB, free: 4.781 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1404, allocations: 0 / 0.5573 GB, free: 4.781 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1404, allocations: 0 / 0.5573 GB, free: 4.781 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1404, allocations: 4 kB / 0.5573 GB, free: 4.777 MB / 414.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.0003349/0.1407, allocations: 311.6 kB / 0.5576 GB, free: 4.422 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.1407, allocations: 12.03 kB / 0.5576 GB, free: 4.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.288e-05/0.1408, allocations: 34.69 kB / 0.5576 GB, free: 4.367 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.935e-05/0.1408, allocations: 0.9375 kB / 0.5576 GB, free: 4.367 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.1409, allocations: 160.4 kB / 0.5578 GB, free: 4.172 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.1409, allocations: 384 / 0.5578 GB, free: 4.172 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.169e-06/0.1409, allocations: 384 / 0.5578 GB, free: 4.172 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.065e-05/0.141, allocations: 38.27 kB / 0.5578 GB, free: 4.129 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.141, allocations: 3.938 kB / 0.5578 GB, free: 4.125 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.141, allocations: 3.984 kB / 0.5578 GB, free: 4.121 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.141, allocations: 3.938 kB / 0.5578 GB, free: 4.117 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.564e-05/0.1411, allocations: 4 kB / 0.5578 GB, free: 4.113 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003303/0.1414, allocations: 375.5 kB / 0.5582 GB, free: 3.695 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.535e-05/0.1415, allocations: 177.1 kB / 0.5584 GB, free: 3.512 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.971e-05/0.1415, allocations: 81.83 kB / 0.5584 GB, free: 3.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.1416, allocations: 79.27 kB / 0.5585 GB, free: 3.352 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.89e-05/0.1416, allocations: 109.8 kB / 0.5586 GB, free: 3.234 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1416, allocations: 0 / 0.5586 GB, free: 3.234 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 6.706e-05/0.1417, allocations: 33.59 kB / 0.5586 GB, free: 3.195 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.1417, allocations: 138.6 kB / 0.5588 GB, free: 3.047 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.977e-05/0.1418, allocations: 93.86 kB / 0.5589 GB, free: 2.945 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.1418, allocations: 25.7 kB / 0.5589 GB, free: 2.914 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.55e-05/0.1419, allocations: 80.14 kB / 0.559 GB, free: 2.832 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.1419, allocations: 0 / 0.559 GB, free: 2.832 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.1419, allocations: 13.72 kB / 0.559 GB, free: 2.812 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.142, allocations: 314.8 kB / 0.5593 GB, free: 2.496 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.013e-06/0.142, allocations: 128 / 0.5593 GB, free: 2.496 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.697e-06/0.1421, allocations: 4 kB / 0.5593 GB, free: 2.492 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.23e-05/0.1421, allocations: 12.86 kB / 0.5593 GB, free: 2.477 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1421, allocations: 3.938 kB / 0.5593 GB, free: 2.473 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.388e-05/0.1422, allocations: 33.64 kB / 0.5593 GB, free: 2.434 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.1422, allocations: 4 kB / 0.5593 GB, free: 2.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.1422, allocations: 0 / 0.5593 GB, free: 2.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.1422, allocations: 4 kB / 0.5593 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.934e-05/0.1422, allocations: 0 / 0.5593 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.1422, allocations: 96 / 0.5593 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.598e-06/0.1422, allocations: 4 kB / 0.5593 GB, free: 2.422 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-06/0.1422, allocations: 0 / 0.5593 GB, free: 2.422 MB / 414.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 9.972e-05/0.1423, allocations: 193 kB / 0.5595 GB, free: 2.223 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.295e-05/0.1424, allocations: 101 kB / 0.5596 GB, free: 2.117 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.585e-05/0.1425, allocations: 115.8 kB / 0.5597 GB, free: 2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.648e-05/0.1425, allocations: 176.3 kB / 0.5599 GB, free: 1.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-05/0.1426, allocations: 188.2 kB / 0.5601 GB, free: 1.629 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-05/0.1427, allocations: 180.2 kB / 0.5603 GB, free: 1.445 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002864/0.143, allocations: 405.2 kB / 0.5606 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.698e-05/0.143, allocations: 108.9 kB / 0.5608 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.44e-05/0.1431, allocations: 105 kB / 0.5609 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.725e-05/0.1432, allocations: 184.2 kB / 0.561 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001145/0.1433, allocations: 176.3 kB / 0.5612 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.96e-05/0.1434, allocations: 180.3 kB / 0.5614 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.022e-05/0.1435, allocations: 180.4 kB / 0.5615 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.1436, allocations: 319.7 kB / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.884e-05/0.1437, allocations: 182 kB / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.703e-05/0.1438, allocations: 176.3 kB / 0.5622 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.971e-05/0.1439, allocations: 116.9 kB / 0.5623 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.501e-05/0.144, allocations: 184.2 kB / 0.5625 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.57e-05/0.144, allocations: 104.9 kB / 0.5626 GB, free: 14.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.562e-05/0.1441, allocations: 79.28 kB / 0.5626 GB, free: 14.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1441, allocations: 0 / 0.5626 GB, free: 14.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.1444, allocations: 4 kB / 0.5627 GB, free: 14.82 MB / 430.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.0004338/0.1448, allocations: 0.8009 MB / 0.5634 GB, free: 13.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.314e-05/0.1449, allocations: 16.03 kB / 0.5634 GB, free: 13.97 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1449, allocations: 0 / 0.5634 GB, free: 13.97 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.1449, allocations: 0 / 0.5634 GB, free: 13.97 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.1452, allocations: 451.7 kB / 0.5639 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003844/0.1456, allocations: 186.6 kB / 0.5641 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.1459, allocations: 0.6729 MB / 0.5647 GB, free: 12.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.708e-05/0.1459, allocations: 4 kB / 0.5647 GB, free: 12.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.93e-05/0.146, allocations: 7.438 kB / 0.5647 GB, free: 12.59 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.146, allocations: 0 / 0.5647 GB, free: 12.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0217/0.1677, allocations: 0.9153 MB / 0.5656 GB, free: 11.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.921/8.089, allocations: 8 kB / 0.5656 GB, free: 11.79 MB / 430.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 --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --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.873196850065142] Failed to read output from testmodel.py, exit status != 0: 8.16731879580766 8.188531351 8.044773841 Calling exit ...