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.001441/0.001441, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001944/0.001944, allocations: 187.1 kB / 16.25 MB, free: 6.617 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.364/1.364, allocations: 222.9 MB / 239.9 MB, free: 4.57 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 0.921/0.921, allocations: 143 MB / 433.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 67.84 kB / 0.5137 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1457, allocations: 82.04 MB / 0.5938 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003922/0.1496, allocations: 3.166 MB / 0.5969 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001539/0.1512, allocations: 0.9272 MB / 0.5978 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000222/0.1514, allocations: 15.88 kB / 0.5978 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.1516, allocations: 47.58 kB / 0.5978 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001747/0.1518, allocations: 79.41 kB / 0.5979 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004735/0.1523, allocations: 219 kB / 0.5981 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004407/0.1528, allocations: 0.5466 MB / 0.5987 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003378/0.1531, allocations: 251.5 kB / 0.5989 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001977/0.1533, allocations: 207 kB / 0.5991 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.1535, allocations: 203 kB / 0.5993 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.074e-05/0.1536, allocations: 52 kB / 0.5993 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.254e-05/0.1536, allocations: 52 kB / 0.5994 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.614e-05/0.1537, allocations: 111.5 kB / 0.5995 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.1539, allocations: 238.7 kB / 0.5997 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004433/0.1543, allocations: 0.5958 MB / 0.6003 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1543, allocations: 0 / 0.6003 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1543, allocations: 4 kB / 0.6003 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.1544, allocations: 0 / 0.6003 GB, free: 3.238 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.001064/0.1554, allocations: 0.7621 MB / 0.6011 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.1555, allocations: 16.62 kB / 0.6011 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.587e-05/0.1556, allocations: 52.28 kB / 0.6011 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004933/0.1561, allocations: 412.5 kB / 0.6015 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.1561, allocations: 29.38 kB / 0.6015 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.437e-05/0.1562, allocations: 40.38 kB / 0.6016 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005761/0.1567, allocations: 401.9 kB / 0.602 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.1568, allocations: 0 / 0.602 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.269e-05/0.1568, allocations: 19.98 kB / 0.602 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.1568, allocations: 8 kB / 0.602 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004747/0.1573, allocations: 259.8 kB / 0.6022 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2417/0.399, allocations: 1.315 MB / 0.6035 GB, free: 43.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005903/0.3996, allocations: 310 kB / 0.6038 GB, free: 43.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.3998, allocations: 135.5 kB / 0.604 GB, free: 43.51 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.428e-05/0.3999, allocations: 4.562 kB / 0.604 GB, free: 43.51 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003451/0.4002, allocations: 177.7 kB / 0.6041 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.565e-06/0.4002, allocations: 0.9688 kB / 0.6041 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0006667/0.4009, allocations: 391.1 kB / 0.6045 GB, free: 43.42 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.401, allocations: 84.52 kB / 0.6046 GB, free: 43.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002506/0.4012, allocations: 350.7 kB / 0.6049 GB, free: 43.22 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.4013, allocations: 36.52 kB / 0.6049 GB, free: 43.19 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.4014, allocations: 236.8 kB / 0.6052 GB, free: 43.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.864e-05/0.4014, allocations: 99.17 kB / 0.6053 GB, free: 43.05 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.336e-05/0.4015, allocations: 76.59 kB / 0.6053 GB, free: 43.03 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.235e-05/0.4016, allocations: 347.2 kB / 0.6057 GB, free: 42.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.4017, allocations: 101.3 kB / 0.6058 GB, free: 42.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.4019, allocations: 172.9 kB / 0.6059 GB, free: 42.65 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003565/0.4023, allocations: 253.6 kB / 0.6062 GB, free: 42.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4023, allocations: 0 / 0.6062 GB, free: 42.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004782/0.4028, allocations: 352.6 kB / 0.6065 GB, free: 42.53 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.4028, allocations: 12.78 kB / 0.6065 GB, free: 42.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4028, allocations: 2.938 kB / 0.6065 GB, free: 42.53 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.4029, allocations: 3.812 kB / 0.6065 GB, free: 42.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.4031, allocations: 63.48 kB / 0.6066 GB, free: 42.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.4031, allocations: 8.297 kB / 0.6066 GB, free: 42.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.4033, allocations: 42.16 kB / 0.6066 GB, free: 42.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.4033, allocations: 11.81 kB / 0.6067 GB, free: 42.52 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.0001252/0.4034, allocations: 169 kB / 0.6068 GB, free: 42.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.765e-05/0.4035, allocations: 45.38 kB / 0.6069 GB, free: 42.38 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.22e-05/0.4036, allocations: 47.39 kB / 0.6069 GB, free: 42.37 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.4036, allocations: 3.438 kB / 0.6069 GB, free: 42.37 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4036, allocations: 1.422 kB / 0.6069 GB, free: 42.37 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.4036, allocations: 2.062 kB / 0.6069 GB, free: 42.37 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007781/0.4044, allocations: 0.8149 MB / 0.6077 GB, free: 42.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4044, allocations: 3.281 kB / 0.6077 GB, free: 42.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.4046, allocations: 52.27 kB / 0.6078 GB, free: 42.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.4046, allocations: 2.688 kB / 0.6078 GB, free: 42.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.4046, allocations: 6.375 kB / 0.6078 GB, free: 42.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.4046, allocations: 7.25 kB / 0.6078 GB, free: 42.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4047, allocations: 0 / 0.6078 GB, free: 42.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006243/0.4053, allocations: 0.5179 MB / 0.6083 GB, free: 41.89 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.332e-05/0.4054, allocations: 138.6 kB / 0.6084 GB, free: 41.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.236e-05/0.4054, allocations: 10.12 kB / 0.6084 GB, free: 41.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.4056, allocations: 15.7 kB / 0.6084 GB, free: 41.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/0.4057, allocations: 28.39 kB / 0.6085 GB, free: 41.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.4057, allocations: 12.62 kB / 0.6085 GB, free: 41.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00016/0.4059, allocations: 239.1 kB / 0.6087 GB, free: 41.69 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4059, allocations: 0 / 0.6087 GB, free: 41.69 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002954/0.4062, allocations: 90.31 kB / 0.6088 GB, free: 41.68 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 8.18e-05/0.4062, allocations: 110.8 kB / 0.6089 GB, free: 41.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004897/0.4067, allocations: 280.8 kB / 0.6092 GB, free: 41.51 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.4068, allocations: 0 / 0.6092 GB, free: 41.51 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.407, allocations: 137.3 kB / 0.6093 GB, free: 41.47 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.4074, allocations: 88.67 kB / 0.6094 GB, free: 41.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.4085, allocations: 0.9695 MB / 0.6103 GB, free: 40.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/0.4087, allocations: 0.8119 MB / 0.6111 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000146/0.4089, allocations: 46.19 kB / 0.6112 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.701e-05/0.4089, allocations: 30.69 kB / 0.6112 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.4089, allocations: 2.25 kB / 0.6112 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of Templates: time 0.005777/0.4147, allocations: 3.563 MB / 0.6147 GB, free: 39.94 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)