Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestBellJarOpenLoop.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.TestBellJarOpenLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestBellJarOpenLoop") translateModel(MEV.Test.TestBellJarOpenLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestBellJarOpenLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 111.6 kB / 16.41 MB, free: 6.473 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.001272/0.001272, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.186/1.186, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008273/0.008273, allocations: 1.932 MB / 272.5 MB, free: 10.06 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.001445/0.001445, allocations: 69.75 kB / 378.9 MB, free: 52.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06029/0.06174, allocations: 47.13 MB / 426 MB, free: 20.08 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarOpenLoop): time 0.002991/0.06475, allocations: 3.172 MB / 429.2 MB, free: 16.89 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.06582, allocations: 0.7956 MB / 430 MB, free: 16.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.06601, allocations: 7.938 kB / 430 MB, free: 16.08 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001521/0.06617, allocations: 51.48 kB / 430.1 MB, free: 16.03 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002205/0.06641, allocations: 134.9 kB / 430.2 MB, free: 15.9 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.06667, allocations: 87.84 kB / 430.3 MB, free: 15.81 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003077/0.06699, allocations: 430 kB / 430.7 MB, free: 15.39 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.06718, allocations: 132.2 kB / 430.8 MB, free: 15.26 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.06731, allocations: 155.4 kB / 431 MB, free: 15.11 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.06748, allocations: 163.2 kB / 431.1 MB, free: 14.95 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.268e-05/0.06753, allocations: 32 kB / 431.2 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.961e-05/0.06763, allocations: 47.98 kB / 431.2 MB, free: 14.87 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.06767, allocations: 63.78 kB / 431.3 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.0678, allocations: 187.1 kB / 431.5 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003237/0.06813, allocations: 402.4 kB / 431.9 MB, free: 14.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.06814, allocations: 0 / 431.9 MB, free: 14.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.06814, allocations: 0 / 431.9 MB, free: 14.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.06816, allocations: 4 kB / 431.9 MB, free: 14.22 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0007617/0.06892, allocations: 0.6387 MB / 432.5 MB, free: 13.54 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.06896, allocations: 11.89 kB / 432.5 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.114e-05/0.06903, allocations: 40.7 kB / 432.6 MB, free: 13.48 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.0693, allocations: 298.8 kB / 432.8 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.06933, allocations: 20.94 kB / 432.9 MB, free: 13.13 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.48e-05/0.06938, allocations: 28.12 kB / 432.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/0.06973, allocations: 240.8 kB / 433.1 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.06975, allocations: 0 / 433.1 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.06978, allocations: 16 kB / 433.1 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.06979, allocations: 8 kB / 433.2 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002857/0.07008, allocations: 178.1 kB / 433.3 MB, free: 12.67 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.07119, allocations: 0.8958 MB / 434.2 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003149/0.07151, allocations: 178.5 kB / 434.4 MB, free: 11.53 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.07164, allocations: 84.88 kB / 434.5 MB, free: 11.44 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.07167, allocations: 4.344 kB / 434.5 MB, free: 11.44 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.211e-05/0.07169, allocations: 30.56 kB / 434.5 MB, free: 11.4 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.0717, allocations: 3.938 kB / 434.5 MB, free: 11.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001343/0.07304, allocations: 0.9842 MB / 435.5 MB, free: 10.32 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.512e-05/0.07307, allocations: 59.39 kB / 435.6 MB, free: 10.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.07328, allocations: 279.4 kB / 435.8 MB, free: 9.965 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.0733, allocations: 33.7 kB / 435.9 MB, free: 9.926 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.008e-05/0.07337, allocations: 192.7 kB / 436.1 MB, free: 9.734 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.876e-05/0.07342, allocations: 95.17 kB / 436.1 MB, free: 9.641 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-05/0.07349, allocations: 61.66 kB / 436.2 MB, free: 9.574 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.471e-05/0.07354, allocations: 338.8 kB / 436.5 MB, free: 9.234 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.07367, allocations: 72.83 kB / 436.6 MB, free: 9.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.07382, allocations: 116.2 kB / 436.7 MB, free: 9.031 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/0.07407, allocations: 204.2 kB / 436.9 MB, free: 8.816 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.07408, allocations: 0 / 436.9 MB, free: 8.816 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003458/0.07443, allocations: 265.4 kB / 437.2 MB, free: 8.551 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.07445, allocations: 9.062 kB / 437.2 MB, free: 8.543 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.07446, allocations: 0 / 437.2 MB, free: 8.543 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.07449, allocations: 7.938 kB / 437.2 MB, free: 8.535 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.07473, allocations: 63.91 kB / 437.3 MB, free: 8.473 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.07474, allocations: 4 kB / 437.3 MB, free: 8.469 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.07489, allocations: 11.98 kB / 437.3 MB, free: 8.457 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.07491, allocations: 8 kB / 437.3 MB, free: 8.449 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001813/0.07509, allocations: 188 kB / 437.5 MB, free: 8.262 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001209/0.07522, allocations: 120.1 kB / 437.6 MB, free: 8.129 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000226/0.07545, allocations: 192.4 kB / 437.8 MB, free: 7.926 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.242e-06/0.07546, allocations: 0 / 437.8 MB, free: 7.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.0003173/0.07579, allocations: 269.3 kB / 438 MB, free: 7.656 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.642e-06/0.0758, allocations: 8 kB / 438 MB, free: 7.648 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-06/0.07581, allocations: 4 kB / 438 MB, free: 7.645 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.036e-06/0.07582, allocations: 4 kB / 438.1 MB, free: 7.641 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.07603, allocations: 63.91 kB / 438.1 MB, free: 7.578 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.07604, allocations: 3.938 kB / 438.1 MB, free: 7.574 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.07617, allocations: 8 kB / 438.1 MB, free: 7.566 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.07618, allocations: 8 kB / 438.1 MB, free: 7.559 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * 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 5.769e-05/0.07625, allocations: 204.3 kB / 438.3 MB, free: 7.352 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/0.0763, allocations: 31.81 kB / 438.4 MB, free: 7.32 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003321/0.07663, allocations: 227.8 kB / 438.6 MB, free: 7.09 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.07665, allocations: 3.938 kB / 438.6 MB, free: 7.086 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.07665, allocations: 0 / 438.6 MB, free: 7.086 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.088e-05/0.07674, allocations: 132.8 kB / 438.7 MB, free: 6.938 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.07678, allocations: 8 kB / 438.7 MB, free: 6.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.07695, allocations: 15.98 kB / 438.7 MB, free: 6.914 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.07699, allocations: 15.98 kB / 438.8 MB, free: 6.898 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005042/0.0775, allocations: 325.1 kB / 439.1 MB, free: 6.574 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004372/0.07795, allocations: 498.3 kB / 439.6 MB, free: 6.07 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001144/0.07808, allocations: 88 kB / 439.6 MB, free: 5.984 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001308/0.07822, allocations: 206 kB / 439.9 MB, free: 5.785 MB / 318.1 MB Notification: Performance of Backend: time 2.8e-07/0.07822, allocations: 4 kB / 439.9 MB, free: 5.781 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006164/0.07884, allocations: 326.3 kB / 440.2 MB, free: 5.457 MB / 318.1 MB Notification: Performance of SimCode: time 0.0009147/0.07977, allocations: 1.203 MB / 441.4 MB, free: 4.195 MB / 318.1 MB Notification: Performance of Templates: time 0.005861/0.08564, allocations: 3.776 MB / 445.2 MB, free: 428 kB / 318.1 MB make -j1 -f MEV_MEV.Test.TestBellJarOpenLoop.makefile (rm -f MEV_MEV.Test.TestBellJarOpenLoop.pipe ; mkfifo MEV_MEV.Test.TestBellJarOpenLoop.pipe ; head -c 1048576 < MEV_MEV.Test.TestBellJarOpenLoop.pipe >> ../files/MEV_MEV.Test.TestBellJarOpenLoop.sim & ./MEV_MEV.Test.TestBellJarOpenLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestBellJarOpenLoop.pipe 2>&1)