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.001175/0.001175, allocations: 109.3 kB / 16.41 MB, free: 6.453 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.001192/0.001192, allocations: 189.6 kB / 17.35 MB, free: 5.738 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.163/1.163, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007904/0.007904, allocations: 1.943 MB / 272.5 MB, free: 10.08 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.001388/0.001388, allocations: 67.89 kB / 378.9 MB, free: 51.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05959/0.06098, allocations: 47.14 MB / 426 MB, free: 19.99 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.003329/0.06433, allocations: 3.669 MB / 429.7 MB, free: 16.3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.0656, allocations: 0.9201 MB / 430.6 MB, free: 15.37 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002312/0.06585, allocations: 7.938 kB / 430.6 MB, free: 15.36 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001708/0.06604, allocations: 67.3 kB / 430.7 MB, free: 15.3 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002527/0.0663, allocations: 142.7 kB / 430.8 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.06661, allocations: 139.7 kB / 431 MB, free: 15.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003831/0.067, allocations: 0.5445 MB / 431.5 MB, free: 14.47 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000211/0.06722, allocations: 177.9 kB / 431.7 MB, free: 14.3 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.06741, allocations: 207.2 kB / 431.9 MB, free: 14.1 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002086/0.06763, allocations: 219 kB / 432.1 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.394e-05/0.06769, allocations: 48 kB / 432.2 MB, free: 13.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.966e-05/0.06779, allocations: 52 kB / 432.2 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.41e-05/0.06785, allocations: 95.62 kB / 432.3 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.068, allocations: 242.8 kB / 432.5 MB, free: 13.45 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003547/0.06836, allocations: 0.5099 MB / 433.1 MB, free: 12.94 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.06837, allocations: 0 / 433.1 MB, free: 12.94 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.06838, allocations: 0 / 433.1 MB, free: 12.94 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.06839, allocations: 0 / 433.1 MB, free: 12.94 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.001023/0.06942, allocations: 0.763 MB / 433.8 MB, free: 12.12 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.06946, allocations: 11.89 kB / 433.8 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.495e-05/0.06954, allocations: 48.38 kB / 433.9 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.06983, allocations: 335.3 kB / 434.2 MB, free: 11.69 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.06986, allocations: 25.38 kB / 434.2 MB, free: 11.67 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.47e-05/0.06992, allocations: 44.12 kB / 434.3 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004877/0.07041, allocations: 326.4 kB / 434.6 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.07043, allocations: 3.984 kB / 434.6 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.07047, allocations: 16 kB / 434.6 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.07048, allocations: 8 kB / 434.6 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000453/0.07094, allocations: 259.9 kB / 434.9 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.07228, allocations: 1.112 MB / 436 MB, free: 9.848 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000459/0.07275, allocations: 288.5 kB / 436.3 MB, free: 9.559 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.07295, allocations: 113.5 kB / 436.4 MB, free: 9.445 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.07298, allocations: 8.156 kB / 436.4 MB, free: 9.438 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002748/0.07326, allocations: 171.5 kB / 436.6 MB, free: 9.258 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.854e-06/0.07327, allocations: 4 kB / 436.6 MB, free: 9.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.001849/0.07513, allocations: 1.212 MB / 437.8 MB, free: 7.953 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.004e-05/0.07516, allocations: 59.39 kB / 437.8 MB, free: 7.883 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.0754, allocations: 341.7 kB / 438.2 MB, free: 7.539 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.07543, allocations: 37.64 kB / 438.2 MB, free: 7.496 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.362e-05/0.07552, allocations: 212.4 kB / 438.4 MB, free: 7.285 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.156e-05/0.07558, allocations: 110.4 kB / 438.5 MB, free: 7.176 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.445e-05/0.07567, allocations: 77.97 kB / 438.6 MB, free: 7.09 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.546e-05/0.07573, allocations: 354.7 kB / 438.9 MB, free: 6.734 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.07595, allocations: 110.4 kB / 439 MB, free: 6.621 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/0.07617, allocations: 162.4 kB / 439.2 MB, free: 6.449 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000408/0.07659, allocations: 293 kB / 439.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.0766, allocations: 0 / 439.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005662/0.07717, allocations: 402.6 kB / 439.9 MB, free: 5.738 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.0772, allocations: 33.7 kB / 439.9 MB, free: 5.699 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.07721, allocations: 8.094 kB / 439.9 MB, free: 5.691 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.07723, allocations: 0 / 439.9 MB, free: 5.691 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/0.07758, allocations: 83.89 kB / 440 MB, free: 5.609 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.0776, allocations: 0 / 440 MB, free: 5.609 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.07782, allocations: 27.92 kB / 440 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.07785, allocations: 19.98 kB / 440.1 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002706/0.07813, allocations: 220.9 kB / 440.3 MB, free: 5.344 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002037/0.07834, allocations: 154.7 kB / 440.4 MB, free: 5.184 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003739/0.07872, allocations: 285.3 kB / 440.7 MB, free: 4.887 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.343e-06/0.07873, allocations: 0 / 440.7 MB, free: 4.887 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0005191/0.07925, allocations: 386.7 kB / 441.1 MB, free: 4.496 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.07927, allocations: 33.7 kB / 441.1 MB, free: 4.457 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-06/0.07928, allocations: 3.984 kB / 441.1 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.426e-06/0.07929, allocations: 4 kB / 441.1 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/0.0796, allocations: 83.89 kB / 441.2 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.07961, allocations: 7.938 kB / 441.2 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.07982, allocations: 19.98 kB / 441.2 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.07984, allocations: 12.09 kB / 441.2 MB, free: 4.328 MB / 318.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 7.082e-05/0.07992, allocations: 208 kB / 441.4 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/0.07996, allocations: 39.53 kB / 441.5 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005093/0.08047, allocations: 321.4 kB / 441.8 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.08049, allocations: 3.984 kB / 441.8 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.0805, allocations: 0 / 441.8 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.0806, allocations: 144.5 kB / 441.9 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.217e-05/0.08067, allocations: 12 kB / 441.9 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.08087, allocations: 23.97 kB / 442 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.379e-05/0.08095, allocations: 27.95 kB / 442 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007857/0.08174, allocations: 420.7 kB / 442.4 MB, free: 3.109 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006957/0.08244, allocations: 0.6273 MB / 443 MB, free: 2.461 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001963/0.08265, allocations: 132.5 kB / 443.2 MB, free: 2.332 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.08282, allocations: 243.2 kB / 443.4 MB, free: 2.098 MB / 318.1 MB Notification: Performance of Backend: time 3.21e-07/0.08283, allocations: 3.938 kB / 443.4 MB, free: 2.094 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008467/0.08368, allocations: 0.5292 MB / 443.9 MB, free: 1.535 MB / 318.1 MB Notification: Performance of SimCode: time 0.001073/0.08476, allocations: 1.328 MB / 445.3 MB, free: 160 kB / 318.1 MB Notification: Performance of Templates: time 0.009519/0.09429, allocations: 5.697 MB / 451 MB, free: 10.45 MB / 334.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)