Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001715/0.001716, allocations: 182.8 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8/0.8, allocations: 132.2 MB / 148.9 MB, free: 12.13 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 403.4 MB, free: 7.07 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009834/0.0009834, allocations: 102.7 kB / 484.3 MB, free: 8.68 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009564/0.0009565, allocations: 51.92 kB / 0.5618 GB, free: 71.04 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1365, allocations: 80.2 MB / 0.6402 GB, free: 6.777 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.003455/0.14, allocations: 2.084 MB / 0.6422 GB, free: 4.676 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009033/0.141, allocations: 0.5299 MB / 0.6427 GB, free: 4.141 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.1412, allocations: 4 kB / 0.6427 GB, free: 4.137 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.1413, allocations: 15.86 kB / 0.6427 GB, free: 4.121 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.1414, allocations: 35.7 kB / 0.6428 GB, free: 4.086 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.1417, allocations: 51.88 kB / 0.6428 GB, free: 4.035 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002366/0.1419, allocations: 175.2 kB / 0.643 GB, free: 3.863 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.1421, allocations: 65.88 kB / 0.643 GB, free: 3.793 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.1423, allocations: 71.7 kB / 0.6431 GB, free: 3.723 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.1425, allocations: 71.69 kB / 0.6432 GB, free: 3.652 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.1425, allocations: 8 kB / 0.6432 GB, free: 3.645 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.062e-05/0.1425, allocations: 12 kB / 0.6432 GB, free: 3.633 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.58e-05/0.1426, allocations: 31.84 kB / 0.6432 GB, free: 3.602 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.989e-05/0.1427, allocations: 75.59 kB / 0.6433 GB, free: 3.527 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.1429, allocations: 171.6 kB / 0.6435 GB, free: 3.359 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1429, allocations: 3.938 kB / 0.6435 GB, free: 3.355 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1429, allocations: 0 / 0.6435 GB, free: 3.355 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1429, allocations: 0 / 0.6435 GB, free: 3.355 MB / 442.7 MB 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.0008023/0.1437, allocations: 486.8 kB / 0.6439 GB, free: 2.832 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.1437, allocations: 16.03 kB / 0.6439 GB, free: 2.816 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.579e-05/0.1438, allocations: 16.75 kB / 0.644 GB, free: 2.801 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.144, allocations: 216 kB / 0.6442 GB, free: 2.551 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.998e-05/0.1441, allocations: 46.23 kB / 0.6442 GB, free: 2.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.1441, allocations: 12.38 kB / 0.6442 GB, free: 2.488 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003933/0.1445, allocations: 153.7 kB / 0.6444 GB, free: 2.332 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1446, allocations: 0 / 0.6444 GB, free: 2.332 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.1446, allocations: 4 kB / 0.6444 GB, free: 2.328 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1446, allocations: 8 kB / 0.6444 GB, free: 2.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004907/0.1451, allocations: 147.8 kB / 0.6445 GB, free: 2.176 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008278/0.1459, allocations: 0.5308 MB / 0.645 GB, free: 1.582 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004567/0.1464, allocations: 138.5 kB / 0.6452 GB, free: 1.438 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.1466, allocations: 80.8 kB / 0.6453 GB, free: 1.355 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.1467, allocations: 4 kB / 0.6453 GB, free: 1.352 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.1467, allocations: 34.56 kB / 0.6453 GB, free: 1.309 MB / 442.7 MB Notification: Performance of pre-optimization done (n=12): time 1.613e-06/0.1467, allocations: 4 kB / 0.6453 GB, free: 1.305 MB / 442.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007348/0.1475, allocations: 221.3 kB / 0.6455 GB, free: 1.082 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.1475, allocations: 55.34 kB / 0.6456 GB, free: 1.016 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.1477, allocations: 159.7 kB / 0.6457 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.1477, allocations: 29.7 kB / 0.6457 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.616e-05/0.1478, allocations: 128.1 kB / 0.6459 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.1478, allocations: 39.39 kB / 0.6459 GB, free: 0.6445 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.966e-05/0.1479, allocations: 29.72 kB / 0.6459 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.148, allocations: 322.8 kB / 0.6462 GB, free: 292 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.1482, allocations: 59.94 kB / 0.6463 GB, free: 232 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.1485, allocations: 87.8 kB / 0.6464 GB, free: 136 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000426/0.1489, allocations: 145 kB / 0.6465 GB, free: 15.98 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.1489, allocations: 3.938 kB / 0.6465 GB, free: 15.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005086/0.1494, allocations: 185.3 kB / 0.6467 GB, free: 15.79 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.1495, allocations: 8 kB / 0.6467 GB, free: 15.78 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.1495, allocations: 0 / 0.6467 GB, free: 15.78 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.1495, allocations: 4.062 kB / 0.6467 GB, free: 15.78 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.1497, allocations: 39.95 kB / 0.6467 GB, free: 15.74 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.1497, allocations: 4 kB / 0.6467 GB, free: 15.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.1499, allocations: 23.92 kB / 0.6468 GB, free: 15.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.1499, allocations: 4 kB / 0.6468 GB, free: 15.71 MB / 458.7 MB 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 0.0001362/0.15, allocations: 131 kB / 0.6469 GB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.1501, allocations: 19.81 kB / 0.6469 GB, free: 15.55 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.377e-05/0.1501, allocations: 24.66 kB / 0.6469 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1502, allocations: 0 / 0.6469 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1502, allocations: 0 / 0.6469 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1502, allocations: 0 / 0.6469 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.1504, allocations: 241.5 kB / 0.6472 GB, free: 15.24 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1505, allocations: 0 / 0.6472 GB, free: 15.24 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.1507, allocations: 31.97 kB / 0.6472 GB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1507, allocations: 0 / 0.6472 GB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.1507, allocations: 15.98 kB / 0.6472 GB, free: 15.19 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.1507, allocations: 0 / 0.6472 GB, free: 15.19 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.1507, allocations: 0 / 0.6472 GB, free: 15.19 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002836/0.1536, allocations: 1.695 MB / 0.6489 GB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.577e-05/0.1536, allocations: 88.95 kB / 0.649 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.1537, allocations: 4 kB / 0.649 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.1538, allocations: 27.97 kB / 0.649 GB, free: 13.22 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.1539, allocations: 15.97 kB / 0.649 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-06/0.1539, allocations: 0 / 0.649 GB, free: 13.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001148/0.154, allocations: 120.1 kB / 0.6491 GB, free: 13.09 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.154, allocations: 0 / 0.6491 GB, free: 13.09 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000362/0.1544, allocations: 51.84 kB / 0.6492 GB, free: 13.04 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cap.T) * Number of discrete variables: 1 (con.y_boolean) * Number of discrete states: 1 (con.y_boolean) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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 Backend phase and start with SimCode phase: time 9.454e-05/0.1545, allocations: 95.25 kB / 0.6493 GB, free: 12.93 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005032/0.155, allocations: 151.9 kB / 0.6494 GB, free: 12.79 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.155, allocations: 0 / 0.6494 GB, free: 12.79 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.1553, allocations: 71.89 kB / 0.6495 GB, free: 12.71 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.1557, allocations: 27.08 kB / 0.6495 GB, free: 12.69 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009013/0.1566, allocations: 0.5682 MB / 0.6501 GB, free: 12.09 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.1569, allocations: 0.7238 MB / 0.6508 GB, free: 11.34 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.97e-05/0.157, allocations: 12.55 kB / 0.6508 GB, free: 11.32 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.304e-05/0.157, allocations: 15.44 kB / 0.6508 GB, free: 11.31 MB / 458.7 MB Notification: Performance of SimCode: time 3.51e-07/0.157, allocations: 3.938 kB / 0.6508 GB, free: 11.3 MB / 458.7 MB Notification: Performance of Templates: time 0.004302/0.1613, allocations: 1.574 MB / 0.6523 GB, free: 9.742 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.makefile (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.sim & ./IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1)