Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Obsolete.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.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.001244/0.001243, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 200 kB / 16.54 MB, free: 6.672 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.424/1.424, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.824/2.824, allocations: 472.6 MB / 0.7451 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 64.08 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3875, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005319/0.3929, allocations: 3.173 MB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001962/0.3949, allocations: 0.966 MB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002655/0.3952, allocations: 12 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000265/0.3955, allocations: 75.19 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.3957, allocations: 99.09 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005709/0.3963, allocations: 239 kB / 1.073 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005427/0.3968, allocations: 0.5466 MB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004532/0.3973, allocations: 255.5 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002547/0.3975, allocations: 199.2 kB / 1.074 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002401/0.3978, allocations: 210.8 kB / 1.074 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.729e-05/0.3979, allocations: 52 kB / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.636e-05/0.398, allocations: 52 kB / 1.074 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.297e-05/0.3981, allocations: 111.6 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002228/0.3983, allocations: 242.7 kB / 1.074 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005822/0.3989, allocations: 0.557 MB / 1.075 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.3989, allocations: 3.984 kB / 1.075 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3989, allocations: 0 / 1.075 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.3989, allocations: 0 / 1.075 GB, free: 3.648 MB / 0.8262 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.001227/0.4001, allocations: 0.7621 MB / 1.076 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.4002, allocations: 12.02 kB / 1.076 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.4003, allocations: 56.28 kB / 1.076 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000581/0.4009, allocations: 416.6 kB / 1.076 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.283e-05/0.4009, allocations: 29.38 kB / 1.076 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.077e-05/0.401, allocations: 36.38 kB / 1.076 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000681/0.4017, allocations: 401.9 kB / 1.076 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/0.4017, allocations: 7.844 kB / 1.076 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.82e-05/0.4018, allocations: 20 kB / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.4018, allocations: 8 kB / 1.076 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005687/0.4024, allocations: 263.8 kB / 1.077 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/0.4042, allocations: 1.317 MB / 1.078 GB, free: 168 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007138/0.4049, allocations: 316.2 kB / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/0.4052, allocations: 142.6 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.4053, allocations: 4 kB / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004134/0.4057, allocations: 173.5 kB / 1.079 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=33): time 1.703e-06/0.4057, allocations: 4 kB / 1.079 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33): time 0.0008063/0.4065, allocations: 382.6 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.523e-05/0.4066, allocations: 81.11 kB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003754/0.407, allocations: 353.6 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.565e-05/0.407, allocations: 29.7 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.4072, allocations: 240.9 kB / 1.08 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.819e-05/0.4073, allocations: 106.5 kB / 1.08 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.4074, allocations: 70.06 kB / 1.08 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.4076, allocations: 350.8 kB / 1.08 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002172/0.4078, allocations: 96.7 kB / 1.08 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002703/0.4081, allocations: 168.6 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004578/0.4086, allocations: 259.8 kB / 1.081 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4086, allocations: 0 / 1.081 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006063/0.4092, allocations: 350.1 kB / 1.081 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.4092, allocations: 4 kB / 1.081 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.4092, allocations: 4 kB / 1.081 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.4093, allocations: 4.188 kB / 1.081 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.4095, allocations: 67.91 kB / 1.081 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.4096, allocations: 7.938 kB / 1.081 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.4097, allocations: 43.61 kB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.4098, allocations: 15.98 kB / 1.081 GB, free: 12.82 MB / 0.8419 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.0001944/0.41, allocations: 178.5 kB / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.927e-05/0.41, allocations: 35.53 kB / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.12e-05/0.4101, allocations: 48.25 kB / 1.081 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.4101, allocations: 0 / 1.081 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.4101, allocations: 4 kB / 1.081 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.4102, allocations: 3.984 kB / 1.081 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.4112, allocations: 0.8113 MB / 1.082 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.4113, allocations: 4 kB / 1.082 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/0.4115, allocations: 47.91 kB / 1.082 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.4115, allocations: 4 kB / 1.082 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/0.4115, allocations: 8 kB / 1.082 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.4116, allocations: 0 / 1.082 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.4116, allocations: 7.922 kB / 1.082 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008346/0.4124, allocations: 0.5066 MB / 1.083 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.4126, allocations: 148.6 kB / 1.083 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.609e-05/0.4126, allocations: 4 kB / 1.083 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.4128, allocations: 15.98 kB / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.92e-05/0.4129, allocations: 23.97 kB / 1.083 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.4129, allocations: 15.98 kB / 1.083 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000237/0.4132, allocations: 235.2 kB / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4132, allocations: 0 / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003445/0.4135, allocations: 95.61 kB / 1.083 GB, free: 10.55 MB / 0.8419 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 0.0001474/0.4137, allocations: 115.7 kB / 1.083 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006256/0.4143, allocations: 279.6 kB / 1.084 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4143, allocations: 0 / 1.084 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002463/0.4146, allocations: 136.4 kB / 1.084 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005395/0.4151, allocations: 78.28 kB / 1.084 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.4166, allocations: 0.8062 MB / 1.085 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.417, allocations: 0.8113 MB / 1.085 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001694/0.4172, allocations: 47.27 kB / 1.085 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.089e-05/0.4173, allocations: 31.42 kB / 1.085 GB, free: 8.199 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.4173, allocations: 0 / 1.085 GB, free: 8.199 MB / 0.8419 GB Notification: Performance of Templates: time 0.007921/0.4252, allocations: 3.661 MB / 1.089 GB, free: 4.57 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_1.6_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)