Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.006434/0.006434, allocations: 101.2 kB / 15.73 MB, free: 6.059 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.001181/0.001181, allocations: 192 kB / 16.67 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 205.1 MB / 222.5 MB, free: 4.293 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.637/1.637, allocations: 251.7 MB / 0.5094 GB, free: 3.074 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 67.91 kB / 0.7258 GB, free: 9.066 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2516, allocations: 104.7 MB / 0.828 GB, free: 256 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresis): time 0.004751/0.2564, allocations: 2.987 MB / 0.8309 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002106/0.2585, allocations: 0.9555 MB / 0.8319 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002928/0.2588, allocations: 11.94 kB / 0.8319 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002526/0.2591, allocations: 67.27 kB / 0.8319 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.2593, allocations: 87.17 kB / 0.832 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005485/0.2598, allocations: 216.1 kB / 0.8322 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005396/0.2604, allocations: 0.495 MB / 0.8327 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004089/0.2608, allocations: 213.6 kB / 0.8329 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.261, allocations: 175.2 kB / 0.8331 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000234/0.2613, allocations: 179 kB / 0.8333 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.349e-05/0.2614, allocations: 44 kB / 0.8333 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.903e-05/0.2614, allocations: 44 kB / 0.8333 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.606e-05/0.2615, allocations: 91.64 kB / 0.8334 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001904/0.2617, allocations: 202.9 kB / 0.8336 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005544/0.2623, allocations: 0.4943 MB / 0.8341 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.2623, allocations: 0 / 0.8341 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.525e-06/0.2623, allocations: 0 / 0.8341 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.2623, allocations: 0 / 0.8341 GB, free: 9.98 MB / 0.6544 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.001237/0.2636, allocations: 0.7167 MB / 0.8348 GB, free: 9.215 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.2636, allocations: 8.031 kB / 0.8348 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.684e-05/0.2637, allocations: 52.31 kB / 0.8349 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006959/0.2644, allocations: 392.4 kB / 0.8352 GB, free: 8.73 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/0.2645, allocations: 24.97 kB / 0.8353 GB, free: 8.707 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.226e-05/0.2645, allocations: 36.38 kB / 0.8353 GB, free: 8.672 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005779/0.2651, allocations: 341.4 kB / 0.8356 GB, free: 8.312 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.2652, allocations: 7.922 kB / 0.8356 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.358e-05/0.2652, allocations: 12 kB / 0.8356 GB, free: 8.293 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.2652, allocations: 12 kB / 0.8356 GB, free: 8.281 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004498/0.2657, allocations: 214.1 kB / 0.8359 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001484/0.2672, allocations: 1.17 MB / 0.837 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005878/0.2678, allocations: 242.7 kB / 0.8372 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.268, allocations: 116.8 kB / 0.8373 GB, free: 6.461 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.268, allocations: 4 kB / 0.8373 GB, free: 6.457 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.2681, allocations: 34.94 kB / 0.8374 GB, free: 6.414 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=22): time 1.402e-06/0.2681, allocations: 0 / 0.8374 GB, free: 6.414 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22): time 0.0006713/0.2687, allocations: 303.4 kB / 0.8377 GB, free: 6.113 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.649e-05/0.2688, allocations: 106.8 kB / 0.8378 GB, free: 5.984 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003416/0.2692, allocations: 333.7 kB / 0.8381 GB, free: 5.652 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.2692, allocations: 33.7 kB / 0.8381 GB, free: 5.613 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.2694, allocations: 220.1 kB / 0.8383 GB, free: 5.395 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.855e-05/0.2694, allocations: 78.92 kB / 0.8384 GB, free: 5.316 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.588e-05/0.2695, allocations: 57.61 kB / 0.8385 GB, free: 5.254 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.2697, allocations: 346.8 kB / 0.8388 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.2699, allocations: 75.95 kB / 0.8389 GB, free: 4.832 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.2701, allocations: 140.2 kB / 0.839 GB, free: 4.668 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/0.2705, allocations: 211.6 kB / 0.8392 GB, free: 4.441 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.2705, allocations: 4 kB / 0.8392 GB, free: 4.438 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004719/0.271, allocations: 275.6 kB / 0.8395 GB, free: 4.164 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.271, allocations: 10.81 kB / 0.8395 GB, free: 4.156 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.271, allocations: 0 / 0.8395 GB, free: 4.156 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.271, allocations: 4 kB / 0.8395 GB, free: 4.152 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.2713, allocations: 60.09 kB / 0.8395 GB, free: 4.094 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.2713, allocations: 4 kB / 0.8395 GB, free: 4.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.2715, allocations: 35.72 kB / 0.8396 GB, free: 4.055 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.2715, allocations: 8 kB / 0.8396 GB, free: 4.047 MB / 0.6544 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.0001544/0.2716, allocations: 161.7 kB / 0.8397 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.653e-05/0.2717, allocations: 31.62 kB / 0.8398 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.85e-05/0.2718, allocations: 39.36 kB / 0.8398 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.2718, allocations: 8 kB / 0.8398 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2718, allocations: 0 / 0.8398 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2718, allocations: 0 / 0.8398 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004/0.2722, allocations: 397.2 kB / 0.8402 GB, free: 3.359 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2722, allocations: 0 / 0.8402 GB, free: 3.359 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.2725, allocations: 51.78 kB / 0.8402 GB, free: 3.309 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.2725, allocations: 0 / 0.8402 GB, free: 3.309 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.2725, allocations: 4 kB / 0.8402 GB, free: 3.305 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2725, allocations: 4 kB / 0.8402 GB, free: 3.301 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2725, allocations: 0 / 0.8402 GB, free: 3.301 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007019/0.2732, allocations: 433.4 kB / 0.8407 GB, free: 2.863 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.2733, allocations: 132.7 kB / 0.8408 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.2734, allocations: 8 kB / 0.8408 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.2736, allocations: 15.98 kB / 0.8408 GB, free: 2.691 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.996e-05/0.2736, allocations: 19.97 kB / 0.8408 GB, free: 2.672 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.2737, allocations: 12.06 kB / 0.8408 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002228/0.2739, allocations: 243.2 kB / 0.8411 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.2739, allocations: 0 / 0.8411 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002987/0.2742, allocations: 63.75 kB / 0.8411 GB, free: 2.363 MB / 0.6544 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.0001132/0.2743, allocations: 103.8 kB / 0.8412 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004418/0.2748, allocations: 200.1 kB / 0.8414 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.2748, allocations: 4 kB / 0.8414 GB, free: 2.055 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.275, allocations: 99.89 kB / 0.8415 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005044/0.2755, allocations: 75.67 kB / 0.8416 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.2767, allocations: 0.6987 MB / 0.8423 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.277, allocations: 0.7949 MB / 0.8431 GB, free: 348 kB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001337/0.2772, allocations: 42.91 kB / 0.8431 GB, free: 308 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.135e-05/0.2772, allocations: 23.44 kB / 0.8431 GB, free: 284 kB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.2773, allocations: 0 / 0.8431 GB, free: 284 kB / 0.6544 GB Notification: Performance of Templates: time 0.006877/0.2841, allocations: 3.229 MB / 0.8463 GB, free: 13.08 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)