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.001789/0.001789, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.00226/0.00226, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.469/1.469, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2146/0.2146, allocations: 44.93 MB / 359.6 MB, free: 6.062 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: 67.89 kB / 0.4938 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3092, allocations: 65.47 MB / 0.5577 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003489/0.3127, allocations: 1.995 MB / 0.5597 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.3138, allocations: 0.5699 MB / 0.5602 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.3139, allocations: 7.938 kB / 0.5602 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.314, allocations: 19.8 kB / 0.5603 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.3142, allocations: 39.62 kB / 0.5603 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004407/0.3146, allocations: 79.83 kB / 0.5604 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000254/0.3149, allocations: 183.3 kB / 0.5606 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.315, allocations: 35.55 kB / 0.5606 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.3152, allocations: 87.75 kB / 0.5607 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.3153, allocations: 83.67 kB / 0.5607 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.394e-05/0.3154, allocations: 12 kB / 0.5608 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.953e-05/0.3154, allocations: 16 kB / 0.5608 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.709e-05/0.3155, allocations: 35.84 kB / 0.5608 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.841e-05/0.3156, allocations: 67.72 kB / 0.5609 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.3158, allocations: 191.2 kB / 0.5611 GB, free: 4.129 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3159, allocations: 0 / 0.5611 GB, free: 4.129 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.614e-06/0.3159, allocations: 0 / 0.5611 GB, free: 4.129 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.3159, allocations: 0 / 0.5611 GB, free: 4.129 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.0008111/0.3167, allocations: 388.2 kB / 0.5614 GB, free: 3.719 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.3167, allocations: 8.031 kB / 0.5614 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.189e-05/0.3167, allocations: 4.422 kB / 0.5614 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.002e-05/0.3168, allocations: 46.73 kB / 0.5615 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.317, allocations: 24.83 kB / 0.5615 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.3172, allocations: 162 kB / 0.5617 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.3172, allocations: 16.36 kB / 0.5617 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.757e-05/0.3173, allocations: 16 kB / 0.5617 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000408/0.3177, allocations: 213.2 kB / 0.5619 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.3177, allocations: 3.953 kB / 0.5619 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.3177, allocations: 4 kB / 0.5619 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3177, allocations: 4 kB / 0.5619 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003181/0.318, allocations: 119.7 kB / 0.562 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009422/0.319, allocations: 0.6326 MB / 0.5626 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003527/0.3193, allocations: 134.5 kB / 0.5628 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.3195, allocations: 52.84 kB / 0.5628 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.3195, allocations: 0 / 0.5628 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.3195, allocations: 38.55 kB / 0.5629 GB, free: 2.125 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.022e-06/0.3195, allocations: 0 / 0.5629 GB, free: 2.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001395/0.3209, allocations: 408.5 kB / 0.5632 GB, free: 1.723 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.321, allocations: 55.41 kB / 0.5633 GB, free: 1.656 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.3211, allocations: 150.2 kB / 0.5634 GB, free: 1.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.3212, allocations: 29.7 kB / 0.5635 GB, free: 1.465 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.038e-05/0.3212, allocations: 124.4 kB / 0.5636 GB, free: 1.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.961e-05/0.3213, allocations: 67.42 kB / 0.5637 GB, free: 1.273 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-05/0.3214, allocations: 41.66 kB / 0.5637 GB, free: 1.227 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3215, allocations: 330.8 kB / 0.564 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.3218, allocations: 63.95 kB / 0.5641 GB, free: 0.832 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.322, allocations: 99.38 kB / 0.5642 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004115/0.3224, allocations: 173.7 kB / 0.5643 GB, free: 0.543 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.3224, allocations: 0 / 0.5643 GB, free: 0.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004964/0.3229, allocations: 221.4 kB / 0.5645 GB, free: 328 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3229, allocations: 4 kB / 0.5645 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3229, allocations: 0 / 0.5645 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/0.3229, allocations: 7.938 kB / 0.5646 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003111/0.3232, allocations: 47.91 kB / 0.5646 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.3232, allocations: 4 kB / 0.5646 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.3234, allocations: 11.98 kB / 0.5646 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.3234, allocations: 12 kB / 0.5646 GB, free: 240 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.0001279/0.3236, allocations: 129.8 kB / 0.5647 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.66e-05/0.3236, allocations: 15.91 kB / 0.5648 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.974e-05/0.3237, allocations: 21.12 kB / 0.5648 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.3237, allocations: 11.92 kB / 0.5648 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3237, allocations: 0 / 0.5648 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3237, allocations: 3.938 kB / 0.5648 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.3247, allocations: 0.5606 MB / 0.5653 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.3247, allocations: 0 / 0.5653 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.325, allocations: 47.89 kB / 0.5654 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.325, allocations: 0 / 0.5654 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.325, allocations: 4 kB / 0.5654 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.325, allocations: 4 kB / 0.5654 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.325, allocations: 3.938 kB / 0.5654 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005423/0.3256, allocations: 305 kB / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.237e-05/0.3256, allocations: 23.89 kB / 0.5657 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.3257, allocations: 11.98 kB / 0.5657 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.3259, allocations: 15.98 kB / 0.5657 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.654e-05/0.326, allocations: 11.92 kB / 0.5658 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.326, allocations: 11.98 kB / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.2e-05/0.3261, allocations: 120.1 kB / 0.5659 GB, free: 14.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3261, allocations: 0 / 0.5659 GB, free: 14.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.3264, allocations: 40 kB / 0.5659 GB, free: 14.82 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.0008516/0.3272, allocations: 0.8361 MB / 0.5667 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004687/0.3277, allocations: 155.8 kB / 0.5669 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3277, allocations: 0 / 0.5669 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002205/0.3279, allocations: 84.08 kB / 0.567 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.3282, allocations: 23.92 kB / 0.567 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002929/0.3312, allocations: 2.042 MB / 0.569 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.3313, allocations: 104 kB / 0.5691 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001593/0.3314, allocations: 29.41 kB / 0.5691 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.3316, allocations: 43.42 kB / 0.5691 GB, free: 11.38 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3316, allocations: 0 / 0.5691 GB, free: 11.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.3569, allocations: 4.045 MB / 0.5731 GB, free: 7.492 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.5, allocations: 6.406 kB / 0.5731 GB, free: 7.488 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.412321671959944] 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.662174143013544 12.682851198 12.363052494 Calling exit ...