Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 116.2 kB / 18.49 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002015/0.002015, allocations: 218.9 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.436/1.436, allocations: 230.6 MB / 254.8 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2225/0.2225, allocations: 46.93 MB / 357.8 MB, free: 10.3 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 71.89 kB / 0.4916 GB, free: 7.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1232, allocations: 65.98 MB / 0.5561 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003515/0.1267, allocations: 2.082 MB / 0.5581 GB, free: 3.727 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.1278, allocations: 0.6078 MB / 0.5587 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.878e-05/0.1279, allocations: 0 / 0.5587 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.128, allocations: 23.78 kB / 0.5587 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.1281, allocations: 39.58 kB / 0.5587 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.1285, allocations: 79.88 kB / 0.5588 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002463/0.1288, allocations: 191.2 kB / 0.559 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.1289, allocations: 37.53 kB / 0.559 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.1291, allocations: 87.75 kB / 0.5591 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.1292, allocations: 83.67 kB / 0.5592 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.059e-05/0.1293, allocations: 15.94 kB / 0.5592 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.14e-05/0.1293, allocations: 16 kB / 0.5592 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.809e-05/0.1294, allocations: 35.89 kB / 0.5593 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.253e-05/0.1294, allocations: 75.66 kB / 0.5593 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.1297, allocations: 183.2 kB / 0.5595 GB, free: 2.258 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1297, allocations: 0 / 0.5595 GB, free: 2.258 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1297, allocations: 0 / 0.5595 GB, free: 2.258 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.1297, allocations: 4 kB / 0.5595 GB, free: 2.254 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008168/0.1305, allocations: 458.9 kB / 0.56 GB, free: 1.754 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1306, allocations: 8.031 kB / 0.56 GB, free: 1.746 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.587e-05/0.1306, allocations: 4.422 kB / 0.56 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.666e-05/0.1306, allocations: 50.73 kB / 0.56 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.1308, allocations: 36.77 kB / 0.5601 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.1311, allocations: 209.6 kB / 0.5603 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.1311, allocations: 16.36 kB / 0.5603 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/0.1312, allocations: 8 kB / 0.5603 GB, free: 1.383 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003555/0.1315, allocations: 168.1 kB / 0.5604 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.1316, allocations: 3.953 kB / 0.5604 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.1316, allocations: 8 kB / 0.5604 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.1316, allocations: 7.984 kB / 0.5605 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003125/0.1319, allocations: 107.9 kB / 0.5606 GB, free: 1.082 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009258/0.1328, allocations: 0.6844 MB / 0.5612 GB, free: 340 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/0.1332, allocations: 130.5 kB / 0.5614 GB, free: 200 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.1333, allocations: 52.84 kB / 0.5614 GB, free: 144 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.1334, allocations: 3.938 kB / 0.5614 GB, free: 140 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.1334, allocations: 38.55 kB / 0.5614 GB, free: 92 kB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.1334, allocations: 4 kB / 0.5614 GB, free: 88 kB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001402/0.1348, allocations: 409.1 kB / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.1348, allocations: 55.41 kB / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.135, allocations: 154.2 kB / 0.562 GB, free: 15.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.135, allocations: 33.64 kB / 0.5621 GB, free: 15.42 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.007e-05/0.1351, allocations: 120.4 kB / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.606e-05/0.1351, allocations: 63.44 kB / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.47e-05/0.1352, allocations: 37.7 kB / 0.5623 GB, free: 15.19 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1354, allocations: 330.8 kB / 0.5626 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.1356, allocations: 67.91 kB / 0.5627 GB, free: 14.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.1358, allocations: 109.9 kB / 0.5628 GB, free: 14.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004154/0.1362, allocations: 169.8 kB / 0.5629 GB, free: 14.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1362, allocations: 3.938 kB / 0.5629 GB, free: 14.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005169/0.1367, allocations: 223.7 kB / 0.5631 GB, free: 14.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1367, allocations: 5.875 kB / 0.5632 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.1367, allocations: 4 kB / 0.5632 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.1368, allocations: 3.938 kB / 0.5632 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003271/0.1371, allocations: 47.91 kB / 0.5632 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.1371, allocations: 4 kB / 0.5632 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.1373, allocations: 15.98 kB / 0.5632 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.1373, allocations: 4 kB / 0.5632 GB, free: 14.19 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 22 * 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.0001205/0.1374, allocations: 133.9 kB / 0.5634 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-05/0.1374, allocations: 15.91 kB / 0.5634 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.658e-05/0.1375, allocations: 17.19 kB / 0.5634 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.1375, allocations: 7.938 kB / 0.5634 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1375, allocations: 0 / 0.5634 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.1375, allocations: 7.922 kB / 0.5634 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.1386, allocations: 0.6123 MB / 0.564 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1386, allocations: 0 / 0.564 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.1388, allocations: 39.97 kB / 0.564 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.1388, allocations: 4 kB / 0.564 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.1388, allocations: 4 kB / 0.564 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.1388, allocations: 4 kB / 0.564 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1388, allocations: 3.938 kB / 0.5641 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005379/0.1394, allocations: 305.5 kB / 0.5643 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.1395, allocations: 109 kB / 0.5644 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.1395, allocations: 0 / 0.5644 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.1397, allocations: 19.92 kB / 0.5645 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.96e-05/0.1398, allocations: 19.97 kB / 0.5645 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.1398, allocations: 11.98 kB / 0.5645 GB, free: 12.79 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.447e-05/0.1399, allocations: 111.3 kB / 0.5646 GB, free: 12.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1399, allocations: 0 / 0.5646 GB, free: 12.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002796/0.1402, allocations: 36 kB / 0.5646 GB, free: 12.64 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 (19): * Single equations (assignments): 19 * 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.0008605/0.141, allocations: 0.8372 MB / 0.5655 GB, free: 11.78 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000486/0.1415, allocations: 157 kB / 0.5656 GB, free: 11.62 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1415, allocations: 0 / 0.5656 GB, free: 11.62 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.1417, allocations: 88.08 kB / 0.5657 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.1421, allocations: 23.92 kB / 0.5657 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002875/0.145, allocations: 2.041 MB / 0.5677 GB, free: 9.383 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.1453, allocations: 0.721 MB / 0.5684 GB, free: 8.633 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001483/0.1454, allocations: 21.42 kB / 0.5684 GB, free: 8.609 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.1456, allocations: 43.42 kB / 0.5685 GB, free: 8.566 MB / 430.1 MB Notification: Performance of SimCode: time 7.42e-07/0.1456, allocations: 4 kB / 0.5685 GB, free: 8.562 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.1654, allocations: 3.761 MB / 0.5721 GB, free: 4.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.531/8.696, allocations: 1.406 kB / 0.5721 GB, free: 4.91 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_EngineGasForce_fmu --startTime=0 --stopTime=1 --stepSize=0.000199601 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_EngineGasForce.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.633208926010411] Failed to read output from testmodel.py, exit status != 0: ['time', 'gasForce.f', 'gasForce.T', 'gasForce.V', 'gasForce.v_rel', 'gasForce.press'] 8.823451508011203 8.847759217 8.713839514 Calling exit ...