Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestBellJarLinearControl.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.001567/0.001567, allocations: 123.8 kB / 17.17 MB, free: 5.918 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.001843/0.001843, allocations: 210.3 kB / 20.13 MB, free: 2.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 207.6 MB / 230.5 MB, free: 4.047 MB / 174.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008511/0.008511, allocations: 1.966 MB / 284.3 MB, free: 14.37 MB / 238.1 MB " [Timeout remaining time 180] Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(MEV.Test.TestBellJarLinearControl,fileNamePrefix="MEV_MEV_Test_TestBellJarLinearControl",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestBellJarLinearControl,fileNamePrefix="MEV_MEV_Test_TestBellJarLinearControl",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.00211/0.00211, allocations: 67.91 kB / 397.3 MB, free: 8.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2638, allocations: 49.66 MB / 447 MB, free: 8.312 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.004282/0.2681, allocations: 3.691 MB / 450.6 MB, free: 5.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.2695, allocations: 0.9155 MB / 451.6 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001856/0.2697, allocations: 10.81 kB / 451.6 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.2699, allocations: 62.16 kB / 451.6 MB, free: 5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.2701, allocations: 161.1 kB / 451.8 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003343/0.2705, allocations: 133.2 kB / 451.9 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005806/0.271, allocations: 0.546 MB / 452.5 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002783/0.2713, allocations: 133.4 kB / 452.6 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002829/0.2716, allocations: 214.8 kB / 452.8 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.2719, allocations: 220.3 kB / 453 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.302e-05/0.2719, allocations: 46.03 kB / 453.1 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.2721, allocations: 52.22 kB / 453.1 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.569e-05/0.2721, allocations: 98.86 kB / 453.2 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001908/0.2723, allocations: 244 kB / 453.5 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005909/0.2729, allocations: 0.51 MB / 454 MB, free: 3.766 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2729, allocations: 0 / 454 MB, free: 3.766 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2729, allocations: 0 / 454 MB, free: 3.766 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.938e-06/0.2729, allocations: 0 / 454 MB, free: 3.766 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001248/0.2742, allocations: 0.7783 MB / 454.7 MB, free: 3.137 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.2742, allocations: 12.77 kB / 454.8 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.018e-05/0.2742, allocations: 9.625 kB / 454.8 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.114e-05/0.2743, allocations: 75.47 kB / 454.8 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.916e-05/0.2744, allocations: 58.41 kB / 454.9 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000393/0.2748, allocations: 331.5 kB / 455.2 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.2748, allocations: 32.16 kB / 455.2 MB, free: 2.727 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.235e-05/0.2749, allocations: 38.25 kB / 455.3 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006573/0.2755, allocations: 329.8 kB / 455.6 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.2756, allocations: 0.75 kB / 455.6 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.337e-05/0.2756, allocations: 14.78 kB / 455.6 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.2756, allocations: 9.656 kB / 455.6 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005636/0.2762, allocations: 260.6 kB / 455.9 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.2779, allocations: 1.124 MB / 457 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005719/0.2785, allocations: 258.2 kB / 457.3 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002538/0.2787, allocations: 110.3 kB / 457.4 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.2788, allocations: 9.203 kB / 457.4 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003804/0.2791, allocations: 170.7 kB / 457.5 MB, free: 1.543 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.834e-06/0.2791, allocations: 0 / 457.5 MB, free: 1.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.002431/0.2816, allocations: 1.224 MB / 458.8 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.2816, allocations: 63.47 kB / 458.8 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003809/0.282, allocations: 341.6 kB / 459.2 MB, free: 500 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.282, allocations: 32.48 kB / 459.2 MB, free: 464 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.2822, allocations: 216.2 kB / 459.4 MB, free: 280 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.401e-05/0.2822, allocations: 129.1 kB / 459.5 MB, free: 172 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.2824, allocations: 77.28 kB / 459.6 MB, free: 112 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.2826, allocations: 346.2 kB / 459.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002812/0.2828, allocations: 111.8 kB / 460.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003349/0.2832, allocations: 165.9 kB / 460.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005673/0.2837, allocations: 293.4 kB / 460.5 MB, free: 15.42 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.2838, allocations: 0.9688 kB / 460.5 MB, free: 15.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007517/0.2845, allocations: 404.6 kB / 460.9 MB, free: 15.19 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.388e-05/0.2845, allocations: 40.08 kB / 460.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.2846, allocations: 1.188 kB / 460.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.2846, allocations: 2.625 kB / 460.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.285, allocations: 84.92 kB / 461 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.285, allocations: 6.594 kB / 461 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.2852, allocations: 15.14 kB / 461 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.2852, allocations: 14.12 kB / 461.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003799/0.2856, allocations: 227.4 kB / 461.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002912/0.2859, allocations: 153.3 kB / 461.4 MB, free: 14.87 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005419/0.2864, allocations: 283.5 kB / 461.7 MB, free: 14.69 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.402e-06/0.2864, allocations: 4 kB / 461.7 MB, free: 14.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0007676/0.2872, allocations: 394.3 kB / 462.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.2872, allocations: 32.08 kB / 462.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.2873, allocations: 5 kB / 462.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.04e-06/0.2873, allocations: 2.188 kB / 462.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.2876, allocations: 84.77 kB / 462.2 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.2876, allocations: 2.406 kB / 462.2 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.2878, allocations: 23.95 kB / 462.2 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.2878, allocations: 13.28 kB / 462.3 MB, free: 14.39 MB / 334.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: 5 (opening.count,$PRE.opening.count,opening.T_start,$PRE.opening.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * 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.0001604/0.288, allocations: 197.8 kB / 462.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.167e-05/0.2881, allocations: 46.59 kB / 462.5 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006993/0.2888, allocations: 316.8 kB / 462.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.2888, allocations: 3.188 kB / 462.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.2888, allocations: 7.938 kB / 462.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.2888, allocations: 5.234 kB / 462.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.2902, allocations: 0.8629 MB / 463.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.2902, allocations: 1.25 kB / 463.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003826/0.2905, allocations: 86.28 kB / 463.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.2906, allocations: 3.562 kB / 463.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.2906, allocations: 7.125 kB / 463.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.2906, allocations: 2.125 kB / 463.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.2906, allocations: 6.156 kB / 463.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.2916, allocations: 0.5682 MB / 464.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.2918, allocations: 140.8 kB / 464.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.507e-05/0.2918, allocations: 11.97 kB / 464.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.2921, allocations: 30.5 kB / 464.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.102e-05/0.2922, allocations: 32.16 kB / 464.6 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.2922, allocations: 8.688 kB / 464.6 MB, free: 12.69 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002552/0.2924, allocations: 243.6 kB / 464.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2924, allocations: 1.125 kB / 464.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005266/0.293, allocations: 150.9 kB / 465 MB, free: 12.52 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (controller.firstOrder.y,bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel) * Number of discrete variables: 3 ($whenCondition1,opening.T_start,opening.count) * Number of discrete states: 1 (opening.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001343/0.2943, allocations: 1.111 MB / 466.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.2953, allocations: 0.5278 MB / 466.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2953, allocations: 0 / 466.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002952/0.2956, allocations: 138.8 kB / 466.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005088/0.2961, allocations: 71.92 kB / 466.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005478/0.3016, allocations: 3.733 MB / 470.5 MB, free: 8.562 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004841/0.3021, allocations: 0.8103 MB / 471.4 MB, free: 7.797 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001978/0.3023, allocations: 50.94 kB / 471.4 MB, free: 7.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.3025, allocations: 127.4 kB / 471.5 MB, free: 7.625 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3025, allocations: 0 / 471.5 MB, free: 7.625 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02555/0.3281, allocations: 8.041 MB / 479.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.424/8.752, allocations: 19.72 kB / 479.6 MB, free: 15.5 MB / 350.1 MB " [Timeout remaining time 651] (rm -f MEV_MEV.Test.TestBellJarLinearControl.pipe ; mkfifo MEV_MEV.Test.TestBellJarLinearControl.pipe ; head -c 1048576 < MEV_MEV.Test.TestBellJarLinearControl.pipe >> ../files/MEV_MEV.Test.TestBellJarLinearControl.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestBellJarLinearControl_fmu --startTime=0 --stopTime=100 --stepSize=0.2 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestBellJarLinearControl.fmu > MEV_MEV.Test.TestBellJarLinearControl.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.075149724027142] Failed to read output from testmodel.py, exit status != 0: 8.88063847401645 8.90493216 8.62735388 Calling exit ...