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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.002491/0.002491, allocations: 182.3 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.7473/0.7473, allocations: 132.2 MB / 148.9 MB, free: 12.16 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.376/1.376, allocations: 222.9 MB / 403.4 MB, free: 7.098 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.0009805/0.0009805, allocations: 98.94 kB / 484.3 MB, free: 8.742 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009216/0.0009217, allocations: 47.92 kB / 0.5618 GB, free: 71.11 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1368, allocations: 80.2 MB / 0.6402 GB, free: 6.836 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.003464/0.1404, allocations: 2.088 MB / 0.6422 GB, free: 4.73 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008358/0.1412, allocations: 0.5337 MB / 0.6427 GB, free: 4.191 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.114e-05/0.1413, allocations: 4 kB / 0.6427 GB, free: 4.188 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.1415, allocations: 11.86 kB / 0.6427 GB, free: 4.176 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.1416, allocations: 39.69 kB / 0.6428 GB, free: 4.137 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.1418, allocations: 35.97 kB / 0.6428 GB, free: 4.102 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.142, allocations: 191.2 kB / 0.643 GB, free: 3.914 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.1422, allocations: 61.89 kB / 0.643 GB, free: 3.848 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.1423, allocations: 63.77 kB / 0.6431 GB, free: 3.785 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.1425, allocations: 79.62 kB / 0.6432 GB, free: 3.707 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.1425, allocations: 11.94 kB / 0.6432 GB, free: 3.695 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.849e-05/0.1425, allocations: 12 kB / 0.6432 GB, free: 3.684 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.892e-05/0.1426, allocations: 35.83 kB / 0.6432 GB, free: 3.648 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.676e-05/0.1426, allocations: 75.59 kB / 0.6433 GB, free: 3.574 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.1429, allocations: 163.6 kB / 0.6435 GB, free: 3.414 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1429, allocations: 0 / 0.6435 GB, free: 3.414 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1429, allocations: 0 / 0.6435 GB, free: 3.414 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.1429, allocations: 4 kB / 0.6435 GB, free: 3.41 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.0007583/0.1437, allocations: 486.8 kB / 0.6439 GB, free: 2.887 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.1437, allocations: 12.03 kB / 0.6439 GB, free: 2.875 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.243e-05/0.1438, allocations: 16.75 kB / 0.644 GB, free: 2.859 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.144, allocations: 212 kB / 0.6442 GB, free: 2.613 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.506e-05/0.144, allocations: 50.23 kB / 0.6442 GB, free: 2.559 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.808e-05/0.1441, allocations: 12.38 kB / 0.6442 GB, free: 2.547 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003748/0.1445, allocations: 153.7 kB / 0.6444 GB, free: 2.391 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1445, allocations: 4 kB / 0.6444 GB, free: 2.387 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.1445, allocations: 11.98 kB / 0.6444 GB, free: 2.375 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1445, allocations: 4 kB / 0.6444 GB, free: 2.371 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004738/0.145, allocations: 139.9 kB / 0.6445 GB, free: 2.234 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007501/0.1458, allocations: 0.5346 MB / 0.645 GB, free: 1.637 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004202/0.1462, allocations: 134.6 kB / 0.6452 GB, free: 1.496 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.1464, allocations: 80.8 kB / 0.6452 GB, free: 1.414 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.1465, allocations: 4 kB / 0.6453 GB, free: 1.41 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.1465, allocations: 34.5 kB / 0.6453 GB, free: 1.367 MB / 442.7 MB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.1465, allocations: 0 / 0.6453 GB, free: 1.367 MB / 442.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007159/0.1472, allocations: 221.4 kB / 0.6455 GB, free: 1.145 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.1473, allocations: 51.41 kB / 0.6455 GB, free: 1.082 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.1474, allocations: 151.8 kB / 0.6457 GB, free: 0.9258 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.1474, allocations: 37.64 kB / 0.6457 GB, free: 0.8828 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.262e-05/0.1475, allocations: 124.1 kB / 0.6458 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.1476, allocations: 47.39 kB / 0.6459 GB, free: 0.707 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.013e-05/0.1476, allocations: 25.72 kB / 0.6459 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1477, allocations: 322.8 kB / 0.6462 GB, free: 360 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.1479, allocations: 63.94 kB / 0.6463 GB, free: 296 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.1482, allocations: 96.12 kB / 0.6464 GB, free: 192 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003812/0.1486, allocations: 136.1 kB / 0.6465 GB, free: 48 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.1486, allocations: 7.938 kB / 0.6465 GB, free: 40 kB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000482/0.1491, allocations: 182.8 kB / 0.6467 GB, free: 15.85 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.1491, allocations: 11.98 kB / 0.6467 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.1491, allocations: 3.984 kB / 0.6467 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1491, allocations: 0 / 0.6467 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.1493, allocations: 51.91 kB / 0.6468 GB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.1493, allocations: 0 / 0.6468 GB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.1495, allocations: 27.91 kB / 0.6468 GB, free: 15.76 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.1495, allocations: 4 kB / 0.6468 GB, free: 15.75 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 9.875e-05/0.1496, allocations: 127.1 kB / 0.6469 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.1497, allocations: 15.81 kB / 0.6469 GB, free: 15.61 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.467e-05/0.1497, allocations: 20.66 kB / 0.6469 GB, free: 15.58 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.1497, allocations: 4 kB / 0.6469 GB, free: 15.58 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1497, allocations: 0 / 0.6469 GB, free: 15.58 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1497, allocations: 3.984 kB / 0.6469 GB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.15, allocations: 237.4 kB / 0.6472 GB, free: 15.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.15, allocations: 3.984 kB / 0.6472 GB, free: 15.29 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.1502, allocations: 35.97 kB / 0.6472 GB, free: 15.26 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1502, allocations: 0 / 0.6472 GB, free: 15.26 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.1502, allocations: 0 / 0.6472 GB, free: 15.26 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1502, allocations: 8 kB / 0.6472 GB, free: 15.25 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1502, allocations: 0 / 0.6472 GB, free: 15.25 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00269/0.1529, allocations: 1.691 MB / 0.6489 GB, free: 13.42 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/0.153, allocations: 88.95 kB / 0.649 GB, free: 13.31 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.153, allocations: 3.984 kB / 0.649 GB, free: 13.31 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.1532, allocations: 23.92 kB / 0.649 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.83e-05/0.1532, allocations: 20.03 kB / 0.649 GB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.1533, allocations: 0 / 0.649 GB, free: 13.27 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.992e-05/0.1534, allocations: 120.1 kB / 0.6491 GB, free: 13.15 MB / 458.7 MB Notification: Performance of sort global known variables: time 2e-07/0.1534, allocations: 0 / 0.6491 GB, free: 13.15 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000346/0.1537, allocations: 51.84 kB / 0.6492 GB, free: 13.1 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.931e-05/0.1538, allocations: 103.2 kB / 0.6493 GB, free: 12.99 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004715/0.1543, allocations: 147.9 kB / 0.6494 GB, free: 12.84 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1543, allocations: 0 / 0.6494 GB, free: 12.84 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.1545, allocations: 71.94 kB / 0.6495 GB, free: 12.77 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.1549, allocations: 17 kB / 0.6495 GB, free: 12.76 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008961/0.1558, allocations: 0.5761 MB / 0.6501 GB, free: 12.14 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.1562, allocations: 0.716 MB / 0.6507 GB, free: 11.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.986e-05/0.1563, allocations: 16.55 kB / 0.6508 GB, free: 11.38 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.591e-05/0.1563, allocations: 15.44 kB / 0.6508 GB, free: 11.37 MB / 458.7 MB Notification: Performance of SimCode: time 2.053e-06/0.1563, allocations: 3.938 kB / 0.6508 GB, free: 11.36 MB / 458.7 MB Notification: Performance of Templates: time 0.004371/0.1607, allocations: 1.577 MB / 0.6523 GB, free: 9.801 MB / 458.7 MB 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)