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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(MEV.Test.TestBellJarLinearControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestBellJarLinearControl") translateModel(MEV.Test.TestBellJarLinearControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestBellJarLinearControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009912/0.0009912, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 188.3 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.244/1.244, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009132/0.009132, allocations: 1.928 MB / 271.4 MB, free: 3.488 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 63.91 kB / 329.3 MB, free: 33.16 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08349/0.08473, allocations: 47.14 MB / 376.5 MB, free: 1.98 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.005143/0.0899, allocations: 4.274 MB / 380.7 MB, free: 13.67 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.09165, allocations: 0.9707 MB / 381.7 MB, free: 12.7 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001957/0.09186, allocations: 11.94 kB / 381.7 MB, free: 12.69 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001755/0.09208, allocations: 51.59 kB / 381.8 MB, free: 12.64 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002525/0.09234, allocations: 127 kB / 381.9 MB, free: 12.51 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003133/0.09266, allocations: 115.9 kB / 382 MB, free: 12.4 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000486/0.09316, allocations: 0.5446 MB / 382.6 MB, free: 11.85 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002768/0.09344, allocations: 177.8 kB / 382.7 MB, free: 11.67 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.09366, allocations: 195.2 kB / 382.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.09389, allocations: 226.9 kB / 383.1 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.156e-05/0.09396, allocations: 51.94 kB / 383.2 MB, free: 11.2 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.09408, allocations: 48 kB / 383.2 MB, free: 11.15 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.742e-05/0.09416, allocations: 99.62 kB / 383.3 MB, free: 11.05 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.09436, allocations: 238.9 kB / 383.6 MB, free: 10.82 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004515/0.09481, allocations: 0.4944 MB / 384.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.09483, allocations: 4 kB / 384.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.09484, allocations: 3.938 kB / 384.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.09485, allocations: 3.938 kB / 384.1 MB, free: 10.31 MB / 286.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.001305/0.09616, allocations: 0.7669 MB / 384.8 MB, free: 9.492 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.0962, allocations: 11.89 kB / 384.9 MB, free: 9.48 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.865e-05/0.0963, allocations: 48.38 kB / 384.9 MB, free: 9.434 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003652/0.09667, allocations: 331.2 kB / 385.2 MB, free: 9.07 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.0967, allocations: 29.38 kB / 385.3 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.909e-05/0.09677, allocations: 40.12 kB / 385.3 MB, free: 9.004 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000606/0.09738, allocations: 326.5 kB / 385.6 MB, free: 8.68 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.09741, allocations: 3.938 kB / 385.6 MB, free: 8.676 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.316e-05/0.09746, allocations: 24 kB / 385.6 MB, free: 8.652 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.09747, allocations: 8 kB / 385.7 MB, free: 8.645 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005203/0.098, allocations: 259.8 kB / 385.9 MB, free: 8.391 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001742/0.09975, allocations: 1.128 MB / 387 MB, free: 7.203 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005319/0.1003, allocations: 271.3 kB / 387.3 MB, free: 6.93 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002394/0.1005, allocations: 121.3 kB / 387.4 MB, free: 6.809 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.1006, allocations: 240 / 387.4 MB, free: 6.809 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003476/0.1009, allocations: 171.7 kB / 387.6 MB, free: 6.629 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 1.322e-06/0.1009, allocations: 0 / 387.6 MB, free: 6.629 MB / 286.1 MB Notification: Performance of matching and sorting (n=34): time 0.002331/0.1033, allocations: 1.208 MB / 388.8 MB, free: 5.332 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.1033, allocations: 55.41 kB / 388.8 MB, free: 5.266 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003563/0.1037, allocations: 349.5 kB / 389.2 MB, free: 4.918 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.1037, allocations: 33.69 kB / 389.2 MB, free: 4.879 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.1039, allocations: 216.4 kB / 389.4 MB, free: 4.664 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.813e-05/0.104, allocations: 114.3 kB / 389.5 MB, free: 4.551 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.1041, allocations: 78.06 kB / 389.6 MB, free: 4.465 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1042, allocations: 342.8 kB / 390 MB, free: 4.121 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/0.1045, allocations: 114.4 kB / 390.1 MB, free: 4.008 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/0.1047, allocations: 154.5 kB / 390.2 MB, free: 3.844 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005165/0.1053, allocations: 300.8 kB / 390.5 MB, free: 3.531 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1053, allocations: 3.938 kB / 390.5 MB, free: 3.527 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007008/0.106, allocations: 406.7 kB / 390.9 MB, free: 3.117 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.609e-05/0.106, allocations: 29.7 kB / 390.9 MB, free: 3.082 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.106, allocations: 0 / 390.9 MB, free: 3.082 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1061, allocations: 4 kB / 390.9 MB, free: 3.078 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003811/0.1065, allocations: 83.89 kB / 391 MB, free: 2.996 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.1065, allocations: 4 kB / 391 MB, free: 2.992 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.1067, allocations: 19.92 kB / 391.1 MB, free: 2.973 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.1067, allocations: 12 kB / 391.1 MB, free: 2.961 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003321/0.1071, allocations: 228.9 kB / 391.3 MB, free: 2.734 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002558/0.1074, allocations: 154.7 kB / 391.4 MB, free: 2.57 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004543/0.1078, allocations: 281.3 kB / 391.7 MB, free: 2.277 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.393e-06/0.1078, allocations: 4 kB / 391.7 MB, free: 2.273 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0006362/0.1085, allocations: 394.6 kB / 392.1 MB, free: 1.875 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.1085, allocations: 33.7 kB / 392.1 MB, free: 1.836 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.534e-06/0.1085, allocations: 0 / 392.1 MB, free: 1.836 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.53e-06/0.1085, allocations: 4 kB / 392.1 MB, free: 1.832 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003339/0.1089, allocations: 83.89 kB / 392.2 MB, free: 1.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.1089, allocations: 0 / 392.2 MB, free: 1.75 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.1091, allocations: 20.08 kB / 392.2 MB, free: 1.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.1091, allocations: 19.94 kB / 392.3 MB, free: 1.711 MB / 286.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.0001357/0.1093, allocations: 201.1 kB / 392.5 MB, free: 1.508 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.281e-05/0.1093, allocations: 39.53 kB / 392.5 MB, free: 1.469 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006237/0.11, allocations: 325.3 kB / 392.8 MB, free: 1.145 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.11, allocations: 3.984 kB / 392.8 MB, free: 1.141 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.11, allocations: 8 kB / 392.8 MB, free: 1.133 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.11, allocations: 7.922 kB / 392.8 MB, free: 1.125 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.1112, allocations: 0.8725 MB / 393.7 MB, free: 188 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1112, allocations: 8.125 kB / 393.7 MB, free: 180 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000359/0.1115, allocations: 79.88 kB / 393.8 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1115, allocations: 4 kB / 393.8 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.1116, allocations: 8 kB / 393.8 MB, free: 88 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1116, allocations: 4 kB / 393.8 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.1116, allocations: 3.938 kB / 393.8 MB, free: 80 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00086/0.1125, allocations: 0.5575 MB / 394.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/0.1126, allocations: 144.6 kB / 394.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.129e-05/0.1127, allocations: 12 kB / 394.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.113, allocations: 23.97 kB / 394.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.921e-05/0.113, allocations: 31.91 kB / 394.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.1131, allocations: 12 kB / 394.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002138/0.1133, allocations: 243.2 kB / 394.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1133, allocations: 0 / 394.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004812/0.1138, allocations: 151.9 kB / 395 MB, free: 14.87 MB / 302.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.0001438/0.1139, allocations: 111.2 kB / 395.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009595/0.1149, allocations: 0.5657 MB / 395.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1149, allocations: 0 / 395.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002631/0.1152, allocations: 147.8 kB / 395.8 MB, free: 14.01 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.1157, allocations: 69.95 kB / 395.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.1174, allocations: 1.147 MB / 397 MB, free: 12.76 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.1178, allocations: 0.8079 MB / 397.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001985/0.118, allocations: 50.92 kB / 397.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.447e-05/0.1181, allocations: 31.44 kB / 397.9 MB, free: 11.85 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1181, allocations: 0 / 397.9 MB, free: 11.85 MB / 302.1 MB Notification: Performance of Templates: time 0.007382/0.1255, allocations: 4.171 MB / 402.1 MB, free: 7.68 MB / 302.1 MB make -j1 -f MEV_MEV.Test.TestBellJarLinearControl.makefile (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 & ./MEV_MEV.Test.TestBellJarLinearControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestBellJarLinearControl.pipe 2>&1)