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.001768/0.001768, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002135/0.002135, allocations: 217.5 kB / 23.03 MB, free: 4.922 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.374/1.374, allocations: 207.7 MB / 233.9 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] 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.01514/0.01514, allocations: 1.97 MB / 288.1 MB, free: 3.664 MB / 222.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.002357/0.002357, allocations: 64.66 kB / 402.5 MB, free: 50.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07341/0.07577, allocations: 49.71 MB / 452.3 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.00385/0.07962, allocations: 3.385 MB / 455.6 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.08117, allocations: 0.8849 MB / 456.5 MB, free: 1.781 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003626/0.08153, allocations: 4 kB / 456.5 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002202/0.08175, allocations: 67.28 kB / 456.6 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003626/0.08211, allocations: 158.7 kB / 456.7 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.08249, allocations: 127.8 kB / 456.9 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005807/0.08307, allocations: 0.5484 MB / 457.4 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002451/0.08331, allocations: 126.3 kB / 457.5 MB, free: 0.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002679/0.08358, allocations: 215.2 kB / 457.8 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002827/0.08387, allocations: 222.9 kB / 458 MB, free: 328 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.399e-05/0.08394, allocations: 44 kB / 458 MB, free: 284 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.08406, allocations: 56 kB / 458.1 MB, free: 228 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.85e-05/0.08413, allocations: 91.69 kB / 458.2 MB, free: 136 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002321/0.08436, allocations: 203 kB / 458.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006951/0.08506, allocations: 0.5136 MB / 458.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.08506, allocations: 4 kB / 458.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.08506, allocations: 0 / 458.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.064e-05/0.08509, allocations: 0 / 458.9 MB, free: 15.41 MB / 334.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.001612/0.0867, allocations: 0.7067 MB / 459.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.08674, allocations: 11.98 kB / 459.6 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.257e-05/0.08676, allocations: 13.19 kB / 459.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.871e-05/0.08684, allocations: 70.72 kB / 459.7 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.08695, allocations: 56.61 kB / 459.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004443/0.0874, allocations: 278.2 kB / 460 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.08743, allocations: 33.12 kB / 460 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.152e-05/0.0875, allocations: 40 kB / 460.1 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006823/0.08818, allocations: 377.9 kB / 460.4 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.0882, allocations: 4 kB / 460.4 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.669e-05/0.08823, allocations: 16 kB / 460.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.08824, allocations: 11.98 kB / 460.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005682/0.08881, allocations: 255.9 kB / 460.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/0.09063, allocations: 0.9807 MB / 461.7 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005842/0.09122, allocations: 263.2 kB / 462 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/0.09146, allocations: 110.9 kB / 462.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.09149, allocations: 4.234 kB / 462.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003933/0.09189, allocations: 218.9 kB / 462.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.714e-06/0.09189, allocations: 0 / 462.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.002404/0.09429, allocations: 1.07 MB / 463.4 MB, free: 10.7 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.798e-05/0.09436, allocations: 67.34 kB / 463.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003869/0.09475, allocations: 341.6 kB / 463.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.09479, allocations: 45.64 kB / 463.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.09495, allocations: 208.8 kB / 464 MB, free: 10.03 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.09507, allocations: 130.9 kB / 464.1 MB, free: 9.898 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.09519, allocations: 70.08 kB / 464.2 MB, free: 9.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.09536, allocations: 346.8 kB / 464.5 MB, free: 9.473 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002895/0.09565, allocations: 140.1 kB / 464.7 MB, free: 9.324 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00033/0.09598, allocations: 188.4 kB / 464.9 MB, free: 9.125 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000535/0.09651, allocations: 293 kB / 465.1 MB, free: 8.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.09652, allocations: 0 / 465.1 MB, free: 8.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007566/0.09727, allocations: 428.5 kB / 465.6 MB, free: 8.383 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.66e-05/0.09732, allocations: 33.7 kB / 465.6 MB, free: 8.344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.09733, allocations: 4 kB / 465.6 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.09734, allocations: 96 / 465.6 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003926/0.09773, allocations: 87.89 kB / 465.7 MB, free: 8.254 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.09775, allocations: 11.81 kB / 465.7 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.09798, allocations: 19.98 kB / 465.7 MB, free: 8.223 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.09801, allocations: 16 kB / 465.7 MB, free: 8.207 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003988/0.09841, allocations: 254.6 kB / 466 MB, free: 7.949 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002974/0.09871, allocations: 176.4 kB / 466.2 MB, free: 7.762 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005106/0.09922, allocations: 289.3 kB / 466.4 MB, free: 7.461 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.09922, allocations: 0 / 466.4 MB, free: 7.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0007167/0.09993, allocations: 416.6 kB / 466.8 MB, free: 7.035 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.09997, allocations: 37.69 kB / 466.9 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-06/0.09997, allocations: 0 / 466.9 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.929e-06/0.09997, allocations: 8.094 kB / 466.9 MB, free: 6.984 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003483/0.1003, allocations: 79.89 kB / 467 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.1003, allocations: 7.984 kB / 467 MB, free: 6.898 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.1005, allocations: 23.92 kB / 467 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.1006, allocations: 15.94 kB / 467 MB, free: 6.859 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.0001491/0.1007, allocations: 204.1 kB / 467.2 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.393e-05/0.1008, allocations: 39.72 kB / 467.3 MB, free: 6.613 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006729/0.1014, allocations: 329.3 kB / 467.6 MB, free: 6.281 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1014, allocations: 4 kB / 467.6 MB, free: 6.277 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/0.1015, allocations: 7.922 kB / 467.6 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1015, allocations: 0 / 467.6 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.1028, allocations: 0.8019 MB / 468.4 MB, free: 5.406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1028, allocations: 0 / 468.4 MB, free: 5.406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003885/0.1031, allocations: 79.89 kB / 468.5 MB, free: 5.328 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.1032, allocations: 8.125 kB / 468.5 MB, free: 5.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.1032, allocations: 4 kB / 468.5 MB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.1032, allocations: 4 kB / 468.5 MB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1032, allocations: 0 / 468.5 MB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009581/0.1041, allocations: 0.5701 MB / 469.1 MB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.1043, allocations: 67.7 kB / 469.1 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.548e-05/0.1043, allocations: 8 kB / 469.1 MB, free: 4.637 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002484/0.1046, allocations: 23.98 kB / 469.2 MB, free: 4.613 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.136e-05/0.1047, allocations: 31.94 kB / 469.2 MB, free: 4.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/0.1047, allocations: 8 kB / 469.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002597/0.105, allocations: 243.2 kB / 469.4 MB, free: 4.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.105, allocations: 0 / 469.4 MB, free: 4.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000507/0.1055, allocations: 152 kB / 469.6 MB, free: 4.191 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.001331/0.1068, allocations: 1.115 MB / 470.7 MB, free: 3.039 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001034/0.1078, allocations: 0.5762 MB / 471.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.1078, allocations: 3.938 kB / 471.3 MB, free: 2.422 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003041/0.1081, allocations: 136.4 kB / 471.4 MB, free: 2.289 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005017/0.1086, allocations: 61.41 kB / 471.5 MB, free: 2.227 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005469/0.1141, allocations: 3.863 MB / 475.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.1143, allocations: 204.2 kB / 475.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001987/0.1145, allocations: 46.94 kB / 475.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.1147, allocations: 131.4 kB / 475.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1147, allocations: 0 / 475.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03014/0.1449, allocations: 8.562 MB / 484.3 MB, free: 5.191 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.71, allocations: 4.062 kB / 484.3 MB, free: 5.188 MB / 350.1 MB " [Timeout remaining time 648] (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 sys.exit(0), Time elapsed: 14.227106623002328] Failed to read output from testmodel.py, exit status != 0: 11.877565817092545 11.901573944 11.812180458 Calling exit ...