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.001537/0.001537, allocations: 111.5 kB / 15.99 MB, free: 5.91 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.001881/0.001881, allocations: 190.4 kB / 16.9 MB, free: 5.758 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.495/1.495, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7923/0.7923, allocations: 132.2 MB / 422.9 MB, free: 6.801 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 59.91 kB / 0.5019 GB, free: 12.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3863, allocations: 80.2 MB / 0.5802 GB, free: 26.94 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.003234/0.3896, allocations: 2.085 MB / 0.5822 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008227/0.3904, allocations: 0.5176 MB / 0.5827 GB, free: 24.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.084e-05/0.3905, allocations: 8.281 kB / 0.5828 GB, free: 24.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.3907, allocations: 18.53 kB / 0.5828 GB, free: 24.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.333e-05/0.3908, allocations: 33.92 kB / 0.5828 GB, free: 24.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.391, allocations: 50.53 kB / 0.5829 GB, free: 24.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.3913, allocations: 180.2 kB / 0.583 GB, free: 24.72 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.3915, allocations: 69.28 kB / 0.5831 GB, free: 24.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.3916, allocations: 77.41 kB / 0.5832 GB, free: 24.63 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.3917, allocations: 78.03 kB / 0.5832 GB, free: 24.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.909e-05/0.3918, allocations: 14.94 kB / 0.5833 GB, free: 24.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.204e-05/0.3918, allocations: 17.19 kB / 0.5833 GB, free: 24.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.778e-05/0.3919, allocations: 40.11 kB / 0.5833 GB, free: 24.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.529e-05/0.3919, allocations: 83.91 kB / 0.5834 GB, free: 24.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.3921, allocations: 117.3 kB / 0.5835 GB, free: 24.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.369e-05/0.3921, allocations: 5.312 kB / 0.5835 GB, free: 24.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.3921, allocations: 1.969 kB / 0.5835 GB, free: 24.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.3921, allocations: 0 / 0.5835 GB, free: 24.39 MB / 446.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.0007683/0.3929, allocations: 495.8 kB / 0.584 GB, free: 23.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.393, allocations: 9.781 kB / 0.584 GB, free: 23.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.784e-05/0.393, allocations: 19.47 kB / 0.584 GB, free: 23.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.3932, allocations: 213.8 kB / 0.5842 GB, free: 23.69 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.896e-05/0.3933, allocations: 44.36 kB / 0.5843 GB, free: 23.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.182e-05/0.3933, allocations: 13.81 kB / 0.5843 GB, free: 23.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003847/0.3937, allocations: 164.5 kB / 0.5844 GB, free: 23.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.3937, allocations: 3.984 kB / 0.5844 GB, free: 23.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.3938, allocations: 8.219 kB / 0.5844 GB, free: 23.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.3938, allocations: 3.156 kB / 0.5844 GB, free: 23.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004542/0.3942, allocations: 138.7 kB / 0.5846 GB, free: 23.47 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007036/0.395, allocations: 0.5298 MB / 0.5851 GB, free: 22.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004179/0.3954, allocations: 131.2 kB / 0.5852 GB, free: 22.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002137/0.3956, allocations: 85.91 kB / 0.5853 GB, free: 22.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.3956, allocations: 2.375 kB / 0.5853 GB, free: 22.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.438e-05/0.3957, allocations: 31.81 kB / 0.5853 GB, free: 22.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.723e-06/0.3957, allocations: 1.062 kB / 0.5853 GB, free: 22.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006896/0.3964, allocations: 227.5 kB / 0.5855 GB, free: 22.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.3964, allocations: 53.12 kB / 0.5856 GB, free: 22.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.3965, allocations: 151.9 kB / 0.5857 GB, free: 22.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.3965, allocations: 31.67 kB / 0.5858 GB, free: 22.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.47e-05/0.3966, allocations: 132.4 kB / 0.5859 GB, free: 22.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.3966, allocations: 37.14 kB / 0.5859 GB, free: 22.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.123e-05/0.3967, allocations: 28.66 kB / 0.586 GB, free: 22.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.764e-05/0.3968, allocations: 326.3 kB / 0.5863 GB, free: 21.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.397, allocations: 60.81 kB / 0.5863 GB, free: 21.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.3972, allocations: 90.92 kB / 0.5864 GB, free: 21.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/0.3975, allocations: 134.1 kB / 0.5865 GB, free: 21.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.3975, allocations: 11.45 kB / 0.5866 GB, free: 21.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004182/0.398, allocations: 181.7 kB / 0.5867 GB, free: 21.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.398, allocations: 10.23 kB / 0.5867 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.398, allocations: 1.219 kB / 0.5867 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.398, allocations: 2.531 kB / 0.5867 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.3982, allocations: 43.88 kB / 0.5868 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.3982, allocations: 1 kB / 0.5868 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.3984, allocations: 27.44 kB / 0.5868 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.3984, allocations: 7.438 kB / 0.5868 GB, free: 21.67 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 (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.841e-05/0.3985, allocations: 127.5 kB / 0.5869 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.3985, allocations: 12.91 kB / 0.587 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.323e-05/0.3986, allocations: 16 kB / 0.587 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3986, allocations: 1.406 kB / 0.587 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.3986, allocations: 1.062 kB / 0.587 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3986, allocations: 3.984 kB / 0.587 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.3988, allocations: 248 kB / 0.5872 GB, free: 21.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3988, allocations: 4.609 kB / 0.5872 GB, free: 21.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.399, allocations: 37.25 kB / 0.5873 GB, free: 21.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.399, allocations: 3.844 kB / 0.5873 GB, free: 21.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.3991, allocations: 4 kB / 0.5873 GB, free: 21.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3991, allocations: 1.375 kB / 0.5873 GB, free: 21.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3991, allocations: 0 / 0.5873 GB, free: 21.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006797/0.3998, allocations: 346 kB / 0.5876 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.223e-05/0.3998, allocations: 87.81 kB / 0.5877 GB, free: 20.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.3998, allocations: 1.312 kB / 0.5877 GB, free: 20.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.4, allocations: 20.23 kB / 0.5877 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.903e-05/0.4001, allocations: 26.53 kB / 0.5877 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.4001, allocations: 3.031 kB / 0.5877 GB, free: 20.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.265e-05/0.4002, allocations: 120 kB / 0.5878 GB, free: 20.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4002, allocations: 0 / 0.5878 GB, free: 20.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.4004, allocations: 37.75 kB / 0.5879 GB, free: 20.77 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 (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.058e-05/0.4005, allocations: 94.47 kB / 0.588 GB, free: 20.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004619/0.401, allocations: 150.9 kB / 0.5881 GB, free: 20.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.401, allocations: 0 / 0.5881 GB, free: 20.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.4012, allocations: 81.62 kB / 0.5882 GB, free: 20.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.4016, allocations: 21.94 kB / 0.5882 GB, free: 20.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007547/0.4024, allocations: 478 kB / 0.5887 GB, free: 20.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/0.4025, allocations: 0.715 MB / 0.5894 GB, free: 19.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.888e-05/0.4026, allocations: 15.5 kB / 0.5894 GB, free: 19.52 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4026, allocations: 0 / 0.5894 GB, free: 19.52 MB / 446.1 MB Notification: Performance of Templates: time 0.003465/0.4061, allocations: 1.812 MB / 0.5911 GB, free: 18.6 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)