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.0007954/0.0007953, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005024/0.005024, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.354/1.354, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.0083/0.0083, allocations: 1.924 MB / 272.7 MB, free: 3.289 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.000496/0.0004959, allocations: 16.56 kB / 331.5 MB, free: 32.99 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08606/0.08657, allocations: 48.11 MB / 379.6 MB, free: 0.832 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.004678/0.09129, allocations: 3.873 MB / 383.5 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002193/0.09352, allocations: 0.9748 MB / 384.4 MB, free: 11.95 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006024/0.09415, allocations: 7.938 kB / 384.5 MB, free: 11.95 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000239/0.09441, allocations: 43.61 kB / 384.5 MB, free: 11.9 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004505/0.09487, allocations: 131 kB / 384.6 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004147/0.09529, allocations: 115.9 kB / 384.7 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006326/0.09593, allocations: 0.5095 MB / 385.2 MB, free: 11.15 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002903/0.09624, allocations: 157.4 kB / 385.4 MB, free: 10.99 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002874/0.09653, allocations: 159.2 kB / 385.6 MB, free: 10.83 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/0.09681, allocations: 199 kB / 385.7 MB, free: 10.64 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.284e-05/0.09687, allocations: 20 kB / 385.8 MB, free: 10.62 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.09699, allocations: 20 kB / 385.8 MB, free: 10.6 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.589e-05/0.09706, allocations: 71.62 kB / 385.9 MB, free: 10.53 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002235/0.09729, allocations: 228.6 kB / 386.1 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004866/0.09779, allocations: 474.2 kB / 386.5 MB, free: 9.832 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.09781, allocations: 8 kB / 386.6 MB, free: 9.824 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.09783, allocations: 3.938 kB / 386.6 MB, free: 9.82 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.69e-05/0.09785, allocations: 0 / 386.6 MB, free: 9.82 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.001346/0.0992, allocations: 0.6929 MB / 387.2 MB, free: 9.074 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.09925, allocations: 12.03 kB / 387.3 MB, free: 9.062 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.09937, allocations: 52.31 kB / 387.3 MB, free: 9.012 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004172/0.09979, allocations: 331.3 kB / 387.6 MB, free: 8.648 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.916e-05/0.09984, allocations: 29.38 kB / 387.7 MB, free: 8.621 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.282e-05/0.09992, allocations: 40.12 kB / 387.7 MB, free: 8.582 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007003/0.1006, allocations: 334.5 kB / 388 MB, free: 8.25 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.1007, allocations: 0 / 388 MB, free: 8.25 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.87e-05/0.1007, allocations: 16 kB / 388 MB, free: 8.234 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.1007, allocations: 11.94 kB / 388.1 MB, free: 8.223 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006038/0.1013, allocations: 271.8 kB / 388.3 MB, free: 7.957 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001884/0.1032, allocations: 1.132 MB / 389.5 MB, free: 6.766 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005909/0.1038, allocations: 287.2 kB / 389.7 MB, free: 6.477 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000266/0.1041, allocations: 125.3 kB / 389.9 MB, free: 6.352 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.1041, allocations: 4.234 kB / 389.9 MB, free: 6.348 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004284/0.1046, allocations: 179.7 kB / 390 MB, free: 6.16 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 1.743e-06/0.1046, allocations: 0 / 390 MB, free: 6.16 MB / 286.1 MB Notification: Performance of matching and sorting (n=34): time 0.002529/0.1071, allocations: 1.251 MB / 391.3 MB, free: 4.82 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.1072, allocations: 59.41 kB / 391.3 MB, free: 4.75 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003682/0.1076, allocations: 349.6 kB / 391.7 MB, free: 4.402 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.1076, allocations: 33.7 kB / 391.7 MB, free: 4.363 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.1078, allocations: 216.4 kB / 391.9 MB, free: 4.148 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.367e-05/0.1079, allocations: 114.3 kB / 392 MB, free: 4.035 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.857e-05/0.1079, allocations: 37.7 kB / 392.1 MB, free: 3.992 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1081, allocations: 346.8 kB / 392.4 MB, free: 3.645 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002876/0.1084, allocations: 112.8 kB / 392.5 MB, free: 3.531 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002871/0.1087, allocations: 166.5 kB / 392.7 MB, free: 3.355 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005927/0.1093, allocations: 301 kB / 393 MB, free: 3.043 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1093, allocations: 0 / 393 MB, free: 3.043 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007596/0.11, allocations: 410.7 kB / 393.4 MB, free: 2.629 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.126e-05/0.1101, allocations: 148.5 kB / 393.5 MB, free: 2.465 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1102, allocations: 3.938 kB / 393.5 MB, free: 2.461 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.1102, allocations: 11.97 kB / 393.5 MB, free: 2.449 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/0.1106, allocations: 87.89 kB / 393.6 MB, free: 2.363 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.1106, allocations: 7.938 kB / 393.6 MB, free: 2.355 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/0.1108, allocations: 15.98 kB / 393.7 MB, free: 2.34 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.1109, allocations: 16 kB / 393.7 MB, free: 2.324 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.294e-06/0.1109, allocations: 4 kB / 393.7 MB, free: 2.32 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006588/0.1116, allocations: 353.4 kB / 394 MB, free: 1.969 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.1116, allocations: 3.938 kB / 394 MB, free: 1.965 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.99e-06/0.1116, allocations: 4 kB / 394 MB, free: 1.961 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003284/0.1119, allocations: 83.89 kB / 394.1 MB, free: 1.879 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.1119, allocations: 4 kB / 394.1 MB, free: 1.875 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.1122, allocations: 24.08 kB / 394.1 MB, free: 1.852 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.1122, allocations: 12 kB / 394.1 MB, free: 1.84 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.0001959/0.1124, allocations: 241 kB / 394.4 MB, free: 1.594 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.11e-05/0.1124, allocations: 39.53 kB / 394.4 MB, free: 1.555 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006637/0.1131, allocations: 341.3 kB / 394.8 MB, free: 1.215 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1131, allocations: 4 kB / 394.8 MB, free: 1.211 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1131, allocations: 0 / 394.8 MB, free: 1.211 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.1132, allocations: 3.984 kB / 394.8 MB, free: 1.207 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.1145, allocations: 0.8881 MB / 395.7 MB, free: 256 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1145, allocations: 4 kB / 395.7 MB, free: 252 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000368/0.1148, allocations: 84 kB / 395.7 MB, free: 168 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.1149, allocations: 7.938 kB / 395.7 MB, free: 160 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.1149, allocations: 12 kB / 395.8 MB, free: 148 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.1149, allocations: 0 / 395.8 MB, free: 148 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.1149, allocations: 4 kB / 395.8 MB, free: 144 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009454/0.1159, allocations: 0.5616 MB / 396.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/0.116, allocations: 148.6 kB / 396.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.319e-05/0.1161, allocations: 16 kB / 396.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/0.1164, allocations: 27.97 kB / 396.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.13e-05/0.1164, allocations: 23.97 kB / 396.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.1165, allocations: 15.94 kB / 396.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000248/0.1167, allocations: 243.2 kB / 396.8 MB, free: 15.06 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1167, allocations: 0 / 396.8 MB, free: 15.06 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005174/0.1172, allocations: 152 kB / 396.9 MB, free: 14.91 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.0001343/0.1174, allocations: 111.1 kB / 397 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.1185, allocations: 0.5696 MB / 397.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1185, allocations: 0 / 397.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000311/0.1188, allocations: 151.8 kB / 397.8 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005703/0.1194, allocations: 77.7 kB / 397.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.1212, allocations: 1.244 MB / 399.1 MB, free: 12.69 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.1215, allocations: 0.8079 MB / 399.9 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002098/0.1218, allocations: 46.94 kB / 399.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.401e-05/0.1219, allocations: 27.44 kB / 400 MB, free: 11.79 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1219, allocations: 0 / 400 MB, free: 11.79 MB / 302.1 MB Notification: Performance of Templates: time 0.008222/0.1301, allocations: 3.927 MB / 403.9 MB, free: 7.863 MB / 302.1 MB make -j1 -f MEV_MEV.Test.TestBellJarLinearControl.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: