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.001067/0.001067, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001109/0.001109, allocations: 192.4 kB / 16.13 MB, free: 6.656 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.318/1.318, allocations: 205.1 MB / 222 MB, free: 4.965 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008275/0.008275, allocations: 1.935 MB / 271.3 MB, free: 3.773 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.002089/0.002089, allocations: 63.91 kB / 329.1 MB, free: 33.31 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08659/0.0887, allocations: 47.14 MB / 376.3 MB, free: 2.129 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.005058/0.0938, allocations: 4.267 MB / 380.6 MB, free: 13.83 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.09551, allocations: 0.9825 MB / 381.5 MB, free: 12.84 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003309/0.09586, allocations: 4 kB / 381.5 MB, free: 12.84 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001934/0.09607, allocations: 55.53 kB / 381.6 MB, free: 12.79 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000303/0.09638, allocations: 119 kB / 381.7 MB, free: 12.67 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.09672, allocations: 123.8 kB / 381.8 MB, free: 12.55 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004555/0.09718, allocations: 0.5172 MB / 382.3 MB, free: 12.03 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002384/0.09743, allocations: 153.5 kB / 382.5 MB, free: 11.87 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002013/0.09764, allocations: 171.2 kB / 382.7 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.09785, allocations: 214.9 kB / 382.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.409e-05/0.09791, allocations: 28 kB / 382.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.583e-05/0.09802, allocations: 32 kB / 382.9 MB, free: 11.43 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.585e-05/0.09809, allocations: 75.62 kB / 383 MB, free: 11.36 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.09827, allocations: 218.8 kB / 383.2 MB, free: 11.14 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003837/0.09866, allocations: 490.3 kB / 383.7 MB, free: 10.66 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.09868, allocations: 4 kB / 383.7 MB, free: 10.66 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.09868, allocations: 0 / 383.7 MB, free: 10.66 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.0987, allocations: 0 / 383.7 MB, free: 10.66 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.001285/0.09999, allocations: 0.7669 MB / 384.5 MB, free: 9.84 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.1, allocations: 8.031 kB / 384.5 MB, free: 9.832 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.188e-05/0.1001, allocations: 52.38 kB / 384.5 MB, free: 9.781 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.1005, allocations: 343.1 kB / 384.9 MB, free: 9.406 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.1005, allocations: 29.38 kB / 384.9 MB, free: 9.379 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.73e-05/0.1006, allocations: 40.12 kB / 384.9 MB, free: 9.34 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005933/0.1012, allocations: 322.5 kB / 385.2 MB, free: 9.02 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.1012, allocations: 0 / 385.2 MB, free: 9.02 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.594e-05/0.1012, allocations: 16 kB / 385.3 MB, free: 9.004 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.1013, allocations: 8 kB / 385.3 MB, free: 8.996 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005433/0.1018, allocations: 259.8 kB / 385.5 MB, free: 8.742 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.1035, allocations: 1.132 MB / 386.7 MB, free: 7.551 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005468/0.1041, allocations: 275.3 kB / 386.9 MB, free: 7.273 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/0.1043, allocations: 125.3 kB / 387 MB, free: 7.148 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.1043, allocations: 4.234 kB / 387.1 MB, free: 7.145 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003722/0.1047, allocations: 167.5 kB / 387.2 MB, free: 6.969 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 1.643e-06/0.1047, allocations: 0 / 387.2 MB, free: 6.969 MB / 286.1 MB Notification: Performance of matching and sorting (n=34): time 0.00221/0.107, allocations: 1.215 MB / 388.4 MB, free: 5.664 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.107, allocations: 55.41 kB / 388.5 MB, free: 5.598 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003234/0.1073, allocations: 349.6 kB / 388.8 MB, free: 5.25 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.1074, allocations: 37.7 kB / 388.9 MB, free: 5.207 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.1075, allocations: 216.4 kB / 389.1 MB, free: 4.992 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.504e-05/0.1076, allocations: 114.3 kB / 389.2 MB, free: 4.879 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.1077, allocations: 77.97 kB / 389.3 MB, free: 4.793 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1078, allocations: 346.8 kB / 389.6 MB, free: 4.445 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.1081, allocations: 118.3 kB / 389.7 MB, free: 4.328 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/0.1084, allocations: 158.5 kB / 389.9 MB, free: 4.16 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000503/0.1089, allocations: 289 kB / 390.2 MB, free: 3.859 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1089, allocations: 4 kB / 390.2 MB, free: 3.855 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006754/0.1096, allocations: 398.6 kB / 390.5 MB, free: 3.453 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.1096, allocations: 37.7 kB / 390.6 MB, free: 3.41 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1096, allocations: 0 / 390.6 MB, free: 3.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.1096, allocations: 4 kB / 390.6 MB, free: 3.406 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003727/0.11, allocations: 79.98 kB / 390.7 MB, free: 3.328 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.11, allocations: 4 kB / 390.7 MB, free: 3.324 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/0.1103, allocations: 23.92 kB / 390.7 MB, free: 3.301 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.1103, allocations: 19.98 kB / 390.7 MB, free: 3.281 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003398/0.1107, allocations: 224.9 kB / 390.9 MB, free: 3.059 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002582/0.1109, allocations: 154.7 kB / 391.1 MB, free: 2.895 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004816/0.1114, allocations: 289.3 kB / 391.4 MB, free: 2.594 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.713e-06/0.1114, allocations: 0 / 391.4 MB, free: 2.594 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0006618/0.1121, allocations: 382.8 kB / 391.7 MB, free: 2.207 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.1121, allocations: 37.7 kB / 391.8 MB, free: 2.164 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-06/0.1121, allocations: 0 / 391.8 MB, free: 2.164 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.189e-06/0.1121, allocations: 4 kB / 391.8 MB, free: 2.16 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.1125, allocations: 83.89 kB / 391.9 MB, free: 2.078 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1125, allocations: 4 kB / 391.9 MB, free: 2.074 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.1127, allocations: 19.98 kB / 391.9 MB, free: 2.055 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.1128, allocations: 11.94 kB / 391.9 MB, free: 2.043 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.0001232/0.1129, allocations: 213 kB / 392.1 MB, free: 1.828 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.904e-05/0.1129, allocations: 35.53 kB / 392.1 MB, free: 1.793 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006199/0.1136, allocations: 321.3 kB / 392.5 MB, free: 1.473 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.1136, allocations: 4 kB / 392.5 MB, free: 1.469 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1136, allocations: 0 / 392.5 MB, free: 1.469 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.1136, allocations: 7.922 kB / 392.5 MB, free: 1.461 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.1148, allocations: 0.8802 MB / 393.3 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1148, allocations: 0 / 393.3 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003838/0.1152, allocations: 83.88 kB / 393.4 MB, free: 440 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1152, allocations: 0 / 393.4 MB, free: 440 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.1152, allocations: 12 kB / 393.4 MB, free: 428 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1152, allocations: 8.125 kB / 393.4 MB, free: 420 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1152, allocations: 0 / 393.4 MB, free: 420 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000896/0.1161, allocations: 0.5616 MB / 394 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.1163, allocations: 148.6 kB / 394.2 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.692e-05/0.1164, allocations: 8 kB / 394.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.1166, allocations: 23.91 kB / 394.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.604e-05/0.1167, allocations: 27.97 kB / 394.2 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.1168, allocations: 12 kB / 394.2 MB, free: 15.58 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002385/0.117, allocations: 243.2 kB / 394.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.117, allocations: 4 kB / 394.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004968/0.1175, allocations: 152 kB / 394.6 MB, free: 15.19 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.0001295/0.1176, allocations: 103.2 kB / 394.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009304/0.1186, allocations: 0.5541 MB / 395.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.1186, allocations: 4.375 kB / 395.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002988/0.1189, allocations: 147.8 kB / 395.4 MB, free: 14.35 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000514/0.1194, allocations: 65.42 kB / 395.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.1212, allocations: 1.135 MB / 396.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.1216, allocations: 0.804 MB / 397.4 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002089/0.1218, allocations: 46.94 kB / 397.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.823e-05/0.1219, allocations: 35.42 kB / 397.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1219, allocations: 0 / 397.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of Templates: time 0.007964/0.1298, allocations: 3.985 MB / 401.5 MB, free: 8.227 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)