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.001824/0.001824, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002207/0.002207, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.446/1.446, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.2143/0.2143, allocations: 44.91 MB / 359.6 MB, free: 6.277 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.002133/0.002133, allocations: 59.91 kB / 0.4939 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3187, allocations: 65.47 MB / 0.5578 GB, free: 7.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003611/0.3223, allocations: 2.083 MB / 0.5598 GB, free: 5.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.3235, allocations: 0.6166 MB / 0.5604 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.3236, allocations: 0 / 0.5604 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.3238, allocations: 23.78 kB / 0.5605 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.3239, allocations: 43.58 kB / 0.5605 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004163/0.3243, allocations: 75.88 kB / 0.5606 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002761/0.3246, allocations: 191.3 kB / 0.5608 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.3247, allocations: 31.5 kB / 0.5608 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002059/0.3249, allocations: 91.75 kB / 0.5609 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.3251, allocations: 79.67 kB / 0.5609 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.879e-05/0.3251, allocations: 16 kB / 0.561 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.274e-05/0.3252, allocations: 16 kB / 0.561 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.409e-05/0.3252, allocations: 39.83 kB / 0.561 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.085e-05/0.3253, allocations: 83.64 kB / 0.5611 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.3256, allocations: 175.2 kB / 0.5613 GB, free: 4.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3256, allocations: 0 / 0.5613 GB, free: 4.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3256, allocations: 0 / 0.5613 GB, free: 4.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.3256, allocations: 0 / 0.5613 GB, free: 4.18 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007977/0.3264, allocations: 389.8 kB / 0.5616 GB, free: 3.766 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.3265, allocations: 8.031 kB / 0.5616 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.839e-05/0.3265, allocations: 8.422 kB / 0.5616 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.603e-05/0.3265, allocations: 46.67 kB / 0.5617 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.3267, allocations: 24.83 kB / 0.5617 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.327, allocations: 158.9 kB / 0.5619 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.327, allocations: 12.36 kB / 0.5619 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.555e-05/0.3271, allocations: 12 kB / 0.5619 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003632/0.3274, allocations: 161.8 kB / 0.562 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.3274, allocations: 7.953 kB / 0.5621 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.3275, allocations: 4 kB / 0.5621 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.892e-06/0.3275, allocations: 8 kB / 0.5621 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003118/0.3278, allocations: 111.8 kB / 0.5622 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009727/0.3288, allocations: 0.6521 MB / 0.5628 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003652/0.3291, allocations: 134.5 kB / 0.5629 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.3293, allocations: 56.77 kB / 0.563 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.3293, allocations: 7.984 kB / 0.563 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.3293, allocations: 34.56 kB / 0.563 GB, free: 2.211 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.3293, allocations: 0 / 0.563 GB, free: 2.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001422/0.3308, allocations: 411.3 kB / 0.5634 GB, free: 1.809 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.3308, allocations: 55.41 kB / 0.5635 GB, free: 1.742 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.331, allocations: 150.2 kB / 0.5636 GB, free: 1.586 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.331, allocations: 33.7 kB / 0.5637 GB, free: 1.547 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.57e-05/0.3311, allocations: 116.4 kB / 0.5638 GB, free: 1.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.697e-05/0.3311, allocations: 63.44 kB / 0.5638 GB, free: 1.367 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.841e-05/0.3312, allocations: 41.64 kB / 0.5639 GB, free: 1.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3313, allocations: 330.8 kB / 0.5642 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.3316, allocations: 71.89 kB / 0.5642 GB, free: 0.918 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.3318, allocations: 104.6 kB / 0.5643 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004066/0.3322, allocations: 171.3 kB / 0.5645 GB, free: 0.625 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.3322, allocations: 0 / 0.5645 GB, free: 0.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005109/0.3327, allocations: 219.6 kB / 0.5647 GB, free: 416 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.3327, allocations: 4.094 kB / 0.5647 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.3327, allocations: 7.984 kB / 0.5647 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.3327, allocations: 7.938 kB / 0.5647 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/0.3331, allocations: 51.91 kB / 0.5648 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.3331, allocations: 0 / 0.5648 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.3332, allocations: 11.98 kB / 0.5648 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.3332, allocations: 12 kB / 0.5648 GB, free: 320 kB / 398.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.0001285/0.3334, allocations: 121.8 kB / 0.5649 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.265e-05/0.3334, allocations: 27.83 kB / 0.565 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.233e-05/0.3335, allocations: 21.12 kB / 0.565 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.3335, allocations: 3.938 kB / 0.565 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.3335, allocations: 4 kB / 0.565 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3335, allocations: 0 / 0.565 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.3346, allocations: 0.5879 MB / 0.5656 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3346, allocations: 0 / 0.5656 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002504/0.3348, allocations: 39.97 kB / 0.5656 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.3348, allocations: 3.938 kB / 0.5656 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.3349, allocations: 4 kB / 0.5656 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.3349, allocations: 4 kB / 0.5656 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3349, allocations: 0 / 0.5656 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005259/0.3354, allocations: 301 kB / 0.5659 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.46e-05/0.3355, allocations: 27.88 kB / 0.5659 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.411e-05/0.3355, allocations: 8 kB / 0.5659 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.3357, allocations: 15.92 kB / 0.5659 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.061e-05/0.3358, allocations: 15.97 kB / 0.566 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.3358, allocations: 4 kB / 0.566 GB, free: 15.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.989e-05/0.3359, allocations: 128.1 kB / 0.5661 GB, free: 14.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3359, allocations: 0 / 0.5661 GB, free: 14.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002903/0.3362, allocations: 40 kB / 0.5661 GB, free: 14.89 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.0008862/0.3371, allocations: 0.8316 MB / 0.5669 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004895/0.3375, allocations: 163.8 kB / 0.5671 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3375, allocations: 0 / 0.5671 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.3378, allocations: 83.83 kB / 0.5672 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.3381, allocations: 26.98 kB / 0.5672 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003062/0.3412, allocations: 2.048 MB / 0.5692 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.3415, allocations: 0.7131 MB / 0.5699 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001559/0.3417, allocations: 29.41 kB / 0.5699 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.3418, allocations: 47.42 kB / 0.57 GB, free: 10.81 MB / 414.1 MB Notification: Performance of SimCode: time 9.21e-07/0.3418, allocations: 0 / 0.57 GB, free: 10.81 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02603/0.3678, allocations: 3.95 MB / 0.5738 GB, free: 7.004 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.37, allocations: 11.56 kB / 0.5738 GB, free: 6.996 MB / 414.1 MB " [Timeout remaining time 647] (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: 15.291676629974972] Failed to read output from testmodel.py, exit status != 0: ['time', 'gasForce.dens', 'gasForce.f', 'gasForce.T', 'gasForce.V', 'gasForce.v_rel', 'gasForce.press'] 12.531414431985468 12.546891819 12.218022998 Calling exit ...