Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008064/0.0008064, allocations: 86.72 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.0008279/0.0008279, 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.281/1.281, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7312/0.7312, allocations: 132.4 MB / 423.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002967/0.0002967, allocations: 13.75 kB / 0.5034 GB, free: 4.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3457, allocations: 81.57 MB / 0.5831 GB, free: 4.203 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.001707/0.3475, allocations: 1.695 MB / 0.5847 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007122/0.3482, allocations: 0.4971 MB / 0.5852 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.852e-05/0.3483, allocations: 1.875 kB / 0.5852 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.468e-05/0.3484, allocations: 17.02 kB / 0.5852 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.76e-05/0.3485, allocations: 39.41 kB / 0.5853 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.3487, allocations: 46.38 kB / 0.5853 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.3489, allocations: 167 kB / 0.5855 GB, free: 2.488 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.349, allocations: 51.98 kB / 0.5855 GB, free: 2.469 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.3491, allocations: 57.64 kB / 0.5856 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.3493, allocations: 68.88 kB / 0.5856 GB, free: 2.414 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.3493, allocations: 6.844 kB / 0.5856 GB, free: 2.414 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.46e-05/0.3493, allocations: 6.625 kB / 0.5856 GB, free: 2.414 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.189e-05/0.3494, allocations: 22.17 kB / 0.5857 GB, free: 2.402 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.39e-05/0.3494, allocations: 54.83 kB / 0.5857 GB, free: 2.355 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.3496, allocations: 126.5 kB / 0.5858 GB, free: 2.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3496, allocations: 1.375 kB / 0.5858 GB, free: 2.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3496, allocations: 0 / 0.5858 GB, free: 2.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.3496, allocations: 4 kB / 0.5858 GB, free: 2.316 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.0006286/0.3502, allocations: 473.7 kB / 0.5863 GB, free: 1.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.3503, allocations: 9.719 kB / 0.5863 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.239e-05/0.3503, allocations: 25.2 kB / 0.5863 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.3505, allocations: 208.8 kB / 0.5865 GB, free: 1.672 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.513e-05/0.3506, allocations: 38.25 kB / 0.5866 GB, free: 1.637 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.3506, allocations: 12.25 kB / 0.5866 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000392/0.351, allocations: 168.1 kB / 0.5867 GB, free: 1.562 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.351, allocations: 0.7031 kB / 0.5867 GB, free: 1.562 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.351, allocations: 5.469 kB / 0.5867 GB, free: 1.559 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.351, allocations: 3.469 kB / 0.5867 GB, free: 1.559 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004861/0.3515, allocations: 169 kB / 0.5869 GB, free: 1.523 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006814/0.3522, allocations: 0.5406 MB / 0.5874 GB, free: 1.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004056/0.3526, allocations: 146 kB / 0.5876 GB, free: 1.031 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/0.3529, allocations: 90.44 kB / 0.5877 GB, free: 1.004 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.3529, allocations: 10.22 kB / 0.5877 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.3529, allocations: 35.88 kB / 0.5877 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.3529, allocations: 0 / 0.5877 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007038/0.3536, allocations: 262.7 kB / 0.588 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.3537, allocations: 57.2 kB / 0.588 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.3538, allocations: 159.2 kB / 0.5882 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.3538, allocations: 26.22 kB / 0.5882 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.131e-05/0.3539, allocations: 130.5 kB / 0.5883 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.3539, allocations: 39.88 kB / 0.5883 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-06/0.3539, allocations: 5.188 kB / 0.5884 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.239e-05/0.354, allocations: 326.2 kB / 0.5887 GB, free: 176 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.3542, allocations: 69.89 kB / 0.5887 GB, free: 164 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/0.3544, allocations: 104.4 kB / 0.5888 GB, free: 116 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.3546, allocations: 78 kB / 0.5889 GB, free: 96 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3546, allocations: 0.9062 kB / 0.5889 GB, free: 96 kB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004787/0.3551, allocations: 212.5 kB / 0.5891 GB, free: 16 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.3551, allocations: 5.5 kB / 0.5891 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3551, allocations: 1.938 kB / 0.5891 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3552, allocations: 9.062 kB / 0.5891 GB, free: 8 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.3554, allocations: 41.22 kB / 0.5892 GB, free: 8 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.3554, allocations: 6.953 kB / 0.5892 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.3556, allocations: 46.81 kB / 0.5892 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.3556, allocations: 4.125 kB / 0.5892 GB, free: 15.98 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 0.0001031/0.3557, allocations: 122.1 kB / 0.5893 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.3557, allocations: 14.22 kB / 0.5894 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.892e-05/0.3558, allocations: 17.55 kB / 0.5894 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3558, allocations: 1.781 kB / 0.5894 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3558, allocations: 0 / 0.5894 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3558, allocations: 0.7969 kB / 0.5894 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.3561, allocations: 238.5 kB / 0.5896 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.3561, allocations: 5.609 kB / 0.5896 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/0.3563, allocations: 42.81 kB / 0.5896 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3563, allocations: 1.406 kB / 0.5896 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.3564, allocations: 0.7031 kB / 0.5896 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3564, allocations: 0.5625 kB / 0.5896 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3564, allocations: 0.6875 kB / 0.5896 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007466/0.3571, allocations: 383.5 kB / 0.59 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.301e-05/0.3572, allocations: 89.94 kB / 0.5901 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.3572, allocations: 5.438 kB / 0.5901 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.3574, allocations: 29.27 kB / 0.5901 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/0.3574, allocations: 12.38 kB / 0.5901 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.3575, allocations: 2.719 kB / 0.5901 GB, free: 15.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.765e-05/0.3575, allocations: 116.6 kB / 0.5903 GB, free: 15.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3576, allocations: 0 / 0.5903 GB, free: 15.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000268/0.3578, allocations: 44.44 kB / 0.5903 GB, free: 15.2 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 8.571e-05/0.3579, allocations: 98.81 kB / 0.5904 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004977/0.3584, allocations: 173.5 kB / 0.5906 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3584, allocations: 0 / 0.5906 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002313/0.3587, allocations: 85.38 kB / 0.5906 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.359, allocations: 21.41 kB / 0.5907 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007493/0.3598, allocations: 476.9 kB / 0.5911 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.36, allocations: 0.7192 MB / 0.5918 GB, free: 14.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.119e-05/0.3601, allocations: 7.984 kB / 0.5918 GB, free: 14.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.455e-05/0.3602, allocations: 12.81 kB / 0.5918 GB, free: 14.02 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3602, allocations: 1.375 kB / 0.5918 GB, free: 14.02 MB / 446.1 MB Notification: Performance of Templates: time 0.003933/0.3641, allocations: 1.311 MB / 0.5931 GB, free: 13.9 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.makefile (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.sim & ./IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1)