Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.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.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 100 kB / 15.05 MB, free: 1.105 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.001396/0.001396, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.862/1.862, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.703/1.703, allocations: 251.9 MB / 0.51 GB, free: 4.781 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.0007195/0.00072, allocations: 12 kB / 0.6241 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6944/0.6951, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003538/0.6987, allocations: 2.627 MB / 0.7305 GB, free: 8.781 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001779/0.7005, allocations: 0.9401 MB / 0.7314 GB, free: 7.832 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002483/0.7008, allocations: 15.88 kB / 0.7315 GB, free: 7.816 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.559e-05/0.7009, allocations: 35.58 kB / 0.7315 GB, free: 7.781 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003831/0.7013, allocations: 111.6 kB / 0.7316 GB, free: 7.672 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.7017, allocations: 174.9 kB / 0.7318 GB, free: 7.504 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004397/0.7021, allocations: 344.5 kB / 0.7321 GB, free: 7.168 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002986/0.7024, allocations: 179.7 kB / 0.7323 GB, free: 6.988 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000295/0.7027, allocations: 151.2 kB / 0.7324 GB, free: 6.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.7029, allocations: 143.1 kB / 0.7325 GB, free: 6.699 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.822e-05/0.703, allocations: 12 kB / 0.7326 GB, free: 6.688 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.742e-05/0.703, allocations: 12 kB / 0.7326 GB, free: 6.676 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.527e-05/0.7031, allocations: 67.69 kB / 0.7326 GB, free: 6.609 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.512e-05/0.7032, allocations: 101.4 kB / 0.7327 GB, free: 6.504 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000361/0.7035, allocations: 424.9 kB / 0.7331 GB, free: 6.09 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.7035, allocations: 0 / 0.7331 GB, free: 6.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7036, allocations: 0 / 0.7331 GB, free: 6.09 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.7036, allocations: 0 / 0.7331 GB, free: 6.09 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001069/0.7046, allocations: 0.6958 MB / 0.7338 GB, free: 5.34 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.7047, allocations: 8.031 kB / 0.7338 GB, free: 5.332 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.02e-05/0.7048, allocations: 55.34 kB / 0.7339 GB, free: 5.277 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005728/0.7054, allocations: 395.7 kB / 0.7343 GB, free: 4.852 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.819e-05/0.7054, allocations: 29 kB / 0.7343 GB, free: 4.824 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.537e-05/0.7055, allocations: 43.91 kB / 0.7343 GB, free: 4.781 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006931/0.7062, allocations: 397.6 kB / 0.7347 GB, free: 4.363 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.7062, allocations: 0 / 0.7347 GB, free: 4.363 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.599e-05/0.7063, allocations: 16 kB / 0.7347 GB, free: 4.348 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.7063, allocations: 8 kB / 0.7347 GB, free: 4.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005495/0.7068, allocations: 267.8 kB / 0.735 GB, free: 4.082 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001923/0.7088, allocations: 1.324 MB / 0.7363 GB, free: 2.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006803/0.7095, allocations: 314.6 kB / 0.7366 GB, free: 2.363 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.606e-05/0.7095, allocations: 4 kB / 0.7366 GB, free: 2.359 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003704/0.7099, allocations: 181.5 kB / 0.7367 GB, free: 2.172 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.803e-06/0.7099, allocations: 3.938 kB / 0.7368 GB, free: 2.168 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.0008076/0.7107, allocations: 385.8 kB / 0.7371 GB, free: 1.785 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.7108, allocations: 85.11 kB / 0.7372 GB, free: 1.684 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005048/0.7113, allocations: 349.6 kB / 0.7375 GB, free: 1.336 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.7113, allocations: 29.7 kB / 0.7376 GB, free: 1.301 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.7115, allocations: 244.8 kB / 0.7378 GB, free: 1.059 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.365e-05/0.7116, allocations: 102.6 kB / 0.7379 GB, free: 0.957 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.739e-05/0.7116, allocations: 8 kB / 0.7379 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.7118, allocations: 346.8 kB / 0.7382 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.712, allocations: 104.7 kB / 0.7383 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.7122, allocations: 168.3 kB / 0.7385 GB, free: 312 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.7125, allocations: 121.5 kB / 0.7386 GB, free: 192 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.7125, allocations: 0 / 0.7386 GB, free: 192 kB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006136/0.7131, allocations: 351 kB / 0.7389 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.7131, allocations: 7.938 kB / 0.739 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.7132, allocations: 4 kB / 0.739 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.7132, allocations: 4 kB / 0.739 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.7134, allocations: 63.91 kB / 0.739 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.7135, allocations: 7.984 kB / 0.739 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.7137, allocations: 47.86 kB / 0.7391 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.7137, allocations: 12 kB / 0.7391 GB, free: 15.69 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.greaterEqualThreshold.y,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001847/0.7139, allocations: 169.6 kB / 0.7392 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.583e-05/0.714, allocations: 39.53 kB / 0.7393 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.943e-05/0.7141, allocations: 44.25 kB / 0.7393 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/0.7141, allocations: 4 kB / 0.7393 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.7141, allocations: 3.984 kB / 0.7393 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.7141, allocations: 4 kB / 0.7393 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.7152, allocations: 0.8065 MB / 0.7401 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.7152, allocations: 0 / 0.7401 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002386/0.7155, allocations: 47.92 kB / 0.7402 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.7155, allocations: 4 kB / 0.7402 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.7155, allocations: 11.98 kB / 0.7402 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.7155, allocations: 0 / 0.7402 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.7155, allocations: 4 kB / 0.7402 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008262/0.7164, allocations: 0.5157 MB / 0.7407 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.7165, allocations: 140.6 kB / 0.7408 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.112e-05/0.7166, allocations: 11.94 kB / 0.7408 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.7168, allocations: 27.89 kB / 0.7409 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.56e-05/0.7169, allocations: 23.95 kB / 0.7409 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.7169, allocations: 12 kB / 0.7409 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002415/0.7172, allocations: 243.2 kB / 0.7411 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7172, allocations: 0 / 0.7411 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003534/0.7175, allocations: 87.69 kB / 0.7412 GB, free: 13.41 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001327/0.7177, allocations: 119.7 kB / 0.7413 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000623/0.7183, allocations: 263.7 kB / 0.7416 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7183, allocations: 384 / 0.7416 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.7186, allocations: 131.9 kB / 0.7417 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.719, allocations: 82.34 kB / 0.7418 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.7205, allocations: 0.9663 MB / 0.7427 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/0.7209, allocations: 0.823 MB / 0.7435 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001866/0.7211, allocations: 47.27 kB / 0.7436 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.155e-05/0.7212, allocations: 27.44 kB / 0.7436 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.7212, allocations: 4 kB / 0.7436 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.007146/0.7284, allocations: 3.226 MB / 0.7468 GB, free: 7.695 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) Environment - environmentSimulation: