Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.005699/0.005699, allocations: 100.5 kB / 15.73 MB, free: 6.012 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.001287/0.001287, allocations: 186.1 kB / 16.67 MB, free: 5.949 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.03/1.03, allocations: 143 MB / 433.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 59.91 kB / 0.5955 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5257/0.5269, allocations: 82.03 MB / 0.6756 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004848/0.5318, allocations: 3.127 MB / 0.6787 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001964/0.5338, allocations: 0.9707 MB / 0.6796 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002968/0.5341, allocations: 13.66 kB / 0.6796 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002429/0.5343, allocations: 75.06 kB / 0.6797 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002021/0.5345, allocations: 93.69 kB / 0.6798 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005766/0.5352, allocations: 247.5 kB / 0.68 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006511/0.5358, allocations: 0.5508 MB / 0.6806 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004869/0.5363, allocations: 253.2 kB / 0.6808 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002853/0.5366, allocations: 205.9 kB / 0.681 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002545/0.5369, allocations: 210 kB / 0.6812 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.828e-05/0.537, allocations: 55.22 kB / 0.6813 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.892e-05/0.5371, allocations: 51.78 kB / 0.6813 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.875e-05/0.5372, allocations: 109.8 kB / 0.6814 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002609/0.5374, allocations: 240.5 kB / 0.6816 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008245/0.5383, allocations: 0.6139 MB / 0.6822 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.5383, allocations: 0 / 0.6822 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5383, allocations: 0.9062 kB / 0.6822 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.5383, allocations: 0 / 0.6822 GB, free: 12.3 MB / 0.5137 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.001354/0.5397, allocations: 0.7713 MB / 0.683 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.5397, allocations: 10.06 kB / 0.683 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.5398, allocations: 51.84 kB / 0.6831 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007198/0.5406, allocations: 419.6 kB / 0.6835 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.662e-05/0.5406, allocations: 29.88 kB / 0.6835 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.379e-05/0.5407, allocations: 37.12 kB / 0.6835 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006832/0.5414, allocations: 407.8 kB / 0.6839 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.5414, allocations: 0 / 0.6839 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.797e-05/0.5414, allocations: 16.12 kB / 0.6839 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.5415, allocations: 8.25 kB / 0.6839 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005487/0.542, allocations: 259.9 kB / 0.6842 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001836/0.5439, allocations: 1.312 MB / 0.6855 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007412/0.5446, allocations: 304.5 kB / 0.6857 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002763/0.5449, allocations: 146.5 kB / 0.6859 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.686e-05/0.5449, allocations: 7.109 kB / 0.6859 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003351/0.5453, allocations: 170.2 kB / 0.6861 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 1.794e-06/0.5453, allocations: 1.375 kB / 0.6861 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.0008482/0.5462, allocations: 385.7 kB / 0.6864 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/0.5462, allocations: 88.92 kB / 0.6865 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003759/0.5466, allocations: 352 kB / 0.6868 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.5467, allocations: 36.67 kB / 0.6869 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.5468, allocations: 236 kB / 0.6871 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.795e-05/0.5469, allocations: 103.9 kB / 0.6872 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.5471, allocations: 80.94 kB / 0.6873 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.5472, allocations: 348.5 kB / 0.6876 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/0.5475, allocations: 103.5 kB / 0.6877 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/0.5478, allocations: 161.1 kB / 0.6879 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004993/0.5483, allocations: 259.7 kB / 0.6881 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.5483, allocations: 0 / 0.6881 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000659/0.5489, allocations: 357.2 kB / 0.6885 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.549, allocations: 5.781 kB / 0.6885 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.549, allocations: 1.281 kB / 0.6885 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.549, allocations: 3.812 kB / 0.6885 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002754/0.5493, allocations: 65.38 kB / 0.6885 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/0.5493, allocations: 2.594 kB / 0.6885 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.5495, allocations: 41.98 kB / 0.6886 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.5495, allocations: 17.11 kB / 0.6886 GB, free: 7.465 MB / 0.5137 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.0002009/0.5498, allocations: 179.6 kB / 0.6888 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.198e-05/0.5498, allocations: 37.72 kB / 0.6888 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.971e-05/0.5499, allocations: 46.03 kB / 0.6888 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.5499, allocations: 3.156 kB / 0.6888 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/0.5499, allocations: 0 / 0.6888 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.5499, allocations: 0 / 0.6888 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.5511, allocations: 0.8123 MB / 0.6896 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.5512, allocations: 0 / 0.6896 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/0.5514, allocations: 49.59 kB / 0.6897 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.5514, allocations: 0 / 0.6897 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.5515, allocations: 10.69 kB / 0.6897 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.5515, allocations: 1.156 kB / 0.6897 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.5515, allocations: 1.25 kB / 0.6897 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009417/0.5524, allocations: 0.525 MB / 0.6902 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.5526, allocations: 145.2 kB / 0.6903 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.981e-05/0.5526, allocations: 6.906 kB / 0.6904 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.5528, allocations: 15.55 kB / 0.6904 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.484e-05/0.5529, allocations: 27.84 kB / 0.6904 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.5529, allocations: 13.95 kB / 0.6904 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002631/0.5532, allocations: 239.9 kB / 0.6906 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5532, allocations: 0 / 0.6906 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000357/0.5536, allocations: 93.22 kB / 0.6907 GB, free: 5.891 MB / 0.5137 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.0001317/0.5537, allocations: 111.3 kB / 0.6908 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005478/0.5543, allocations: 268.2 kB / 0.6911 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5543, allocations: 1.312 kB / 0.6911 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002613/0.5545, allocations: 137.9 kB / 0.6912 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005327/0.5551, allocations: 83.09 kB / 0.6913 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.5566, allocations: 0.7976 MB / 0.6921 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.5571, allocations: 0.8114 MB / 0.6929 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001836/0.5572, allocations: 41.86 kB / 0.6929 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.795e-05/0.5573, allocations: 32.91 kB / 0.6929 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of SimCode: time 2.81e-07/0.5574, allocations: 4 kB / 0.6929 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of Templates: time 0.007991/0.5654, allocations: 3.703 MB / 0.6966 GB, free: 0.6055 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)