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.001489/0.001489, allocations: 107.5 kB / 21.22 MB, free: 0.6289 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.001741/0.001741, allocations: 212.3 kB / 24.51 MB, free: 3.914 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.43/1.43, allocations: 230.6 MB / 258.3 MB, free: 7.75 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.2198/0.2198, allocations: 46.97 MB / 361.7 MB, free: 4.105 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.002825/0.002825, allocations: 63.91 kB / 0.4969 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3286, allocations: 66.04 MB / 0.5614 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003587/0.3322, allocations: 1.998 MB / 0.5633 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.3334, allocations: 0.5698 MB / 0.5639 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.3335, allocations: 4 kB / 0.5639 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001223/0.3336, allocations: 19.8 kB / 0.5639 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.3337, allocations: 39.62 kB / 0.5639 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004474/0.3342, allocations: 83.81 kB / 0.564 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002734/0.3345, allocations: 187.3 kB / 0.5642 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.3346, allocations: 39.69 kB / 0.5642 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.3348, allocations: 87.69 kB / 0.5643 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.3349, allocations: 79.67 kB / 0.5644 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.335, allocations: 16 kB / 0.5644 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.053e-05/0.335, allocations: 16 kB / 0.5644 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.508e-05/0.3351, allocations: 35.84 kB / 0.5644 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.579e-05/0.3352, allocations: 63.7 kB / 0.5645 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.3354, allocations: 183.3 kB / 0.5647 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3354, allocations: 4 kB / 0.5647 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.3354, allocations: 3.984 kB / 0.5647 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.3355, allocations: 4 kB / 0.5647 GB, free: 0.7773 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.0007638/0.3362, allocations: 377.8 kB / 0.5651 GB, free: 384 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.3363, allocations: 8.031 kB / 0.5651 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.779e-05/0.3363, allocations: 4.422 kB / 0.5651 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.46e-05/0.3363, allocations: 46.73 kB / 0.5651 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.3365, allocations: 24.84 kB / 0.5651 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.3367, allocations: 166.8 kB / 0.5653 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.3367, allocations: 12.36 kB / 0.5653 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.3368, allocations: 12 kB / 0.5653 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004034/0.3372, allocations: 213.2 kB / 0.5655 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.3372, allocations: 3.953 kB / 0.5655 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.3372, allocations: 8 kB / 0.5655 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.3372, allocations: 4 kB / 0.5655 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003152/0.3375, allocations: 123.7 kB / 0.5657 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008953/0.3384, allocations: 0.6248 MB / 0.5663 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003404/0.3388, allocations: 126.5 kB / 0.5664 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.3389, allocations: 56.83 kB / 0.5664 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.3389, allocations: 0 / 0.5664 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.339, allocations: 46.44 kB / 0.5665 GB, free: 14.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.339, allocations: 4 kB / 0.5665 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001365/0.3403, allocations: 409 kB / 0.5669 GB, free: 14.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.3404, allocations: 55.39 kB / 0.5669 GB, free: 14.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.3405, allocations: 154.2 kB / 0.5671 GB, free: 14.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.3405, allocations: 33.7 kB / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.165e-05/0.3406, allocations: 116.4 kB / 0.5672 GB, free: 13.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.827e-05/0.3407, allocations: 63.44 kB / 0.5673 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.045e-05/0.3408, allocations: 41.66 kB / 0.5673 GB, free: 13.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.3409, allocations: 326.8 kB / 0.5676 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.3411, allocations: 67.95 kB / 0.5677 GB, free: 13.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.3413, allocations: 102.1 kB / 0.5678 GB, free: 13.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004008/0.3417, allocations: 173.6 kB / 0.568 GB, free: 13.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3417, allocations: 0 / 0.568 GB, free: 13.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000497/0.3422, allocations: 223.2 kB / 0.5682 GB, free: 12.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.3422, allocations: 4 kB / 0.5682 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.3422, allocations: 7.984 kB / 0.5682 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.3423, allocations: 3.938 kB / 0.5682 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003094/0.3426, allocations: 47.91 kB / 0.5682 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.3426, allocations: 4 kB / 0.5682 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.3427, allocations: 15.98 kB / 0.5683 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.3428, allocations: 4.094 kB / 0.5683 GB, free: 12.89 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.0001263/0.3429, allocations: 129.8 kB / 0.5684 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.825e-05/0.3429, allocations: 15.91 kB / 0.5684 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.099e-05/0.343, allocations: 21.11 kB / 0.5684 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.343, allocations: 7.938 kB / 0.5684 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.343, allocations: 3.938 kB / 0.5684 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.343, allocations: 0 / 0.5684 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.344, allocations: 0.5644 MB / 0.569 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.344, allocations: 0 / 0.569 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/0.3443, allocations: 39.97 kB / 0.569 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3443, allocations: 0 / 0.569 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.3443, allocations: 11.98 kB / 0.569 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3443, allocations: 0 / 0.569 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3443, allocations: 0 / 0.569 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005446/0.3449, allocations: 306 kB / 0.5693 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.5e-05/0.3449, allocations: 27.89 kB / 0.5693 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.358e-05/0.345, allocations: 4 kB / 0.5693 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.3452, allocations: 11.98 kB / 0.5694 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.478e-05/0.3453, allocations: 19.97 kB / 0.5694 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.3453, allocations: 8 kB / 0.5694 GB, free: 11.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.924e-05/0.3454, allocations: 116.1 kB / 0.5695 GB, free: 11.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3454, allocations: 3.938 kB / 0.5695 GB, free: 11.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002813/0.3456, allocations: 40 kB / 0.5695 GB, free: 11.49 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.0008116/0.3465, allocations: 0.8333 MB / 0.5704 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004616/0.3469, allocations: 160.7 kB / 0.5705 GB, free: 10.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3469, allocations: 4.188 kB / 0.5705 GB, free: 10.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002107/0.3471, allocations: 79.89 kB / 0.5706 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.3475, allocations: 22.5 kB / 0.5706 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002875/0.3503, allocations: 2.047 MB / 0.5726 GB, free: 8.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.3504, allocations: 104 kB / 0.5727 GB, free: 8.105 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001584/0.3506, allocations: 29.41 kB / 0.5727 GB, free: 8.078 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.3507, allocations: 47.42 kB / 0.5728 GB, free: 8.031 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3507, allocations: 0 / 0.5728 GB, free: 8.031 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02586/0.3766, allocations: 4.041 MB / 0.5767 GB, free: 4.152 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/12.74, allocations: 6.672 kB / 0.5767 GB, free: 4.152 MB / 414.1 MB " [Timeout remaining time 647] (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: 15.595144997001626] Failed to read output from testmodel.py, exit status != 0: ['time', 'gasForce.f', 'gasForce.T', 'gasForce.V', 'gasForce.v_rel', 'gasForce.press'] 12.91335856798105 12.943950008 12.60293947 Calling exit ...