Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001179/0.001179, allocations: 106.6 kB / 16.29 MB, free: 6.43 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.001247/0.001247, allocations: 184 kB / 17.22 MB, free: 5.934 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.609/1.609, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.935/1.935, allocations: 292.3 MB / 0.5495 GB, free: 17.5 MB / 462.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.001542/0.001542, allocations: 67.91 kB / 0.6722 GB, free: 6.52 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.25, allocations: 114.6 MB / 0.7841 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004569/0.2547, allocations: 3.128 MB / 0.7871 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3412/0.5959, allocations: 1.009 MB / 0.7881 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003576/0.5963, allocations: 13.06 kB / 0.7881 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000229/0.5966, allocations: 73.5 kB / 0.7882 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001877/0.5968, allocations: 96.33 kB / 0.7883 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004848/0.5973, allocations: 243.2 kB / 0.7885 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004135/0.5977, allocations: 0.5476 MB / 0.789 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003181/0.598, allocations: 249.2 kB / 0.7893 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.5982, allocations: 206.2 kB / 0.7895 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.5984, allocations: 209.3 kB / 0.7897 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.854e-05/0.5985, allocations: 52.5 kB / 0.7897 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.789e-05/0.5985, allocations: 51.19 kB / 0.7898 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.682e-05/0.5986, allocations: 113.8 kB / 0.7899 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.5987, allocations: 234.8 kB / 0.7901 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003998/0.5991, allocations: 0.569 MB / 0.7907 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.5992, allocations: 0 / 0.7907 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5992, allocations: 0 / 0.7907 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.5992, allocations: 0.9688 kB / 0.7907 GB, free: 45.6 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0009352/0.6001, allocations: 0.7732 MB / 0.7914 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.6002, allocations: 10.5 kB / 0.7914 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.5e-05/0.6002, allocations: 54.53 kB / 0.7915 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004275/0.6007, allocations: 405.8 kB / 0.7919 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.6007, allocations: 32.19 kB / 0.7919 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.35e-05/0.6008, allocations: 39.3 kB / 0.7919 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005258/0.6013, allocations: 399.5 kB / 0.7923 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.6013, allocations: 5.219 kB / 0.7923 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.137e-05/0.6014, allocations: 14.06 kB / 0.7923 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.6014, allocations: 8.062 kB / 0.7923 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004738/0.6019, allocations: 268.5 kB / 0.7926 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/0.6031, allocations: 1.305 MB / 0.7939 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005951/0.6038, allocations: 309.9 kB / 0.7942 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/0.604, allocations: 142.2 kB / 0.7943 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/0.604, allocations: 9.969 kB / 0.7943 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003314/0.6044, allocations: 167.3 kB / 0.7945 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 1.813e-06/0.6044, allocations: 2.531 kB / 0.7945 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.0006737/0.605, allocations: 386.8 kB / 0.7949 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.6051, allocations: 80.61 kB / 0.7949 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.6054, allocations: 351.3 kB / 0.7953 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.6054, allocations: 38.98 kB / 0.7953 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.6055, allocations: 239.7 kB / 0.7955 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/0.6056, allocations: 99.59 kB / 0.7956 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-05/0.6057, allocations: 75.7 kB / 0.7957 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.451e-05/0.6057, allocations: 349.8 kB / 0.796 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.6059, allocations: 106.5 kB / 0.7961 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/0.6061, allocations: 164.4 kB / 0.7963 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003664/0.6065, allocations: 257.4 kB / 0.7965 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.6065, allocations: 3.344 kB / 0.7965 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004931/0.607, allocations: 355.8 kB / 0.7969 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.607, allocations: 6.844 kB / 0.7969 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.607, allocations: 5.219 kB / 0.7969 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.6071, allocations: 3.312 kB / 0.7969 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.6073, allocations: 63.89 kB / 0.797 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.6073, allocations: 3.5 kB / 0.797 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.6075, allocations: 45.25 kB / 0.797 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.6076, allocations: 10.97 kB / 0.797 GB, free: 42.84 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: 14 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001385/0.6077, allocations: 177.1 kB / 0.7972 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.116e-05/0.6077, allocations: 40.59 kB / 0.7972 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.603e-05/0.6078, allocations: 41.77 kB / 0.7973 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.6078, allocations: 3.406 kB / 0.7973 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.6079, allocations: 0.5625 kB / 0.7973 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.6079, allocations: 2.953 kB / 0.7973 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008862/0.6088, allocations: 0.8198 MB / 0.7981 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.6088, allocations: 0 / 0.7981 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.609, allocations: 48.77 kB / 0.7981 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.609, allocations: 2.312 kB / 0.7981 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.6091, allocations: 9.531 kB / 0.7981 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.6091, allocations: 0 / 0.7981 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.6091, allocations: 3.281 kB / 0.7981 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007069/0.6098, allocations: 0.5095 MB / 0.7986 GB, free: 41.84 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.566e-05/0.6099, allocations: 138 kB / 0.7988 GB, free: 41.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.499e-05/0.6099, allocations: 7.609 kB / 0.7988 GB, free: 41.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.6101, allocations: 16.02 kB / 0.7988 GB, free: 41.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.717e-05/0.6102, allocations: 24.73 kB / 0.7988 GB, free: 41.69 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.6102, allocations: 17.56 kB / 0.7988 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001992/0.6104, allocations: 241 kB / 0.799 GB, free: 41.56 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6104, allocations: 2.094 kB / 0.799 GB, free: 41.56 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003325/0.6108, allocations: 83.44 kB / 0.7991 GB, free: 41.54 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.526e-05/0.6109, allocations: 117.5 kB / 0.7992 GB, free: 41.44 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004775/0.6114, allocations: 271.8 kB / 0.7995 GB, free: 41.36 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6114, allocations: 0 / 0.7995 GB, free: 41.36 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002337/0.6116, allocations: 132.7 kB / 0.7996 GB, free: 41.32 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004805/0.6121, allocations: 83.53 kB / 0.7997 GB, free: 41.29 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.6133, allocations: 0.8044 MB / 0.8005 GB, free: 40.84 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.6136, allocations: 0.814 MB / 0.8013 GB, free: 40.13 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001506/0.6137, allocations: 42.94 kB / 0.8013 GB, free: 40.12 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.61e-05/0.6138, allocations: 35.97 kB / 0.8014 GB, free: 40.11 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.6138, allocations: 0 / 0.8014 GB, free: 40.11 MB / 0.6544 GB Notification: Performance of Templates: time 0.00823/0.6221, allocations: 3.645 MB / 0.8049 GB, free: 39.94 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)