Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 189.1 kB / 16.63 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4639/0.4639, allocations: 87.5 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 222.9 MB / 349.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 105.6 kB / 420 MB, free: 8.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009787/0.0009788, allocations: 51.92 kB / 0.4891 GB, free: 7.691 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4279/0.4289, allocations: 70.06 MB / 0.5575 GB, free: 44.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.006881/0.4358, allocations: 2.997 MB / 0.5604 GB, free: 42.17 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00274/0.4386, allocations: 0.8834 MB / 0.5613 GB, free: 41.28 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005352/0.4392, allocations: 12.66 kB / 0.5613 GB, free: 41.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003244/0.4396, allocations: 47.58 kB / 0.5613 GB, free: 41.22 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002857/0.4399, allocations: 71 kB / 0.5614 GB, free: 41.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007966/0.4407, allocations: 198.3 kB / 0.5616 GB, free: 40.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006624/0.4414, allocations: 467.2 kB / 0.562 GB, free: 40.51 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004718/0.4419, allocations: 201.2 kB / 0.5622 GB, free: 40.31 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002716/0.4422, allocations: 159.1 kB / 0.5624 GB, free: 40.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002618/0.4425, allocations: 159.1 kB / 0.5625 GB, free: 40 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.093e-05/0.4425, allocations: 20 kB / 0.5626 GB, free: 39.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.643e-05/0.4426, allocations: 23.94 kB / 0.5626 GB, free: 39.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.052e-05/0.4427, allocations: 71.64 kB / 0.5626 GB, free: 39.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001936/0.4429, allocations: 182.8 kB / 0.5628 GB, free: 39.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005272/0.4434, allocations: 480.5 kB / 0.5633 GB, free: 39.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4435, allocations: 0 / 0.5633 GB, free: 39.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4435, allocations: 0 / 0.5633 GB, free: 39.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.4435, allocations: 0 / 0.5633 GB, free: 39.23 MB / 410.7 MB 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.001589/0.4451, allocations: 0.7128 MB / 0.564 GB, free: 38.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.4452, allocations: 11.97 kB / 0.564 GB, free: 38.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.4453, allocations: 48.38 kB / 0.564 GB, free: 38.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007645/0.4461, allocations: 392.4 kB / 0.5644 GB, free: 37.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.824e-05/0.4461, allocations: 24.97 kB / 0.5644 GB, free: 37.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.759e-05/0.4462, allocations: 32.38 kB / 0.5645 GB, free: 37.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007383/0.447, allocations: 337.5 kB / 0.5648 GB, free: 37.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.447, allocations: 3.938 kB / 0.5648 GB, free: 37.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.262e-05/0.4471, allocations: 12 kB / 0.5648 GB, free: 37.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/0.4471, allocations: 11.94 kB / 0.5648 GB, free: 37.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006417/0.4477, allocations: 210.1 kB / 0.565 GB, free: 37.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001852/0.4496, allocations: 1.186 MB / 0.5662 GB, free: 36.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007562/0.4504, allocations: 242.7 kB / 0.5664 GB, free: 35.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002923/0.4507, allocations: 108.8 kB / 0.5665 GB, free: 35.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.79e-05/0.4507, allocations: 4 kB / 0.5665 GB, free: 35.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.4508, allocations: 42.92 kB / 0.5665 GB, free: 35.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 2.484e-06/0.4508, allocations: 0 / 0.5665 GB, free: 35.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009141/0.4517, allocations: 299.8 kB / 0.5668 GB, free: 35.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.4518, allocations: 106.8 kB / 0.5669 GB, free: 35.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004256/0.4522, allocations: 333.7 kB / 0.5673 GB, free: 34.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.4523, allocations: 33.7 kB / 0.5673 GB, free: 34.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.4524, allocations: 220.2 kB / 0.5675 GB, free: 34.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.943e-05/0.4525, allocations: 78.84 kB / 0.5676 GB, free: 34.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.4527, allocations: 53.61 kB / 0.5676 GB, free: 34.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.719e-05/0.4528, allocations: 346.8 kB / 0.568 GB, free: 34.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/0.4531, allocations: 79.95 kB / 0.568 GB, free: 34.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/0.4534, allocations: 151.6 kB / 0.5682 GB, free: 33.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005512/0.454, allocations: 211.2 kB / 0.5684 GB, free: 33.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.454, allocations: 0 / 0.5684 GB, free: 33.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007017/0.4547, allocations: 278.5 kB / 0.5686 GB, free: 33.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.4547, allocations: 12.19 kB / 0.5687 GB, free: 33.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.4547, allocations: 0 / 0.5687 GB, free: 33.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.4548, allocations: 4 kB / 0.5687 GB, free: 33.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003374/0.4551, allocations: 51.91 kB / 0.5687 GB, free: 33.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.4552, allocations: 4 kB / 0.5687 GB, free: 33.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002676/0.4554, allocations: 31.73 kB / 0.5687 GB, free: 33.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.4555, allocations: 12 kB / 0.5688 GB, free: 33.3 MB / 410.7 MB 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.0001975/0.4557, allocations: 165.7 kB / 0.5689 GB, free: 33.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.263e-05/0.4558, allocations: 31.62 kB / 0.5689 GB, free: 33.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.4559, allocations: 43.36 kB / 0.569 GB, free: 33.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.4559, allocations: 0 / 0.569 GB, free: 33.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.4559, allocations: 3.938 kB / 0.569 GB, free: 33.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.456, allocations: 0 / 0.569 GB, free: 33.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005315/0.4565, allocations: 401.2 kB / 0.5694 GB, free: 32.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4565, allocations: 0 / 0.5694 GB, free: 32.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003515/0.4569, allocations: 47.91 kB / 0.5694 GB, free: 32.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.4569, allocations: 4 kB / 0.5694 GB, free: 32.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.4569, allocations: 4 kB / 0.5694 GB, free: 32.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4569, allocations: 0 / 0.5694 GB, free: 32.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.457, allocations: 0 / 0.5694 GB, free: 32.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005192/0.4622, allocations: 2.531 MB / 0.5719 GB, free: 29.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.4623, allocations: 132.6 kB / 0.572 GB, free: 29.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.252e-05/0.4624, allocations: 4 kB / 0.572 GB, free: 29.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002901/0.4627, allocations: 28.05 kB / 0.5721 GB, free: 29.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.604e-05/0.4628, allocations: 15.97 kB / 0.5721 GB, free: 29.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.4628, allocations: 8 kB / 0.5721 GB, free: 29.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003323/0.4632, allocations: 235.2 kB / 0.5723 GB, free: 29.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4632, allocations: 4 kB / 0.5723 GB, free: 29.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007428/0.4639, allocations: 95.69 kB / 0.5724 GB, free: 29.36 MB / 410.7 MB 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.000137/0.4641, allocations: 111.2 kB / 0.5725 GB, free: 29.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006339/0.4647, allocations: 201.3 kB / 0.5727 GB, free: 29.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4648, allocations: 0 / 0.5727 GB, free: 29.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000309/0.4651, allocations: 103.9 kB / 0.5728 GB, free: 28.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009016/0.466, allocations: 77.66 kB / 0.5729 GB, free: 28.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.468, allocations: 1.029 MB / 0.5739 GB, free: 27.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.4683, allocations: 0.8031 MB / 0.5747 GB, free: 26.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002798/0.4686, allocations: 42.95 kB / 0.5747 GB, free: 26.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.4687, allocations: 31.42 kB / 0.5747 GB, free: 26.9 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.4687, allocations: 0 / 0.5747 GB, free: 26.9 MB / 410.7 MB Notification: Performance of Templates: time 0.01054/0.4793, allocations: 3.676 MB / 0.5783 GB, free: 23.25 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & ./IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)