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.001179/0.001179, allocations: 110.5 kB / 19.75 MB, free: 2.562 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.001246/0.001246, allocations: 221.1 kB / 22.92 MB, free: 5.539 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.296/1.296, allocations: 230.2 MB / 256.1 MB, free: 8.594 MB / 206.1 MB " [Timeout remaining time 179] 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.1982/0.1982, allocations: 46.9 MB / 359.3 MB, free: 4.945 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.002123/0.002123, allocations: 83.84 kB / 0.494 GB, free: 9.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.253, allocations: 65.97 MB / 0.5584 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002013/0.255, allocations: 1.222 MB / 0.5596 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005828/0.2555, allocations: 350.5 kB / 0.5599 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.949e-06/0.2556, allocations: 0 / 0.5599 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.131e-05/0.2556, allocations: 0 / 0.5599 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.535e-05/0.2556, allocations: 4 kB / 0.5599 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003374/0.2559, allocations: 55.81 kB / 0.56 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.94e-05/0.256, allocations: 3.984 kB / 0.56 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.419e-05/0.256, allocations: 8 kB / 0.56 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.291e-05/0.256, allocations: 0 / 0.56 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.2562, allocations: 39.89 kB / 0.56 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.781e-06/0.2562, allocations: 0 / 0.56 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.536e-06/0.2562, allocations: 0 / 0.56 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.812e-06/0.2562, allocations: 0 / 0.56 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.391e-05/0.2562, allocations: 11.94 kB / 0.56 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 3.857e-05/0.2563, allocations: 7.797 kB / 0.5601 GB, free: 3.504 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.2563, allocations: 0 / 0.5601 GB, free: 3.504 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.001e-06/0.2563, allocations: 0 / 0.5601 GB, free: 3.504 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.2563, allocations: 0 / 0.5601 GB, free: 3.504 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.0002576/0.2565, allocations: 311.6 kB / 0.5604 GB, free: 3.148 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.2566, allocations: 8.031 kB / 0.5604 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.865e-05/0.2566, allocations: 30.75 kB / 0.5604 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.745e-05/0.2566, allocations: 4.938 kB / 0.5604 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.758e-05/0.2567, allocations: 160.4 kB / 0.5605 GB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.2567, allocations: 8.375 kB / 0.5606 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-06/0.2567, allocations: 384 / 0.5606 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.219e-05/0.2568, allocations: 34.25 kB / 0.5606 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.2568, allocations: 3.938 kB / 0.5606 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.49e-06/0.2568, allocations: 0 / 0.5606 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2568, allocations: 0 / 0.5606 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.629e-05/0.2568, allocations: 3.938 kB / 0.5606 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002769/0.2571, allocations: 383.5 kB / 0.561 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.125e-05/0.2572, allocations: 169.1 kB / 0.5611 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.476e-05/0.2572, allocations: 80.14 kB / 0.5612 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.2573, allocations: 75.28 kB / 0.5613 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.722e-05/0.2573, allocations: 109.9 kB / 0.5614 GB, free: 1.973 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.2573, allocations: 7.938 kB / 0.5614 GB, free: 1.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 5.839e-05/0.2574, allocations: 33.66 kB / 0.5614 GB, free: 1.926 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.2574, allocations: 130.6 kB / 0.5615 GB, free: 1.785 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.421e-05/0.2575, allocations: 89.86 kB / 0.5616 GB, free: 1.688 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.2575, allocations: 29.7 kB / 0.5617 GB, free: 1.652 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.933e-05/0.2575, allocations: 80.14 kB / 0.5617 GB, free: 1.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.2575, allocations: 3.938 kB / 0.5617 GB, free: 1.566 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/0.2576, allocations: 13.83 kB / 0.5617 GB, free: 1.547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.2577, allocations: 314.8 kB / 0.562 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.027e-06/0.2577, allocations: 8 kB / 0.5621 GB, free: 1.223 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.507e-06/0.2577, allocations: 0 / 0.5621 GB, free: 1.223 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.922e-05/0.2577, allocations: 8.797 kB / 0.5621 GB, free: 1.211 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2577, allocations: 3.938 kB / 0.5621 GB, free: 1.207 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.97e-05/0.2578, allocations: 33.7 kB / 0.5621 GB, free: 1.168 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.2578, allocations: 4 kB / 0.5621 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-06/0.2578, allocations: 4.094 kB / 0.5621 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.687e-06/0.2578, allocations: 0 / 0.5621 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.714e-05/0.2578, allocations: 7.984 kB / 0.5621 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.2578, allocations: 0 / 0.5621 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.837e-06/0.2578, allocations: 0 / 0.5621 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-06/0.2579, allocations: 0 / 0.5621 GB, free: 1.152 MB / 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.343e-05/0.2579, allocations: 185.1 kB / 0.5623 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.299e-05/0.258, allocations: 112.9 kB / 0.5624 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.277e-05/0.258, allocations: 111.9 kB / 0.5625 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.388e-05/0.2581, allocations: 176.3 kB / 0.5627 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.674e-05/0.2582, allocations: 184.2 kB / 0.5629 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.626e-05/0.2582, allocations: 184.3 kB / 0.563 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.2585, allocations: 405.1 kB / 0.5634 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.772e-05/0.2585, allocations: 109 kB / 0.5635 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.738e-05/0.2585, allocations: 102 kB / 0.5636 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.6e-05/0.2586, allocations: 184.2 kB / 0.5638 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.644e-05/0.2587, allocations: 180.3 kB / 0.564 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.368e-05/0.2587, allocations: 180.2 kB / 0.5641 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-05/0.2588, allocations: 176.3 kB / 0.5643 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.2589, allocations: 315.7 kB / 0.5646 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.704e-05/0.259, allocations: 186.3 kB / 0.5648 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.93e-05/0.2591, allocations: 184.2 kB / 0.565 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.363e-05/0.2592, allocations: 105 kB / 0.5651 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.072e-05/0.2592, allocations: 192.2 kB / 0.5652 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.729e-05/0.2593, allocations: 105 kB / 0.5653 GB, free: 13.63 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.107e-05/0.2593, allocations: 75.28 kB / 0.5654 GB, free: 13.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2593, allocations: 0 / 0.5654 GB, free: 13.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000194/0.2595, allocations: 0 / 0.5654 GB, free: 13.55 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.0003719/0.2599, allocations: 0.819 MB / 0.5662 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.325e-05/0.2599, allocations: 0 / 0.5662 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.2599, allocations: 4 kB / 0.5662 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.2599, allocations: 3.938 kB / 0.5662 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.2602, allocations: 458.3 kB / 0.5667 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003044/0.2605, allocations: 182.6 kB / 0.5668 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.2608, allocations: 0.6729 MB / 0.5675 GB, free: 11.33 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.21e-05/0.2608, allocations: 3.938 kB / 0.5675 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.388e-05/0.2608, allocations: 7.438 kB / 0.5675 GB, free: 11.32 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2608, allocations: 0 / 0.5675 GB, free: 11.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02074/0.2816, allocations: 0.8608 MB / 0.5683 GB, free: 10.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.085/7.366, allocations: 11.67 kB / 0.5683 GB, free: 10.51 MB / 414.1 MB " [Timeout remaining time 653] (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.0004 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: 9.812683633994311]