Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.006854/0.006854, allocations: 101.5 kB / 15.73 MB, free: 6.051 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.00139/0.00139, allocations: 188.4 kB / 16.67 MB, free: 5.98 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9718/0.9718, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 63.89 kB / 0.5856 GB, free: 3.402 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5245/0.5259, allocations: 80.91 MB / 0.6646 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.003154/0.5291, allocations: 2.037 MB / 0.6666 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009379/0.5301, allocations: 0.5308 MB / 0.6671 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.5302, allocations: 2.406 kB / 0.6671 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.5303, allocations: 25.19 kB / 0.6671 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.373e-05/0.5304, allocations: 41.17 kB / 0.6672 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.5307, allocations: 51.06 kB / 0.6672 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002654/0.531, allocations: 196.6 kB / 0.6674 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002064/0.5312, allocations: 68.31 kB / 0.6675 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.5314, allocations: 85.62 kB / 0.6676 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.5315, allocations: 78.06 kB / 0.6676 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.508e-05/0.5315, allocations: 14.5 kB / 0.6676 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.237e-05/0.5316, allocations: 14.88 kB / 0.6677 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.965e-05/0.5316, allocations: 37.09 kB / 0.6677 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.596e-05/0.5317, allocations: 83.69 kB / 0.6678 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.5319, allocations: 163.9 kB / 0.6679 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.5319, allocations: 1.125 kB / 0.6679 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5319, allocations: 3.938 kB / 0.6679 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.5319, allocations: 0 / 0.6679 GB, free: 5.039 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.0007515/0.5327, allocations: 0.4901 MB / 0.6684 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.5327, allocations: 9.188 kB / 0.6684 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.39e-05/0.5328, allocations: 18.16 kB / 0.6684 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.533, allocations: 204.9 kB / 0.6686 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.039e-05/0.5331, allocations: 45 kB / 0.6687 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.818e-05/0.5331, allocations: 17.5 kB / 0.6687 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003856/0.5335, allocations: 155.4 kB / 0.6688 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.5335, allocations: 0 / 0.6688 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.5336, allocations: 5.375 kB / 0.6689 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.5336, allocations: 8.172 kB / 0.6689 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004722/0.534, allocations: 145.9 kB / 0.669 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007189/0.5348, allocations: 0.52 MB / 0.6695 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004338/0.5352, allocations: 141.1 kB / 0.6696 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/0.5355, allocations: 76.34 kB / 0.6697 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.5355, allocations: 5.406 kB / 0.6697 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/0.5355, allocations: 35.62 kB / 0.6698 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.5355, allocations: 0 / 0.6698 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0007277/0.5362, allocations: 221.1 kB / 0.67 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.5363, allocations: 52.62 kB / 0.67 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.5364, allocations: 159 kB / 0.6702 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.5364, allocations: 26.86 kB / 0.6702 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.466e-05/0.5365, allocations: 136.6 kB / 0.6703 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.5365, allocations: 36.83 kB / 0.6704 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.075e-05/0.5366, allocations: 30.59 kB / 0.6704 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.047e-05/0.5367, allocations: 326 kB / 0.6707 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.5369, allocations: 68.22 kB / 0.6708 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.5371, allocations: 87.33 kB / 0.6708 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003844/0.5375, allocations: 141.6 kB / 0.671 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.5375, allocations: 3.938 kB / 0.671 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005013/0.538, allocations: 181.9 kB / 0.6712 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.538, allocations: 9.859 kB / 0.6712 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.538, allocations: 5.156 kB / 0.6712 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.5381, allocations: 1.188 kB / 0.6712 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.5383, allocations: 40.25 kB / 0.6712 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.5383, allocations: 1.094 kB / 0.6712 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.5384, allocations: 23.91 kB / 0.6712 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.5385, allocations: 4.156 kB / 0.6712 GB, free: 2.293 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 8.849e-05/0.5385, allocations: 132.3 kB / 0.6714 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.5386, allocations: 13.56 kB / 0.6714 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.664e-05/0.5386, allocations: 18.97 kB / 0.6714 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.5386, allocations: 6.578 kB / 0.6714 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5387, allocations: 0 / 0.6714 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.5387, allocations: 3.984 kB / 0.6714 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.5389, allocations: 240.1 kB / 0.6716 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5389, allocations: 0 / 0.6716 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.5391, allocations: 36.31 kB / 0.6717 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.5391, allocations: 1.188 kB / 0.6717 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.5391, allocations: 13.48 kB / 0.6717 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.5391, allocations: 0 / 0.6717 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5391, allocations: 0 / 0.6717 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006922/0.5398, allocations: 340.9 kB / 0.672 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.831e-05/0.5399, allocations: 88.27 kB / 0.6721 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.5399, allocations: 5.203 kB / 0.6721 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.5401, allocations: 17.8 kB / 0.6721 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.112e-05/0.5402, allocations: 25.97 kB / 0.6721 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.5402, allocations: 2 kB / 0.6721 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.187e-05/0.5403, allocations: 112.2 kB / 0.6722 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5403, allocations: 4.062 kB / 0.6723 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000264/0.5405, allocations: 36.16 kB / 0.6723 GB, free: 1.387 MB / 0.4981 GB 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 0.0001079/0.5407, allocations: 98.66 kB / 0.6724 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004844/0.5411, allocations: 151.1 kB / 0.6725 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5412, allocations: 4.125 kB / 0.6725 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002142/0.5414, allocations: 76.11 kB / 0.6726 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.5417, allocations: 23.48 kB / 0.6726 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007258/0.5425, allocations: 385 kB / 0.673 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.5426, allocations: 0.7203 MB / 0.6737 GB, free: 184 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.164e-05/0.5427, allocations: 5.906 kB / 0.6737 GB, free: 184 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.654e-05/0.5428, allocations: 17.73 kB / 0.6737 GB, free: 172 kB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.5428, allocations: 5.125 kB / 0.6737 GB, free: 168 kB / 0.4981 GB Notification: Performance of Templates: time 0.004416/0.5472, allocations: 1.597 MB / 0.6753 GB, free: 15.37 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.makefile (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.sim & ./IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1)