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.001809/0.001809, allocations: 119.5 kB / 18.51 MB, free: 4.555 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.00181/0.00181, allocations: 205.6 kB / 21.45 MB, free: 1.609 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.518/1.518, allocations: 230.5 MB / 254.7 MB, free: 15.04 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.2453/0.2453, allocations: 46.93 MB / 357.7 MB, free: 10.2 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.002344/0.002344, allocations: 79.88 kB / 0.4917 GB, free: 7.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1522, allocations: 66.04 MB / 0.5562 GB, free: 5.578 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.003498/0.1557, allocations: 1.212 MB / 0.5573 GB, free: 4.348 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.1568, allocations: 426.2 kB / 0.5578 GB, free: 3.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.557e-05/0.1569, allocations: 0 / 0.5578 GB, free: 3.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.069e-05/0.1569, allocations: 0 / 0.5578 GB, free: 3.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 3.69e-05/0.1569, allocations: 0 / 0.5578 GB, free: 3.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000667/0.1576, allocations: 75.73 kB / 0.5578 GB, free: 3.855 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.783e-05/0.1576, allocations: 4 kB / 0.5578 GB, free: 3.852 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.139e-05/0.1577, allocations: 0 / 0.5578 GB, free: 3.852 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.476e-05/0.1577, allocations: 3.938 kB / 0.5578 GB, free: 3.848 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002795/0.158, allocations: 39.95 kB / 0.5579 GB, free: 3.809 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.866e-06/0.158, allocations: 0 / 0.5579 GB, free: 3.809 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.235e-05/0.1581, allocations: 8 kB / 0.5579 GB, free: 3.801 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.298e-06/0.1581, allocations: 0 / 0.5579 GB, free: 3.801 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.929e-05/0.1581, allocations: 4 kB / 0.5579 GB, free: 3.797 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 9.286e-05/0.1582, allocations: 19.97 kB / 0.5579 GB, free: 3.777 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1582, allocations: 0 / 0.5579 GB, free: 3.777 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1582, allocations: 0 / 0.5579 GB, free: 3.777 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1582, allocations: 0 / 0.5579 GB, free: 3.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.000385/0.1586, allocations: 311.5 kB / 0.5582 GB, free: 3.422 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.1586, allocations: 8.031 kB / 0.5582 GB, free: 3.414 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.65e-05/0.1587, allocations: 30.75 kB / 0.5582 GB, free: 3.375 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/0.1589, allocations: 8.922 kB / 0.5582 GB, free: 3.367 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.159, allocations: 160.4 kB / 0.5584 GB, free: 3.172 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.255e-06/0.159, allocations: 4.375 kB / 0.5584 GB, free: 3.168 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.159, allocations: 4.375 kB / 0.5584 GB, free: 3.164 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.1592, allocations: 34.2 kB / 0.5584 GB, free: 3.125 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1592, allocations: 3.938 kB / 0.5584 GB, free: 3.121 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1592, allocations: 0 / 0.5584 GB, free: 3.121 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.1592, allocations: 0 / 0.5584 GB, free: 3.121 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.077e-05/0.1592, allocations: 11.88 kB / 0.5584 GB, free: 3.109 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004552/0.1597, allocations: 383.5 kB / 0.5588 GB, free: 2.684 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.16, allocations: 173 kB / 0.559 GB, free: 2.504 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.1601, allocations: 80.14 kB / 0.5591 GB, free: 2.422 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.239e-05/0.1602, allocations: 75.28 kB / 0.5591 GB, free: 2.348 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.539e-05/0.1602, allocations: 109.8 kB / 0.5592 GB, free: 2.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.273e-06/0.1602, allocations: 4 kB / 0.5592 GB, free: 2.227 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001314/0.1604, allocations: 33.66 kB / 0.5593 GB, free: 2.188 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.217e-05/0.1605, allocations: 130.7 kB / 0.5594 GB, free: 2.047 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.1606, allocations: 89.86 kB / 0.5595 GB, free: 1.949 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.1606, allocations: 25.7 kB / 0.5595 GB, free: 1.918 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.905e-05/0.1607, allocations: 80.14 kB / 0.5596 GB, free: 1.836 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-06/0.1607, allocations: 0 / 0.5596 GB, free: 1.836 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.1607, allocations: 17.84 kB / 0.5596 GB, free: 1.812 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.1609, allocations: 318.8 kB / 0.5599 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.094e-05/0.1609, allocations: 0 / 0.5599 GB, free: 1.492 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.1e-05/0.1609, allocations: 4 kB / 0.5599 GB, free: 1.488 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.649e-05/0.1609, allocations: 8.859 kB / 0.5599 GB, free: 1.477 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.1609, allocations: 3.938 kB / 0.5599 GB, free: 1.473 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001326/0.1611, allocations: 29.7 kB / 0.5599 GB, free: 1.438 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.1611, allocations: 8 kB / 0.56 GB, free: 1.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1611, allocations: 4.094 kB / 0.56 GB, free: 1.426 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.1611, allocations: 0 / 0.56 GB, free: 1.426 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.922e-05/0.1612, allocations: 0 / 0.56 GB, free: 1.426 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1612, allocations: 0 / 0.56 GB, free: 1.426 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.452e-05/0.1612, allocations: 3.938 kB / 0.56 GB, free: 1.422 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.1612, allocations: 4 kB / 0.56 GB, free: 1.418 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 0.0001399/0.1613, allocations: 189 kB / 0.5601 GB, free: 1.223 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.292e-05/0.1614, allocations: 101 kB / 0.5602 GB, free: 1.117 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.978e-05/0.1615, allocations: 123.9 kB / 0.5604 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001026/0.1616, allocations: 180.2 kB / 0.5605 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000103/0.1617, allocations: 176.3 kB / 0.5607 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001005/0.1618, allocations: 184.2 kB / 0.5609 GB, free: 452 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003749/0.1622, allocations: 405.2 kB / 0.5613 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-05/0.1623, allocations: 105 kB / 0.5614 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.1624, allocations: 104.9 kB / 0.5615 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001191/0.1625, allocations: 184.2 kB / 0.5616 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.1626, allocations: 188.4 kB / 0.5618 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001813/0.1628, allocations: 180.3 kB / 0.562 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.476e-05/0.1629, allocations: 176.3 kB / 0.5622 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.1632, allocations: 319.7 kB / 0.5625 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.1633, allocations: 182 kB / 0.5626 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/0.1635, allocations: 184.2 kB / 0.5628 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.1636, allocations: 105 kB / 0.5629 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.1637, allocations: 192.2 kB / 0.5631 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-05/0.1637, allocations: 101 kB / 0.5632 GB, free: 13.89 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.068e-05/0.1638, allocations: 79.28 kB / 0.5633 GB, free: 13.81 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1638, allocations: 0 / 0.5633 GB, free: 13.81 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003644/0.1642, allocations: 0 / 0.5633 GB, free: 13.81 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.0006855/0.1648, allocations: 0.8127 MB / 0.5641 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 7.245e-05/0.1649, allocations: 0 / 0.5641 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1649, allocations: 0 / 0.5641 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.983e-06/0.1649, allocations: 0 / 0.5641 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005609/0.1655, allocations: 460.9 kB / 0.5645 GB, free: 12.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005057/0.166, allocations: 186.6 kB / 0.5647 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.1664, allocations: 0.6729 MB / 0.5653 GB, free: 11.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.058e-05/0.1664, allocations: 0 / 0.5653 GB, free: 11.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.259e-05/0.1664, allocations: 7.438 kB / 0.5653 GB, free: 11.58 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1664, allocations: 0 / 0.5653 GB, free: 11.58 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02704/0.1934, allocations: 0.9149 MB / 0.5662 GB, free: 10.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.158/8.351, allocations: 7.859 kB / 0.5662 GB, free: 10.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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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: 11.419153613969684] Failed to read output from testmodel.py, exit status != 0: ['time', 'p'] 8.416669288184494 8.432741466 8.271408138 Calling exit ...