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.000965/0.0009653, allocations: 99.31 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.001047/0.001047, 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.261/1.261, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.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.608/1.608, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0004601/0.0004601, allocations: 11.22 kB / 0.6735 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2042, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003295/0.2076, allocations: 2.625 MB / 0.7897 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001708/0.2093, allocations: 0.9363 MB / 0.7906 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003099/0.2096, allocations: 11.94 kB / 0.7906 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.2097, allocations: 39.58 kB / 0.7906 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004179/0.2102, allocations: 111.6 kB / 0.7907 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004571/0.2106, allocations: 181.1 kB / 0.7909 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004883/0.2111, allocations: 336.5 kB / 0.7912 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003145/0.2114, allocations: 175.7 kB / 0.7914 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002284/0.2117, allocations: 151.2 kB / 0.7915 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002292/0.2119, allocations: 147.1 kB / 0.7917 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.231e-05/0.212, allocations: 12 kB / 0.7917 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.872e-05/0.212, allocations: 19.94 kB / 0.7917 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.494e-05/0.2121, allocations: 59.64 kB / 0.7918 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.664e-05/0.2122, allocations: 113.4 kB / 0.7919 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003697/0.2126, allocations: 419.2 kB / 0.7923 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.2126, allocations: 0 / 0.7923 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2126, allocations: 0 / 0.7923 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.456e-05/0.2126, allocations: 0 / 0.7923 GB, free: 6.668 MB / 0.6075 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.001119/0.2137, allocations: 0.692 MB / 0.793 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.2138, allocations: 8.031 kB / 0.793 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.2139, allocations: 55.34 kB / 0.793 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005759/0.2145, allocations: 403.5 kB / 0.7934 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.973e-05/0.2145, allocations: 29 kB / 0.7934 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.059e-05/0.2146, allocations: 40 kB / 0.7935 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006351/0.2152, allocations: 393.6 kB / 0.7938 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.2153, allocations: 4 kB / 0.7938 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/0.2153, allocations: 16 kB / 0.7939 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.2153, allocations: 8 kB / 0.7939 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005396/0.2159, allocations: 259.8 kB / 0.7941 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/0.2176, allocations: 1.328 MB / 0.7954 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006546/0.2183, allocations: 310.6 kB / 0.7957 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.2183, allocations: 8 kB / 0.7957 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003338/0.2186, allocations: 181.9 kB / 0.7959 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 1.763e-06/0.2187, allocations: 0 / 0.7959 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.0007843/0.2194, allocations: 383 kB / 0.7963 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.2195, allocations: 89.09 kB / 0.7963 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003595/0.2199, allocations: 349.6 kB / 0.7967 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.2199, allocations: 37.7 kB / 0.7967 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.2201, allocations: 224.5 kB / 0.7969 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.219e-05/0.2202, allocations: 106.5 kB / 0.797 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.412e-05/0.2202, allocations: 4 kB / 0.797 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.2203, allocations: 346.8 kB / 0.7974 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.2205, allocations: 108.6 kB / 0.7975 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/0.2208, allocations: 168.4 kB / 0.7976 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.221, allocations: 109.7 kB / 0.7977 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.221, allocations: 0 / 0.7977 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005635/0.2216, allocations: 358.8 kB / 0.7981 GB, free: 452 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2216, allocations: 8 kB / 0.7981 GB, free: 444 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2217, allocations: 3.984 kB / 0.7981 GB, free: 440 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.2217, allocations: 4 kB / 0.7981 GB, free: 436 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002633/0.2219, allocations: 67.91 kB / 0.7981 GB, free: 368 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.222, allocations: 0 / 0.7981 GB, free: 368 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.2222, allocations: 51.8 kB / 0.7982 GB, free: 316 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.2222, allocations: 19.86 kB / 0.7982 GB, free: 296 kB / 0.6075 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.0001794/0.2224, allocations: 173.7 kB / 0.7984 GB, free: 112 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.2224, allocations: 43.48 kB / 0.7984 GB, free: 68 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.84e-05/0.2225, allocations: 40.25 kB / 0.7985 GB, free: 28 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.2225, allocations: 4 kB / 0.7985 GB, free: 24 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2225, allocations: 3.938 kB / 0.7985 GB, free: 20 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.2225, allocations: 3.984 kB / 0.7985 GB, free: 16 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.2236, allocations: 0.8114 MB / 0.7993 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2236, allocations: 0 / 0.7993 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.2239, allocations: 51.91 kB / 0.7993 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.2239, allocations: 4 kB / 0.7993 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.2239, allocations: 4 kB / 0.7993 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.2239, allocations: 11.98 kB / 0.7993 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2239, allocations: 4 kB / 0.7993 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007769/0.2247, allocations: 0.515 MB / 0.7998 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.2248, allocations: 136.6 kB / 0.8 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.358e-05/0.2249, allocations: 12.06 kB / 0.8 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.2251, allocations: 19.98 kB / 0.8 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.512e-05/0.2252, allocations: 27.95 kB / 0.8 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.2252, allocations: 4 kB / 0.8 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002341/0.2254, allocations: 243.2 kB / 0.8003 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2254, allocations: 0 / 0.8003 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003429/0.2258, allocations: 87.69 kB / 0.8003 GB, free: 14 MB / 0.6231 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.0001139/0.2259, allocations: 111.2 kB / 0.8005 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005158/0.2264, allocations: 267.6 kB / 0.8007 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2264, allocations: 0 / 0.8007 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002432/0.2267, allocations: 140.8 kB / 0.8008 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.2271, allocations: 69.47 kB / 0.8009 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.2285, allocations: 0.9588 MB / 0.8018 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.2288, allocations: 0.8269 MB / 0.8027 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001619/0.229, allocations: 43.27 kB / 0.8027 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.11e-05/0.2291, allocations: 39.36 kB / 0.8027 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of SimCode: time 2.51e-07/0.2291, allocations: 0 / 0.8027 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of Templates: time 0.007229/0.2364, allocations: 3.24 MB / 0.8059 GB, free: 8.285 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) Environment - environmentSimulation: