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.001185/0.001185, allocations: 105.3 kB / 16.4 MB, free: 6.496 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.001312/0.001312, allocations: 196 kB / 17.34 MB, free: 5.73 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.447/1.447, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8094/0.8094, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 67.52 kB / 0.5684 GB, free: 28.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1896, allocations: 77.93 MB / 0.6445 GB, free: 9.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004428/0.1941, allocations: 2.961 MB / 0.6474 GB, free: 6.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.1958, allocations: 0.9158 MB / 0.6483 GB, free: 5.258 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002674/0.1961, allocations: 11.94 kB / 0.6483 GB, free: 5.246 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002516/0.1964, allocations: 63.33 kB / 0.6484 GB, free: 5.184 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.1966, allocations: 87.17 kB / 0.6485 GB, free: 5.098 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005375/0.1971, allocations: 221.8 kB / 0.6487 GB, free: 4.883 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004658/0.1976, allocations: 491.2 kB / 0.6492 GB, free: 4.398 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003761/0.198, allocations: 221.6 kB / 0.6494 GB, free: 4.176 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002458/0.1982, allocations: 183.1 kB / 0.6495 GB, free: 3.996 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000218/0.1985, allocations: 171.1 kB / 0.6497 GB, free: 3.828 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.264e-05/0.1985, allocations: 44 kB / 0.6497 GB, free: 3.785 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.308e-05/0.1986, allocations: 44 kB / 0.6498 GB, free: 3.742 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.95e-05/0.1987, allocations: 95.56 kB / 0.6499 GB, free: 3.648 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001678/0.1989, allocations: 202.9 kB / 0.6501 GB, free: 3.449 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000576/0.1994, allocations: 0.5134 MB / 0.6506 GB, free: 2.934 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1995, allocations: 0 / 0.6506 GB, free: 2.934 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1995, allocations: 0 / 0.6506 GB, free: 2.934 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.1995, allocations: 4 kB / 0.6506 GB, free: 2.93 MB / 494.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.001201/0.2007, allocations: 0.7242 MB / 0.6513 GB, free: 2.156 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.2007, allocations: 8.625 kB / 0.6513 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.102e-05/0.2008, allocations: 56.61 kB / 0.6514 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006534/0.2015, allocations: 396.7 kB / 0.6517 GB, free: 1.668 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.42e-05/0.2015, allocations: 25.03 kB / 0.6518 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.278e-05/0.2016, allocations: 28.38 kB / 0.6518 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005663/0.2022, allocations: 345.4 kB / 0.6521 GB, free: 1.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.2022, allocations: 0 / 0.6521 GB, free: 1.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.508e-05/0.2022, allocations: 16 kB / 0.6521 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.2023, allocations: 8 kB / 0.6521 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004572/0.2027, allocations: 218.1 kB / 0.6523 GB, free: 1.012 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.2043, allocations: 1.174 MB / 0.6535 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005838/0.2049, allocations: 238.7 kB / 0.6537 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/0.2051, allocations: 112.2 kB / 0.6538 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.561e-05/0.2052, allocations: 7.984 kB / 0.6538 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.2052, allocations: 30.94 kB / 0.6539 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 3.316e-06/0.2052, allocations: 0 / 0.6539 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22): time 0.0006797/0.2059, allocations: 303.2 kB / 0.6541 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.52e-05/0.206, allocations: 110.8 kB / 0.6543 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003616/0.2063, allocations: 341.6 kB / 0.6546 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.2064, allocations: 33.7 kB / 0.6546 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.2066, allocations: 216.6 kB / 0.6548 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.599e-05/0.2066, allocations: 83.27 kB / 0.6549 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.332e-05/0.2067, allocations: 53.7 kB / 0.6549 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.2069, allocations: 342.8 kB / 0.6553 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.2071, allocations: 79.97 kB / 0.6554 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.2073, allocations: 143.7 kB / 0.6555 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/0.2077, allocations: 210 kB / 0.6557 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2077, allocations: 0 / 0.6557 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004935/0.2082, allocations: 285.1 kB / 0.656 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.2082, allocations: 9.406 kB / 0.656 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.2082, allocations: 0 / 0.656 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.2083, allocations: 4 kB / 0.656 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.2085, allocations: 51.91 kB / 0.656 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.2085, allocations: 7.938 kB / 0.656 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.2087, allocations: 36.02 kB / 0.6561 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.2087, allocations: 12 kB / 0.6561 GB, free: 12.98 MB / 0.4981 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.0002074/0.2089, allocations: 173.6 kB / 0.6562 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.154e-05/0.209, allocations: 35.77 kB / 0.6563 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.612e-05/0.2091, allocations: 35.36 kB / 0.6563 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.2091, allocations: 4 kB / 0.6563 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.2091, allocations: 0 / 0.6563 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2091, allocations: 0 / 0.6563 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004395/0.2096, allocations: 401.3 kB / 0.6567 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2096, allocations: 4 kB / 0.6567 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.2098, allocations: 39.97 kB / 0.6567 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.2098, allocations: 0 / 0.6567 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.2099, allocations: 4 kB / 0.6567 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.2099, allocations: 4 kB / 0.6567 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2099, allocations: 0 / 0.6567 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007179/0.2106, allocations: 432.2 kB / 0.6572 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.2108, allocations: 132.8 kB / 0.6573 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.89e-05/0.2108, allocations: 12 kB / 0.6573 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.211, allocations: 15.92 kB / 0.6573 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.738e-05/0.2111, allocations: 19.97 kB / 0.6573 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.2111, allocations: 4 kB / 0.6573 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000264/0.2114, allocations: 243.2 kB / 0.6576 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.71e-07/0.2114, allocations: 64 / 0.6576 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003405/0.2117, allocations: 71.83 kB / 0.6576 GB, free: 11.29 MB / 0.4981 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.0001299/0.2118, allocations: 103.2 kB / 0.6577 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004931/0.2123, allocations: 201.4 kB / 0.6579 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.2124, allocations: 384 / 0.6579 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002026/0.2126, allocations: 107.8 kB / 0.658 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005394/0.2131, allocations: 79.38 kB / 0.6581 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.2145, allocations: 0.711 MB / 0.6588 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.2149, allocations: 0.7951 MB / 0.6596 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000156/0.215, allocations: 34.97 kB / 0.6596 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.599e-05/0.2151, allocations: 27.44 kB / 0.6596 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.2151, allocations: 0 / 0.6596 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of Templates: time 0.00808/0.2232, allocations: 3.23 MB / 0.6628 GB, free: 5.98 MB / 0.4981 GB 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)