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.0008886/0.0008885, allocations: 98.88 kB / 16.02 MB, free: 76 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.0008768/0.0008768, allocations: 187 kB / 16.92 MB, free: 6.684 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.345/1.345, allocations: 223.3 MB / 241 MB, free: 5.355 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.07/1.07, allocations: 143.2 MB / 435.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003387, allocations: 8 kB / 0.517 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1902, allocations: 83.42 MB / 0.5985 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003535/0.1938, allocations: 2.781 MB / 0.6012 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001608/0.1954, allocations: 0.9117 MB / 0.6021 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002438/0.1957, allocations: 11.94 kB / 0.6021 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002076/0.1959, allocations: 51.52 kB / 0.6022 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.1961, allocations: 79.41 kB / 0.6022 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005073/0.1966, allocations: 220.3 kB / 0.6025 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004897/0.1971, allocations: 0.5036 MB / 0.6029 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004187/0.1976, allocations: 227.4 kB / 0.6032 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.1977, allocations: 151.1 kB / 0.6033 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.198, allocations: 158.9 kB / 0.6035 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.006e-05/0.198, allocations: 12 kB / 0.6035 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.768e-05/0.198, allocations: 16 kB / 0.6035 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.861e-05/0.1981, allocations: 59.64 kB / 0.6035 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001831/0.1983, allocations: 216.4 kB / 0.6038 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000403/0.1987, allocations: 463 kB / 0.6042 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1987, allocations: 0 / 0.6042 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.665e-06/0.1987, allocations: 0 / 0.6042 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.1987, allocations: 0 / 0.6042 GB, free: 1.863 MB / 0.4981 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.001124/0.1999, allocations: 0.696 MB / 0.6049 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.1999, allocations: 8.031 kB / 0.6049 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.2, allocations: 56.36 kB / 0.6049 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006055/0.2007, allocations: 412.6 kB / 0.6053 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.9e-05/0.2007, allocations: 29.38 kB / 0.6054 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.286e-05/0.2008, allocations: 36.38 kB / 0.6054 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000722/0.2015, allocations: 405.9 kB / 0.6058 GB, free: 136 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.2015, allocations: 0 / 0.6058 GB, free: 136 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.484e-05/0.2016, allocations: 16 kB / 0.6058 GB, free: 120 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.2016, allocations: 8 kB / 0.6058 GB, free: 112 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3396/0.5412, allocations: 266.4 kB / 0.6061 GB, free: 41.15 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002029/0.5433, allocations: 1.326 MB / 0.6073 GB, free: 40.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006438/0.5439, allocations: 317.6 kB / 0.6077 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/0.5442, allocations: 142 kB / 0.6078 GB, free: 40.53 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.5442, allocations: 5.219 kB / 0.6078 GB, free: 40.53 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003644/0.5446, allocations: 178.1 kB / 0.608 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/0.5446, allocations: 3.375 kB / 0.608 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0007409/0.5454, allocations: 391 kB / 0.6083 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.5454, allocations: 85.23 kB / 0.6084 GB, free: 40.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003/0.5457, allocations: 346.7 kB / 0.6087 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.5457, allocations: 39.89 kB / 0.6088 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.5459, allocations: 230.4 kB / 0.609 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.109e-05/0.5459, allocations: 111.9 kB / 0.6091 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.573e-05/0.546, allocations: 42.38 kB / 0.6092 GB, free: 39.97 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.125e-05/0.5461, allocations: 349.3 kB / 0.6095 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.5463, allocations: 100.4 kB / 0.6096 GB, free: 39.65 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.5465, allocations: 175.7 kB / 0.6098 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004188/0.5469, allocations: 258.6 kB / 0.61 GB, free: 39.53 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.5469, allocations: 3.688 kB / 0.61 GB, free: 39.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005322/0.5475, allocations: 353.5 kB / 0.6103 GB, free: 39.46 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.5475, allocations: 11.34 kB / 0.6103 GB, free: 39.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.5475, allocations: 0 / 0.6103 GB, free: 39.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.5475, allocations: 3.688 kB / 0.6104 GB, free: 39.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.5478, allocations: 77.53 kB / 0.6104 GB, free: 39.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.5478, allocations: 2.75 kB / 0.6104 GB, free: 39.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.548, allocations: 40.11 kB / 0.6105 GB, free: 39.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.5481, allocations: 15.06 kB / 0.6105 GB, free: 39.43 MB / 0.4981 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.0001613/0.5482, allocations: 174.1 kB / 0.6106 GB, free: 39.31 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.245e-05/0.5483, allocations: 41.62 kB / 0.6107 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.738e-05/0.5484, allocations: 45.47 kB / 0.6107 GB, free: 39.28 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.5484, allocations: 5.562 kB / 0.6107 GB, free: 39.28 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.5484, allocations: 0 / 0.6107 GB, free: 39.28 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.5484, allocations: 5.062 kB / 0.6107 GB, free: 39.28 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009321/0.5493, allocations: 0.8115 MB / 0.6115 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.5493, allocations: 0 / 0.6115 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/0.5496, allocations: 51.8 kB / 0.6116 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.5496, allocations: 2.844 kB / 0.6116 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.5496, allocations: 9.672 kB / 0.6116 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.5496, allocations: 0 / 0.6116 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5496, allocations: 0 / 0.6116 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007214/0.5504, allocations: 0.5307 MB / 0.6121 GB, free: 38.79 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.209e-05/0.5505, allocations: 132.5 kB / 0.6122 GB, free: 38.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.519e-05/0.5505, allocations: 12.78 kB / 0.6123 GB, free: 38.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.5507, allocations: 21.2 kB / 0.6123 GB, free: 38.67 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.909e-05/0.5508, allocations: 28.97 kB / 0.6123 GB, free: 38.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.5508, allocations: 9.75 kB / 0.6123 GB, free: 38.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001986/0.551, allocations: 240.9 kB / 0.6125 GB, free: 38.58 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.551, allocations: 0 / 0.6125 GB, free: 38.58 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003257/0.5513, allocations: 87.59 kB / 0.6126 GB, free: 38.57 MB / 0.4981 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.0001023/0.5515, allocations: 114.8 kB / 0.6127 GB, free: 38.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000505/0.552, allocations: 274.1 kB / 0.613 GB, free: 38.46 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.552, allocations: 0.75 kB / 0.613 GB, free: 38.46 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002548/0.5522, allocations: 129.5 kB / 0.6131 GB, free: 38.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000558/0.5528, allocations: 85.58 kB / 0.6132 GB, free: 38.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.5542, allocations: 1.043 MB / 0.6142 GB, free: 37.85 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.5544, allocations: 0.8134 MB / 0.615 GB, free: 37.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.5546, allocations: 31.88 kB / 0.615 GB, free: 37.14 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.5546, allocations: 0 / 0.615 GB, free: 37.14 MB / 0.4981 GB Notification: Performance of Templates: time 0.006577/0.5611, allocations: 4.778 MB / 0.6197 GB, free: 36.82 MB / 0.4981 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)