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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000941/0.0009411, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.001035/0.001035, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 223.3 MB / 240 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7336/0.7336, allocations: 132.4 MB / 423.4 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003127/0.0003128, allocations: 8.562 kB / 0.5034 GB, free: 4.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3499, allocations: 81.58 MB / 0.5831 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.001692/0.3516, allocations: 1.692 MB / 0.5847 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006343/0.3522, allocations: 0.4992 MB / 0.5852 GB, free: 2.395 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.773e-05/0.3523, allocations: 2.5 kB / 0.5852 GB, free: 2.395 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.366e-05/0.3524, allocations: 14.34 kB / 0.5852 GB, free: 2.387 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.36e-05/0.3525, allocations: 41.28 kB / 0.5853 GB, free: 2.359 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000173/0.3527, allocations: 38.55 kB / 0.5853 GB, free: 2.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.3529, allocations: 167.5 kB / 0.5855 GB, free: 2.258 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.353, allocations: 57.67 kB / 0.5855 GB, free: 2.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.3531, allocations: 63.94 kB / 0.5856 GB, free: 2.203 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.3533, allocations: 67.83 kB / 0.5856 GB, free: 2.172 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.3533, allocations: 7.406 kB / 0.5856 GB, free: 2.172 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.512e-05/0.3533, allocations: 7.094 kB / 0.5857 GB, free: 2.172 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.832e-05/0.3533, allocations: 25.81 kB / 0.5857 GB, free: 2.156 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.492e-05/0.3534, allocations: 54.64 kB / 0.5857 GB, free: 2.109 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.3535, allocations: 118.1 kB / 0.5858 GB, free: 2.082 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3535, allocations: 0.75 kB / 0.5858 GB, free: 2.082 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3536, allocations: 0 / 0.5858 GB, free: 2.082 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.3536, allocations: 0.9062 kB / 0.5858 GB, free: 2.082 MB / 430.1 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.0006167/0.3542, allocations: 477.9 kB / 0.5863 GB, free: 1.672 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.3542, allocations: 9.203 kB / 0.5863 GB, free: 1.672 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.3543, allocations: 26.28 kB / 0.5863 GB, free: 1.656 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.3544, allocations: 212.5 kB / 0.5865 GB, free: 1.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.695e-05/0.3545, allocations: 36.89 kB / 0.5866 GB, free: 1.395 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.3546, allocations: 14.05 kB / 0.5866 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003959/0.355, allocations: 171 kB / 0.5867 GB, free: 1.316 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.355, allocations: 1.375 kB / 0.5867 GB, free: 1.316 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.355, allocations: 5.375 kB / 0.5868 GB, free: 1.312 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.355, allocations: 2.688 kB / 0.5868 GB, free: 1.312 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004914/0.3555, allocations: 166.5 kB / 0.5869 GB, free: 1.281 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007013/0.3562, allocations: 0.539 MB / 0.5874 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000411/0.3566, allocations: 138.9 kB / 0.5876 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/0.3569, allocations: 94.05 kB / 0.5877 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.3569, allocations: 1.766 kB / 0.5877 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.214e-05/0.3569, allocations: 39.53 kB / 0.5877 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.3569, allocations: 0.5312 kB / 0.5877 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006947/0.3576, allocations: 258.7 kB / 0.588 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.937e-05/0.3577, allocations: 57.28 kB / 0.588 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.986e-05/0.3578, allocations: 154.5 kB / 0.5882 GB, free: 464 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.3578, allocations: 30.55 kB / 0.5882 GB, free: 428 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.3578, allocations: 127.9 kB / 0.5883 GB, free: 308 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.3579, allocations: 39.14 kB / 0.5883 GB, free: 276 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.126e-06/0.3579, allocations: 5.312 kB / 0.5883 GB, free: 272 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.268e-05/0.358, allocations: 329.1 kB / 0.5887 GB, free: 15.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.3582, allocations: 74.38 kB / 0.5887 GB, free: 15.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.3584, allocations: 102.5 kB / 0.5888 GB, free: 15.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.3586, allocations: 71.03 kB / 0.5889 GB, free: 15.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3586, allocations: 0 / 0.5889 GB, free: 15.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004893/0.3591, allocations: 213 kB / 0.5891 GB, free: 15.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.3592, allocations: 5.062 kB / 0.5891 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3592, allocations: 5 kB / 0.5891 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.3592, allocations: 1.719 kB / 0.5891 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.3594, allocations: 46.38 kB / 0.5892 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.3594, allocations: 2.062 kB / 0.5892 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.3596, allocations: 39.48 kB / 0.5892 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.3596, allocations: 4.438 kB / 0.5892 GB, free: 15.77 MB / 446.1 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 ($PRE.con.y_boolean,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.655e-05/0.3597, allocations: 134.3 kB / 0.5893 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.3597, allocations: 17.72 kB / 0.5893 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.6e-05/0.3598, allocations: 16.83 kB / 0.5894 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.3598, allocations: 5.594 kB / 0.5894 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3598, allocations: 1.094 kB / 0.5894 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.3598, allocations: 4.734 kB / 0.5894 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.3601, allocations: 243.6 kB / 0.5896 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3601, allocations: 0 / 0.5896 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.3603, allocations: 42.83 kB / 0.5896 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3603, allocations: 0 / 0.5896 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.3603, allocations: 6.031 kB / 0.5896 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3604, allocations: 4.594 kB / 0.5897 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.3604, allocations: 0.5 kB / 0.5897 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007418/0.3611, allocations: 379.5 kB / 0.59 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-05/0.3612, allocations: 85.27 kB / 0.5901 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.3612, allocations: 6.469 kB / 0.5901 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.3614, allocations: 28.33 kB / 0.5901 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.912e-05/0.3614, allocations: 17.45 kB / 0.5901 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.3614, allocations: 1.656 kB / 0.5901 GB, free: 15.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.775e-05/0.3615, allocations: 113.3 kB / 0.5903 GB, free: 14.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3615, allocations: 1 kB / 0.5903 GB, free: 14.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.3618, allocations: 39.53 kB / 0.5903 GB, free: 14.96 MB / 446.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.055e-05/0.3619, allocations: 107.3 kB / 0.5904 GB, free: 14.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004879/0.3624, allocations: 161.9 kB / 0.5906 GB, free: 14.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3624, allocations: 3.938 kB / 0.5906 GB, free: 14.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002281/0.3626, allocations: 85.84 kB / 0.5906 GB, free: 14.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.363, allocations: 28.92 kB / 0.5907 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007626/0.3638, allocations: 471.2 kB / 0.5911 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.364, allocations: 0.7151 MB / 0.5918 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.91e-05/0.3641, allocations: 11.86 kB / 0.5918 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.851e-05/0.3641, allocations: 13.69 kB / 0.5918 GB, free: 13.78 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3641, allocations: 0 / 0.5918 GB, free: 13.78 MB / 446.1 MB Notification: Performance of Templates: time 0.003962/0.3681, allocations: 1.307 MB / 0.5931 GB, free: 13.66 MB / 446.1 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)