Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001552/0.001552, allocations: 196.6 kB / 16.14 MB, free: 6.734 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.649/1.649, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.014/3.014, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001253, allocations: 59.8 kB / 0.9113 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4372/0.4385, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004584/0.4431, allocations: 3.034 MB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001711/0.4448, allocations: 0.9039 MB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002323/0.4451, allocations: 11.94 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002418/0.4453, allocations: 47.58 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.4455, allocations: 71.44 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005076/0.446, allocations: 193.8 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004752/0.4465, allocations: 455.3 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003691/0.4469, allocations: 197.2 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001917/0.4471, allocations: 155.2 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000204/0.4473, allocations: 171 kB / 1.073 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.164e-05/0.4474, allocations: 20 kB / 1.073 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.344e-05/0.4474, allocations: 20 kB / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.616e-05/0.4475, allocations: 63.64 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.4477, allocations: 186.9 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003992/0.4481, allocations: 478.5 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4481, allocations: 3.938 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.62e-07/0.4481, allocations: 0 / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.4481, allocations: 0 / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001173/0.4493, allocations: 0.7168 MB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.4493, allocations: 8.031 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.594e-05/0.4494, allocations: 48.38 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005732/0.45, allocations: 400.3 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.45, allocations: 21.03 kB / 1.074 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.539e-05/0.4501, allocations: 32.38 kB / 1.075 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005917/0.4507, allocations: 337.4 kB / 1.075 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.4507, allocations: 4 kB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.169e-05/0.4508, allocations: 12 kB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.4508, allocations: 8 kB / 1.075 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004614/0.4512, allocations: 218.1 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/0.4528, allocations: 1.189 MB / 1.076 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000558/0.4534, allocations: 230.8 kB / 1.076 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.4536, allocations: 111.6 kB / 1.077 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.4536, allocations: 7.938 kB / 1.077 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.4537, allocations: 42.92 kB / 1.077 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.492e-06/0.4537, allocations: 0 / 1.077 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.0006606/0.4543, allocations: 289.1 kB / 1.077 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.395e-05/0.4544, allocations: 106.8 kB / 1.077 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003518/0.4548, allocations: 341.5 kB / 1.077 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.4548, allocations: 33.7 kB / 1.077 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.455, allocations: 224.2 kB / 1.078 GB, free: 344 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.52e-05/0.4551, allocations: 78.89 kB / 1.078 GB, free: 264 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-05/0.4551, allocations: 49.7 kB / 1.078 GB, free: 208 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.4553, allocations: 346.8 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.4555, allocations: 71.97 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.4557, allocations: 148.2 kB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003565/0.4561, allocations: 204.3 kB / 1.078 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.4561, allocations: 4 kB / 1.078 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004646/0.4566, allocations: 281.7 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.4566, allocations: 12.19 kB / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.4566, allocations: 0 / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.4566, allocations: 4 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.4569, allocations: 55.91 kB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.4569, allocations: 4 kB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.4571, allocations: 31.77 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.4571, allocations: 11.94 kB / 1.079 GB, free: 14.99 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (con.hys.y,$PRE.con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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 0.0001717/0.4573, allocations: 170.2 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.4573, allocations: 35.53 kB / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.218e-05/0.4574, allocations: 43.36 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.4574, allocations: 0 / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.4574, allocations: 0 / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4575, allocations: 0 / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000417/0.4579, allocations: 397.2 kB / 1.079 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4579, allocations: 0 / 1.079 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.4581, allocations: 43.91 kB / 1.079 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.4581, allocations: 0 / 1.079 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.4581, allocations: 12 kB / 1.079 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4582, allocations: 0 / 1.079 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4582, allocations: 0 / 1.079 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000669/0.4588, allocations: 423.5 kB / 1.08 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.459, allocations: 124.6 kB / 1.08 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.459, allocations: 8 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.4592, allocations: 23.98 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.853e-05/0.4593, allocations: 23.97 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.4593, allocations: 11.92 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002314/0.4595, allocations: 239.2 kB / 1.08 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.586e-06/0.4595, allocations: 0 / 1.08 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002964/0.4598, allocations: 71.78 kB / 1.08 GB, free: 13.3 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 0.0001212/0.46, allocations: 103.2 kB / 1.08 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004595/0.4604, allocations: 207.7 kB / 1.081 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4604, allocations: 0 / 1.081 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001936/0.4606, allocations: 104.5 kB / 1.081 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006031/0.4613, allocations: 76.42 kB / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.4626, allocations: 0.8293 MB / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.4629, allocations: 0.7953 MB / 1.082 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001476/0.4631, allocations: 38.97 kB / 1.082 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.86e-05/0.4632, allocations: 27.42 kB / 1.082 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of SimCode: time 4.71e-07/0.4632, allocations: 0 / 1.082 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of Templates: time 0.006903/0.4701, allocations: 2.976 MB / 1.085 GB, free: 8.125 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Buildings_3.0.0_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_3.0.0_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_3.0.0_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & ./Buildings_3.0.0_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)