Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 113.3 kB / 16.42 MB, free: 6.465 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.00177/0.00177, allocations: 192.3 kB / 17.35 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7896/0.7896, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 68.17 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1365, allocations: 80.22 MB / 0.6603 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.00306/0.1396, allocations: 2.014 MB / 0.6623 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009475/0.1406, allocations: 0.5454 MB / 0.6628 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.1407, allocations: 0 / 0.6628 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001565/0.1409, allocations: 23.73 kB / 0.6628 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000121/0.141, allocations: 43.58 kB / 0.6629 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.1413, allocations: 59.91 kB / 0.6629 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.1415, allocations: 187.2 kB / 0.6631 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.1417, allocations: 74.3 kB / 0.6632 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.1419, allocations: 67.78 kB / 0.6633 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.142, allocations: 87.55 kB / 0.6633 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.341e-05/0.1421, allocations: 16 kB / 0.6633 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.809e-05/0.1421, allocations: 12 kB / 0.6634 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.266e-05/0.1422, allocations: 31.91 kB / 0.6634 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.884e-05/0.1423, allocations: 83.53 kB / 0.6635 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.1425, allocations: 183.1 kB / 0.6636 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1425, allocations: 0 / 0.6636 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1425, allocations: 4 kB / 0.6636 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.303e-06/0.1425, allocations: 0 / 0.6636 GB, free: 6.875 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008415/0.1434, allocations: 494.6 kB / 0.6641 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.1434, allocations: 12.03 kB / 0.6641 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.735e-05/0.1435, allocations: 16.84 kB / 0.6641 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.1437, allocations: 212.1 kB / 0.6644 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.698e-05/0.1438, allocations: 38.27 kB / 0.6644 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.1438, allocations: 12.38 kB / 0.6644 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004114/0.1442, allocations: 157.7 kB / 0.6645 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1443, allocations: 0 / 0.6645 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.1443, allocations: 8 kB / 0.6646 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1443, allocations: 4 kB / 0.6646 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000505/0.1448, allocations: 145.2 kB / 0.6647 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008065/0.1456, allocations: 0.5347 MB / 0.6652 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004473/0.1461, allocations: 134.6 kB / 0.6653 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002543/0.1464, allocations: 84.73 kB / 0.6654 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.1464, allocations: 0 / 0.6654 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.1464, allocations: 42.56 kB / 0.6655 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 3.206e-06/0.1464, allocations: 0 / 0.6655 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.000758/0.1472, allocations: 221.4 kB / 0.6657 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.1472, allocations: 51.41 kB / 0.6657 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.1474, allocations: 155.1 kB / 0.6659 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.1474, allocations: 25.7 kB / 0.6659 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.473e-05/0.1475, allocations: 128.2 kB / 0.666 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.1475, allocations: 43.62 kB / 0.6661 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.288e-05/0.1476, allocations: 41.66 kB / 0.6661 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1477, allocations: 322.8 kB / 0.6664 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.1479, allocations: 55.95 kB / 0.6665 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.1482, allocations: 88.98 kB / 0.6666 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004133/0.1486, allocations: 142.4 kB / 0.6667 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1486, allocations: 0 / 0.6667 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005148/0.1491, allocations: 193.4 kB / 0.6669 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.1491, allocations: 4 kB / 0.6669 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1492, allocations: 4 kB / 0.6669 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1492, allocations: 0 / 0.6669 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.1494, allocations: 43.84 kB / 0.6669 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.1494, allocations: 0 / 0.6669 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.1496, allocations: 35.92 kB / 0.667 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.1496, allocations: 4 kB / 0.667 GB, free: 3.223 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (con.y_boolean,$PRE.con.y_boolean) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 9.971e-05/0.1497, allocations: 129.7 kB / 0.6671 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.72e-05/0.1497, allocations: 11.91 kB / 0.6671 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.83e-05/0.1498, allocations: 20.7 kB / 0.6671 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.1498, allocations: 0 / 0.6671 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1498, allocations: 0 / 0.6671 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.1498, allocations: 89.06 kB / 0.6672 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.1499, allocations: 8 kB / 0.6672 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.15, allocations: 15.97 kB / 0.6672 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.1501, allocations: 19.92 kB / 0.6672 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006629/0.1508, allocations: 270.7 kB / 0.6675 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007697/0.1516, allocations: 410.6 kB / 0.6679 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002273/0.1518, allocations: 72.03 kB / 0.668 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.488e-05/0.1519, allocations: 111.2 kB / 0.6681 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of Backend: time 3.71e-07/0.1519, allocations: 0 / 0.6681 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005682/0.1525, allocations: 162.3 kB / 0.6682 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0009397/0.1534, allocations: 0.8135 MB / 0.669 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of Templates: time 0.004671/0.1581, allocations: 1.779 MB / 0.6708 GB, free: 15.24 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.makefile (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.sim & ./IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1)