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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 100.7 kB / 16.27 MB, free: 5.93 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.00118/0.001181, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.381/1.381, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7907/0.7907, allocations: 126.4 MB / 417.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 67.89 kB / 0.4953 GB, free: 3.074 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4435/0.4448, allocations: 78.77 MB / 0.5723 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.003861/0.4487, allocations: 2.969 MB / 0.5752 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.4501, allocations: 0.9049 MB / 0.576 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002096/0.4504, allocations: 14.62 kB / 0.5761 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.4506, allocations: 68.7 kB / 0.5761 GB, free: 28.58 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001633/0.4507, allocations: 88.17 kB / 0.5762 GB, free: 28.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.4512, allocations: 216.2 kB / 0.5764 GB, free: 28.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004025/0.4516, allocations: 492.9 kB / 0.5769 GB, free: 28.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003252/0.4519, allocations: 220.3 kB / 0.5771 GB, free: 28.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.4521, allocations: 175.2 kB / 0.5773 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/0.4523, allocations: 179.5 kB / 0.5774 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.961e-05/0.4524, allocations: 43.03 kB / 0.5775 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.149e-05/0.4524, allocations: 44.44 kB / 0.5775 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.83e-05/0.4525, allocations: 92.47 kB / 0.5776 GB, free: 27.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.4527, allocations: 204 kB / 0.5778 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003573/0.453, allocations: 0.493 MB / 0.5783 GB, free: 27.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.453, allocations: 1.375 kB / 0.5783 GB, free: 27.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.453, allocations: 1.031 kB / 0.5783 GB, free: 27.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.453, allocations: 0 / 0.5783 GB, free: 27.24 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0008867/0.4539, allocations: 0.7206 MB / 0.579 GB, free: 26.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.454, allocations: 8.969 kB / 0.579 GB, free: 26.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.245e-05/0.4541, allocations: 48.59 kB / 0.579 GB, free: 26.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004641/0.4545, allocations: 392.5 kB / 0.5794 GB, free: 26.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.4546, allocations: 21.03 kB / 0.5794 GB, free: 26.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.595e-05/0.4546, allocations: 28.59 kB / 0.5795 GB, free: 26.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005289/0.4552, allocations: 345.2 kB / 0.5798 GB, free: 25.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.4552, allocations: 5.375 kB / 0.5798 GB, free: 25.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.745e-05/0.4552, allocations: 10.41 kB / 0.5798 GB, free: 25.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.4553, allocations: 8.188 kB / 0.5798 GB, free: 25.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000441/0.4557, allocations: 218.1 kB / 0.58 GB, free: 25.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.457, allocations: 1.178 MB / 0.5812 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005425/0.4576, allocations: 234.3 kB / 0.5814 GB, free: 24.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.4578, allocations: 115.1 kB / 0.5815 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.4578, allocations: 2.156 kB / 0.5815 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.4579, allocations: 43.53 kB / 0.5815 GB, free: 24.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.242e-06/0.4579, allocations: 3.938 kB / 0.5816 GB, free: 24.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006524/0.4585, allocations: 296.7 kB / 0.5818 GB, free: 24.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.4586, allocations: 106.5 kB / 0.5819 GB, free: 24.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003246/0.4589, allocations: 336.5 kB / 0.5823 GB, free: 24.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.4589, allocations: 31.89 kB / 0.5823 GB, free: 24.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.4591, allocations: 224.1 kB / 0.5825 GB, free: 23.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/0.4591, allocations: 76.38 kB / 0.5826 GB, free: 23.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-05/0.4592, allocations: 52.3 kB / 0.5826 GB, free: 23.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.076e-05/0.4593, allocations: 346.7 kB / 0.583 GB, free: 23.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.4595, allocations: 71.69 kB / 0.583 GB, free: 23.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.4596, allocations: 151.2 kB / 0.5832 GB, free: 23.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003302/0.46, allocations: 212 kB / 0.5834 GB, free: 23.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.46, allocations: 1.125 kB / 0.5834 GB, free: 23.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004572/0.4605, allocations: 287.2 kB / 0.5836 GB, free: 22.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4605, allocations: 6.281 kB / 0.5836 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.4605, allocations: 1.594 kB / 0.5837 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.4605, allocations: 3.625 kB / 0.5837 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.4607, allocations: 56.56 kB / 0.5837 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.4608, allocations: 3.406 kB / 0.5837 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.4609, allocations: 33.33 kB / 0.5837 GB, free: 22.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.461, allocations: 7.156 kB / 0.5838 GB, free: 22.93 MB / 446.1 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.0001257/0.4611, allocations: 163.2 kB / 0.5839 GB, free: 22.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.834e-05/0.4612, allocations: 32.44 kB / 0.5839 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.38e-05/0.4612, allocations: 49.5 kB / 0.584 GB, free: 22.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.4612, allocations: 1.812 kB / 0.584 GB, free: 22.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4613, allocations: 1.812 kB / 0.584 GB, free: 22.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.4613, allocations: 0.9062 kB / 0.584 GB, free: 22.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003326/0.4616, allocations: 398.7 kB / 0.5844 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4616, allocations: 3.031 kB / 0.5844 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.4618, allocations: 42.81 kB / 0.5844 GB, free: 22.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4618, allocations: 1.062 kB / 0.5844 GB, free: 22.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.4619, allocations: 6.344 kB / 0.5844 GB, free: 22.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.4619, allocations: 2.156 kB / 0.5844 GB, free: 22.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4619, allocations: 0 / 0.5844 GB, free: 22.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000616/0.4625, allocations: 427.1 kB / 0.5848 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.556e-05/0.4626, allocations: 131.1 kB / 0.585 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.251e-05/0.4627, allocations: 10.53 kB / 0.585 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.4628, allocations: 17.08 kB / 0.585 GB, free: 21.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/0.4629, allocations: 17.81 kB / 0.585 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.4629, allocations: 7.312 kB / 0.585 GB, free: 21.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001994/0.4631, allocations: 239.5 kB / 0.5852 GB, free: 21.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4631, allocations: 0 / 0.5852 GB, free: 21.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003185/0.4634, allocations: 66.25 kB / 0.5853 GB, free: 21.74 MB / 446.1 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 8.649e-05/0.4635, allocations: 109.3 kB / 0.5854 GB, free: 21.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004417/0.464, allocations: 211.4 kB / 0.5856 GB, free: 21.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.464, allocations: 1.406 kB / 0.5856 GB, free: 21.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001772/0.4642, allocations: 99.58 kB / 0.5857 GB, free: 21.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005473/0.4647, allocations: 88.34 kB / 0.5858 GB, free: 21.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.4659, allocations: 0.7006 MB / 0.5865 GB, free: 21.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.4661, allocations: 0.7936 MB / 0.5872 GB, free: 20.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001459/0.4663, allocations: 38.83 kB / 0.5873 GB, free: 20.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.229e-05/0.4663, allocations: 29 kB / 0.5873 GB, free: 20.24 MB / 446.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4663, allocations: 0 / 0.5873 GB, free: 20.24 MB / 446.1 MB Notification: Performance of Templates: time 0.006793/0.4731, allocations: 3.176 MB / 0.5904 GB, free: 18.71 MB / 446.1 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)