Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.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_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006839/0.006839, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001328/0.001328, allocations: 202 kB / 16.68 MB, free: 5.973 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.487/1.487, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.056/1.056, allocations: 135.1 MB / 425.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 55.91 kB / 0.5856 GB, free: 3.414 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5702/0.5717, allocations: 80.92 MB / 0.6646 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.003546/0.5753, allocations: 2.028 MB / 0.6666 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.5764, allocations: 0.526 MB / 0.6671 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002184/0.5767, allocations: 2.594 kB / 0.6671 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.5769, allocations: 25.59 kB / 0.6671 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.5771, allocations: 44.62 kB / 0.6672 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/0.5774, allocations: 56.08 kB / 0.6672 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003027/0.5777, allocations: 193 kB / 0.6674 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002275/0.578, allocations: 64.52 kB / 0.6675 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.5782, allocations: 80.33 kB / 0.6675 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.5784, allocations: 79.28 kB / 0.6676 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/0.5784, allocations: 15.03 kB / 0.6676 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.922e-05/0.5785, allocations: 14.19 kB / 0.6677 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.193e-05/0.5785, allocations: 35.98 kB / 0.6677 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.346e-05/0.5786, allocations: 88.66 kB / 0.6678 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.5788, allocations: 159.5 kB / 0.6679 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.5788, allocations: 1.188 kB / 0.6679 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5788, allocations: 4 kB / 0.6679 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.5789, allocations: 0 / 0.6679 GB, free: 5.027 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.0007372/0.5796, allocations: 499.4 kB / 0.6684 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.5797, allocations: 8.812 kB / 0.6684 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.786e-05/0.5797, allocations: 18.25 kB / 0.6684 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.5799, allocations: 220.2 kB / 0.6686 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.409e-05/0.58, allocations: 36.92 kB / 0.6687 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.597e-05/0.58, allocations: 17.48 kB / 0.6687 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003789/0.5804, allocations: 164.1 kB / 0.6688 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.5804, allocations: 0 / 0.6688 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.5805, allocations: 5.438 kB / 0.6689 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.5805, allocations: 3.219 kB / 0.6689 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004425/0.5809, allocations: 147.2 kB / 0.669 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006992/0.5816, allocations: 0.5189 MB / 0.6695 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004171/0.5821, allocations: 141.6 kB / 0.6696 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.5823, allocations: 76.69 kB / 0.6697 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.5823, allocations: 9.375 kB / 0.6697 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.5823, allocations: 36.34 kB / 0.6698 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.5823, allocations: 0 / 0.6698 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.000657/0.583, allocations: 224 kB / 0.67 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.583, allocations: 54.25 kB / 0.67 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.5831, allocations: 154.1 kB / 0.6702 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.5832, allocations: 26.92 kB / 0.6702 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.611e-05/0.5832, allocations: 132.2 kB / 0.6703 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.5833, allocations: 39.98 kB / 0.6704 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.336e-05/0.5833, allocations: 30.8 kB / 0.6704 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.572e-05/0.5834, allocations: 322.8 kB / 0.6707 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.5836, allocations: 60.77 kB / 0.6708 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.5838, allocations: 93.44 kB / 0.6708 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003496/0.5841, allocations: 140.3 kB / 0.671 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.5841, allocations: 5.188 kB / 0.671 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004303/0.5846, allocations: 189.8 kB / 0.6712 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.5846, allocations: 5.75 kB / 0.6712 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/0.5846, allocations: 0 / 0.6712 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.5846, allocations: 2.688 kB / 0.6712 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.5848, allocations: 39.41 kB / 0.6712 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.5848, allocations: 1.344 kB / 0.6712 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.5849, allocations: 24.12 kB / 0.6712 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.585, allocations: 7.781 kB / 0.6712 GB, free: 2.273 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 7.847e-05/0.5851, allocations: 132.3 kB / 0.6714 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.5851, allocations: 13.47 kB / 0.6714 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.132e-05/0.5851, allocations: 15.81 kB / 0.6714 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.5851, allocations: 1.281 kB / 0.6714 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.5852, allocations: 3.984 kB / 0.6714 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.5852, allocations: 1.469 kB / 0.6714 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.5854, allocations: 243.4 kB / 0.6716 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5854, allocations: 0 / 0.6716 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.5856, allocations: 40.41 kB / 0.6717 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.5856, allocations: 1.406 kB / 0.6717 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.5856, allocations: 4 kB / 0.6717 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.5856, allocations: 1.312 kB / 0.6717 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.5856, allocations: 0 / 0.6717 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006271/0.5862, allocations: 340.4 kB / 0.672 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.644e-05/0.5863, allocations: 92.06 kB / 0.6721 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.5863, allocations: 5.594 kB / 0.6721 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.5864, allocations: 13.89 kB / 0.6721 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.459e-05/0.5865, allocations: 22.09 kB / 0.6721 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.5865, allocations: 10.59 kB / 0.6721 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.35e-05/0.5866, allocations: 114.8 kB / 0.6722 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5866, allocations: 0 / 0.6722 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002551/0.5869, allocations: 33.44 kB / 0.6723 GB, free: 1.375 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 9.435e-05/0.587, allocations: 102.6 kB / 0.6724 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00044/0.5874, allocations: 158.3 kB / 0.6725 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.5874, allocations: 1.156 kB / 0.6725 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.5876, allocations: 68.05 kB / 0.6726 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.5879, allocations: 22.25 kB / 0.6726 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007382/0.5887, allocations: 398 kB / 0.673 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/0.5889, allocations: 0.7168 MB / 0.6737 GB, free: 164 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.928e-05/0.5889, allocations: 13.95 kB / 0.6737 GB, free: 156 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.771e-05/0.589, allocations: 13.88 kB / 0.6737 GB, free: 148 kB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.589, allocations: 0 / 0.6737 GB, free: 148 kB / 0.4981 GB Notification: Performance of Templates: time 0.00566/0.5947, allocations: 1.596 MB / 0.6753 GB, free: 15.35 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.makefile (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.sim & ./IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1)