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.009602/0.009602, allocations: 97.3 kB / 15.73 MB, free: 6.035 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.002003/0.002003, allocations: 201.9 kB / 16.68 MB, free: 5.961 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.58/1.58, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9593/0.9593, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 59.91 kB / 0.5856 GB, free: 3.387 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4753/0.4766, allocations: 80.91 MB / 0.6646 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.002711/0.4793, allocations: 2.037 MB / 0.6666 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007509/0.4801, allocations: 0.5353 MB / 0.6671 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.107e-05/0.4802, allocations: 2.5 kB / 0.6671 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.4803, allocations: 25.05 kB / 0.6671 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.014e-05/0.4805, allocations: 48.81 kB / 0.6672 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.4807, allocations: 51.02 kB / 0.6672 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.4808, allocations: 185.2 kB / 0.6674 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.481, allocations: 68.8 kB / 0.6675 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.4811, allocations: 79.94 kB / 0.6676 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.4813, allocations: 80.22 kB / 0.6676 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.609e-05/0.4813, allocations: 13.28 kB / 0.6676 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.227e-05/0.4813, allocations: 23.75 kB / 0.6677 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.653e-05/0.4814, allocations: 35.38 kB / 0.6677 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.91e-05/0.4815, allocations: 79.75 kB / 0.6678 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.4817, allocations: 173.1 kB / 0.6679 GB, free: 5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4817, allocations: 0 / 0.6679 GB, free: 5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4817, allocations: 0 / 0.6679 GB, free: 5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.912e-06/0.4817, allocations: 0 / 0.6679 GB, free: 5 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.0007126/0.4824, allocations: 494.9 kB / 0.6684 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.4825, allocations: 10.28 kB / 0.6684 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/0.4825, allocations: 21.95 kB / 0.6684 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.4827, allocations: 215.1 kB / 0.6687 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.418e-05/0.4828, allocations: 46.03 kB / 0.6687 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.4828, allocations: 12.91 kB / 0.6687 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003849/0.4832, allocations: 160 kB / 0.6689 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.4832, allocations: 0 / 0.6689 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.4832, allocations: 5.125 kB / 0.6689 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.4833, allocations: 3.625 kB / 0.6689 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000465/0.4837, allocations: 146.2 kB / 0.669 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000691/0.4844, allocations: 0.5281 MB / 0.6695 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004102/0.4848, allocations: 140.7 kB / 0.6697 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.4851, allocations: 76.48 kB / 0.6697 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.4851, allocations: 1.188 kB / 0.6697 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.4851, allocations: 39.59 kB / 0.6698 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.163e-06/0.4851, allocations: 0 / 0.6698 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.000687/0.4858, allocations: 218.3 kB / 0.67 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.4859, allocations: 60.12 kB / 0.67 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.689e-05/0.486, allocations: 155.9 kB / 0.6702 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.486, allocations: 29.7 kB / 0.6702 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/0.486, allocations: 140.7 kB / 0.6703 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.4861, allocations: 36.78 kB / 0.6704 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/0.4861, allocations: 30.73 kB / 0.6704 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.691e-05/0.4862, allocations: 326.6 kB / 0.6707 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.4864, allocations: 59.97 kB / 0.6708 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.4866, allocations: 91.64 kB / 0.6709 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003743/0.487, allocations: 132.5 kB / 0.671 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.487, allocations: 3.938 kB / 0.671 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004551/0.4875, allocations: 187.6 kB / 0.6712 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.4875, allocations: 5.188 kB / 0.6712 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4875, allocations: 0 / 0.6712 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.4875, allocations: 10.59 kB / 0.6712 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.4877, allocations: 38.59 kB / 0.6712 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.4877, allocations: 1.531 kB / 0.6712 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.4879, allocations: 23.97 kB / 0.6713 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.4879, allocations: 4.938 kB / 0.6713 GB, free: 2.242 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.495e-05/0.488, allocations: 139 kB / 0.6714 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.488, allocations: 14.47 kB / 0.6714 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.211e-05/0.488, allocations: 16.06 kB / 0.6714 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.4881, allocations: 1.531 kB / 0.6714 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4881, allocations: 4 kB / 0.6714 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.4881, allocations: 0 / 0.6714 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.4883, allocations: 248.2 kB / 0.6717 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4883, allocations: 0 / 0.6717 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.4885, allocations: 33.19 kB / 0.6717 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.4885, allocations: 0 / 0.6717 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.4885, allocations: 5.078 kB / 0.6717 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4885, allocations: 1.438 kB / 0.6717 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4885, allocations: 3.938 kB / 0.6717 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006541/0.4892, allocations: 344.6 kB / 0.672 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.76e-05/0.4892, allocations: 87.58 kB / 0.6721 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.4892, allocations: 1.406 kB / 0.6721 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.4894, allocations: 26.06 kB / 0.6721 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.4895, allocations: 10.42 kB / 0.6722 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-06/0.4895, allocations: 6.797 kB / 0.6722 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.731e-05/0.4895, allocations: 110.6 kB / 0.6723 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4896, allocations: 3.938 kB / 0.6723 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002632/0.4898, allocations: 36.75 kB / 0.6723 GB, free: 1.34 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 7.699e-05/0.4899, allocations: 102.7 kB / 0.6724 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004986/0.4904, allocations: 150.7 kB / 0.6725 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4904, allocations: 0 / 0.6725 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000229/0.4907, allocations: 73.02 kB / 0.6726 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.491, allocations: 26.17 kB / 0.6726 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000754/0.4918, allocations: 404.2 kB / 0.673 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.4919, allocations: 0.7171 MB / 0.6737 GB, free: 120 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.202e-05/0.492, allocations: 9.875 kB / 0.6737 GB, free: 116 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.708e-05/0.4921, allocations: 13.44 kB / 0.6737 GB, free: 108 kB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.4921, allocations: 0 / 0.6737 GB, free: 108 kB / 0.4981 GB Notification: Performance of Templates: time 0.004308/0.4964, allocations: 1.609 MB / 0.6753 GB, free: 15.3 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)