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/Complex 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) 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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001333/0.001333, allocations: 173.6 kB / 7.643 MB, free: 1.41 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01592/0.01593, allocations: 1.924 MB / 10 MB, free: 0.582 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 205.3 MB / 216.2 MB, free: 15.9 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009249/0.0009249, allocations: 94.52 kB / 264.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.331e-05/1.332e-05, allocations: 4 kB / 319.1 MB, free: 19.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07918/0.07921, allocations: 48.08 MB / 367.1 MB, free: 3.602 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2541/0.3333, allocations: 80.13 MB / 447.3 MB, free: 13.91 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001651/0.3335, allocations: 67.84 kB / 447.3 MB, free: 13.88 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo:395:7-396:74:writable] Warning: connect(inlet, inlet) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.01818/0.3517, allocations: 7.535 MB / 454.9 MB, free: 7.711 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3518, allocations: 0 / 454.9 MB, free: 7.711 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.764e-05/0.3518, allocations: 8 kB / 454.9 MB, free: 7.703 MB / 330.7 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.0008712/0.3527, allocations: 0.6462 MB / 455.5 MB, free: 7.035 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.3527, allocations: 8.031 kB / 455.5 MB, free: 7.027 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.137e-05/0.3528, allocations: 47.44 kB / 455.6 MB, free: 6.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.3531, allocations: 317 kB / 455.9 MB, free: 6.664 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.3532, allocations: 12 kB / 455.9 MB, free: 6.652 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.286e-05/0.3532, allocations: 27.67 kB / 455.9 MB, free: 6.629 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003444/0.3536, allocations: 199.5 kB / 456.1 MB, free: 6.512 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004087/0.354, allocations: 254.2 kB / 456.4 MB, free: 6.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.354, allocations: 0.75 kB / 456.4 MB, free: 6.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.354, allocations: 0 / 456.4 MB, free: 6.32 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.3541, allocations: 12 kB / 456.4 MB, free: 6.309 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.3555, allocations: 0.9623 MB / 457.3 MB, free: 5.531 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/0.3558, allocations: 224.1 kB / 457.6 MB, free: 5.383 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.3559, allocations: 104.4 kB / 457.7 MB, free: 5.316 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.3559, allocations: 4 kB / 457.7 MB, free: 5.312 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002413/0.3562, allocations: 154.7 kB / 457.8 MB, free: 5.184 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 1.543e-06/0.3562, allocations: 0 / 457.8 MB, free: 5.184 MB / 330.7 MB Notification: Performance of matching and sorting (n=35): time 0.001428/0.3576, allocations: 0.982 MB / 458.8 MB, free: 4.266 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.3577, allocations: 59.03 kB / 458.9 MB, free: 4.199 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.3579, allocations: 236.2 kB / 459.1 MB, free: 4.008 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.3579, allocations: 33.64 kB / 459.1 MB, free: 3.969 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.358, allocations: 213.9 kB / 459.3 MB, free: 3.797 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.224e-05/0.3581, allocations: 113.5 kB / 459.4 MB, free: 3.699 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.557e-05/0.3581, allocations: 0 / 459.4 MB, free: 3.699 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.951e-05/0.3582, allocations: 338.3 kB / 459.8 MB, free: 3.371 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.3584, allocations: 83.81 kB / 459.9 MB, free: 3.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.3585, allocations: 136.5 kB / 460 MB, free: 3.215 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.3587, allocations: 97.66 kB / 460.1 MB, free: 3.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3587, allocations: 0 / 460.1 MB, free: 3.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004375/0.3592, allocations: 308.1 kB / 460.4 MB, free: 2.922 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001507/0.3593, allocations: 389.4 kB / 460.8 MB, free: 2.516 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3593, allocations: 0 / 460.8 MB, free: 2.516 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.3594, allocations: 7.953 kB / 460.8 MB, free: 2.508 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/0.3597, allocations: 87.7 kB / 460.9 MB, free: 2.426 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3597, allocations: 7.984 kB / 460.9 MB, free: 2.418 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.36, allocations: 12 kB / 460.9 MB, free: 2.406 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.36, allocations: 15.67 kB / 460.9 MB, free: 2.395 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.36, allocations: 4 kB / 460.9 MB, free: 2.391 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003446/0.3604, allocations: 233.3 kB / 461.1 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.3604, allocations: 4 kB / 461.1 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-06/0.3604, allocations: 0 / 461.1 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/0.3607, allocations: 91.92 kB / 461.2 MB, free: 2.141 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.3607, allocations: 4 kB / 461.2 MB, free: 2.137 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.3609, allocations: 15.92 kB / 461.2 MB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.3609, allocations: 11.75 kB / 461.2 MB, free: 2.113 MB / 330.7 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 ($whenCondition1,$PRE.opening.T_start,opening.T_start,$PRE.opening.count,opening.count) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.651e-05/0.361, allocations: 113.4 kB / 461.4 MB, free: 1.996 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/0.3611, allocations: 35.56 kB / 461.4 MB, free: 1.961 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004247/0.3615, allocations: 269.2 kB / 461.7 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3615, allocations: 4 kB / 461.7 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3615, allocations: 0 / 461.7 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3615, allocations: 0 / 461.7 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008915/0.3624, allocations: 0.7805 MB / 462.4 MB, free: 1.086 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3625, allocations: 0 / 462.4 MB, free: 1.086 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003706/0.3628, allocations: 83.7 kB / 462.5 MB, free: 1.008 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.258e-06/0.3628, allocations: 4 kB / 462.5 MB, free: 1.004 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.3629, allocations: 4 kB / 462.5 MB, free: 1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3629, allocations: 0 / 462.5 MB, free: 1 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/0.3629, allocations: 7.984 kB / 462.5 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000604/0.3635, allocations: 0.5627 MB / 463.1 MB, free: 496 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.3636, allocations: 140 kB / 463.2 MB, free: 352 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.541e-05/0.3637, allocations: 3.938 kB / 463.2 MB, free: 352 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.3639, allocations: 19.98 kB / 463.3 MB, free: 332 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.189e-05/0.364, allocations: 35.41 kB / 463.3 MB, free: 300 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.364, allocations: 8 kB / 463.3 MB, free: 292 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001314/0.3642, allocations: 188.6 kB / 463.5 MB, free: 136 kB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3642, allocations: 0 / 463.5 MB, free: 136 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004742/0.3647, allocations: 143.9 kB / 463.6 MB, free: 15.99 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001354/0.3648, allocations: 103.1 kB / 463.7 MB, free: 15.89 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005675/0.3654, allocations: 485.7 kB / 464.2 MB, free: 15.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3654, allocations: 0 / 464.2 MB, free: 15.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.3656, allocations: 121.3 kB / 464.3 MB, free: 15.42 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.3659, allocations: 50.69 kB / 464.4 MB, free: 15.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.3671, allocations: 0.692 MB / 465.1 MB, free: 14.71 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.3674, allocations: 0.8118 MB / 465.9 MB, free: 13.88 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002511/0.3677, allocations: 64.53 kB / 465.9 MB, free: 13.81 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.057e-05/0.3677, allocations: 23.44 kB / 466 MB, free: 13.79 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3678, allocations: 4 kB / 466 MB, free: 13.78 MB / 346.7 MB Notification: Performance of Templates: time 0.006595/0.3744, allocations: 3.655 MB / 469.6 MB, free: 10.14 MB / 346.7 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)