Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001737/0.001737, allocations: 113 kB / 18.49 MB, free: 4.539 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.002068/0.002068, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.486/1.486, allocations: 230.6 MB / 254.8 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.223/0.223, allocations: 44.91 MB / 355.8 MB, free: 12.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 65.94 kB / 0.4886 GB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1213, allocations: 65.42 MB / 0.5524 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003387/0.1247, allocations: 2.085 MB / 0.5545 GB, free: 8.039 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.1258, allocations: 0.6039 MB / 0.5551 GB, free: 7.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.641e-05/0.1259, allocations: 7.938 kB / 0.5551 GB, free: 7.422 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.126, allocations: 23.78 kB / 0.5551 GB, free: 7.398 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.1261, allocations: 35.64 kB / 0.5551 GB, free: 7.363 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004104/0.1265, allocations: 83.83 kB / 0.5552 GB, free: 7.281 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000268/0.1268, allocations: 179.3 kB / 0.5554 GB, free: 7.105 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.1269, allocations: 37.8 kB / 0.5554 GB, free: 7.066 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.1271, allocations: 91.7 kB / 0.5555 GB, free: 6.977 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.1272, allocations: 83.67 kB / 0.5556 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.1273, allocations: 12 kB / 0.5556 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.07e-05/0.1273, allocations: 19.98 kB / 0.5556 GB, free: 6.863 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.738e-05/0.1274, allocations: 35.84 kB / 0.5557 GB, free: 6.828 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.367e-05/0.1274, allocations: 71.66 kB / 0.5557 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.1277, allocations: 191.2 kB / 0.5559 GB, free: 6.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1277, allocations: 0 / 0.5559 GB, free: 6.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1277, allocations: 3.938 kB / 0.5559 GB, free: 6.566 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.729e-06/0.1277, allocations: 3.938 kB / 0.5559 GB, free: 6.562 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.0007943/0.1285, allocations: 459 kB / 0.5564 GB, free: 6.062 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.1286, allocations: 8.031 kB / 0.5564 GB, free: 6.055 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.589e-05/0.1286, allocations: 4.422 kB / 0.5564 GB, free: 6.051 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.503e-05/0.1286, allocations: 50.72 kB / 0.5564 GB, free: 5.992 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/0.1288, allocations: 24.84 kB / 0.5564 GB, free: 5.969 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.1291, allocations: 213.2 kB / 0.5566 GB, free: 5.723 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.1291, allocations: 16.36 kB / 0.5567 GB, free: 5.707 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.684e-05/0.1291, allocations: 8 kB / 0.5567 GB, free: 5.699 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003599/0.1295, allocations: 164.2 kB / 0.5568 GB, free: 5.527 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.1295, allocations: 3.953 kB / 0.5568 GB, free: 5.523 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.1295, allocations: 4 kB / 0.5568 GB, free: 5.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1295, allocations: 8 kB / 0.5568 GB, free: 5.512 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003145/0.1298, allocations: 111.9 kB / 0.5569 GB, free: 5.402 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009669/0.1308, allocations: 0.6921 MB / 0.5576 GB, free: 4.645 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003631/0.1312, allocations: 134.5 kB / 0.5577 GB, free: 4.504 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.1313, allocations: 52.84 kB / 0.5578 GB, free: 4.449 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.1313, allocations: 4 kB / 0.5578 GB, free: 4.445 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.1314, allocations: 38.55 kB / 0.5578 GB, free: 4.398 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.1314, allocations: 4 kB / 0.5578 GB, free: 4.395 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001427/0.1328, allocations: 395.4 kB / 0.5582 GB, free: 4.004 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.1328, allocations: 63.34 kB / 0.5583 GB, free: 3.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.133, allocations: 154.2 kB / 0.5584 GB, free: 3.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.133, allocations: 29.7 kB / 0.5585 GB, free: 3.734 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.557e-05/0.1331, allocations: 120.4 kB / 0.5586 GB, free: 3.613 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.927e-05/0.1332, allocations: 67.38 kB / 0.5586 GB, free: 3.547 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.273e-05/0.1333, allocations: 37.7 kB / 0.5587 GB, free: 3.504 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1334, allocations: 326.8 kB / 0.559 GB, free: 3.176 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.1336, allocations: 67.95 kB / 0.559 GB, free: 3.109 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.1338, allocations: 109.9 kB / 0.5591 GB, free: 2.992 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004319/0.1343, allocations: 172.7 kB / 0.5593 GB, free: 2.812 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1343, allocations: 0 / 0.5593 GB, free: 2.812 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005558/0.1348, allocations: 217.4 kB / 0.5595 GB, free: 2.594 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1348, allocations: 4.094 kB / 0.5595 GB, free: 2.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.1349, allocations: 8 kB / 0.5595 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.1349, allocations: 3.938 kB / 0.5595 GB, free: 2.578 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003266/0.1352, allocations: 51.91 kB / 0.5596 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.1352, allocations: 4 kB / 0.5596 GB, free: 2.523 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.1354, allocations: 15.98 kB / 0.5596 GB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.1354, allocations: 4 kB / 0.5596 GB, free: 2.504 MB / 414.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.0001289/0.1355, allocations: 133.8 kB / 0.5597 GB, free: 2.363 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.926e-05/0.1356, allocations: 19.91 kB / 0.5598 GB, free: 2.344 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.966e-05/0.1356, allocations: 17.19 kB / 0.5598 GB, free: 2.328 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.1356, allocations: 7.938 kB / 0.5598 GB, free: 2.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1356, allocations: 0 / 0.5598 GB, free: 2.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1356, allocations: 0 / 0.5598 GB, free: 2.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.1367, allocations: 0.6174 MB / 0.5604 GB, free: 1.641 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1367, allocations: 0 / 0.5604 GB, free: 1.641 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/0.137, allocations: 43.91 kB / 0.5604 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.137, allocations: 4 kB / 0.5604 GB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.137, allocations: 4 kB / 0.5604 GB, free: 1.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.137, allocations: 0 / 0.5604 GB, free: 1.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.137, allocations: 0 / 0.5604 GB, free: 1.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005422/0.1376, allocations: 309.1 kB / 0.5607 GB, free: 1.273 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.1377, allocations: 109 kB / 0.5608 GB, free: 1.148 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.1377, allocations: 4 kB / 0.5608 GB, free: 1.145 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.1379, allocations: 15.98 kB / 0.5608 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.756e-05/0.138, allocations: 11.98 kB / 0.5609 GB, free: 1.117 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.138, allocations: 11.98 kB / 0.5609 GB, free: 1.105 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.891e-05/0.1381, allocations: 115.2 kB / 0.561 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1381, allocations: 0 / 0.561 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003065/0.1384, allocations: 40 kB / 0.561 GB, free: 0.9531 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 (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.000882/0.1393, allocations: 0.8378 MB / 0.5618 GB, free: 92 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005134/0.1398, allocations: 162 kB / 0.562 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1398, allocations: 0 / 0.562 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.14, allocations: 79.89 kB / 0.5621 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.1404, allocations: 30.36 kB / 0.5621 GB, free: 15.83 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003032/0.1434, allocations: 2.043 MB / 0.5641 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.1437, allocations: 0.7171 MB / 0.5648 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001496/0.1439, allocations: 25.42 kB / 0.5648 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.144, allocations: 43.42 kB / 0.5649 GB, free: 12.88 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.144, allocations: 0 / 0.5649 GB, free: 12.88 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02037/0.1644, allocations: 3.771 MB / 0.5685 GB, free: 9.219 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.492/8.656, allocations: 0 / 0.5685 GB, free: 9.219 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_EngineGasForce_fmu --startTime=0 --stopTime=1 --stepSize=0.000199601 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_EngineGasForce.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.62701025995193] Failed to read output from testmodel.py, exit status != 0: ['time', 'gasForce.dens', 'gasForce.f', 'gasForce.T', 'gasForce.V', 'gasForce.v_rel', 'gasForce.press'] 8.78526936203707 8.803125067 8.672591873 Calling exit ...