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.0008589/0.0008589, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008928/0.0008928, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.169/1.169, allocations: 223.3 MB / 240 MB, free: 5.41 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.8694/0.8694, allocations: 143.2 MB / 434.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002771/0.0002772, allocations: 12 kB / 0.5158 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1361, allocations: 83.4 MB / 0.5972 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.002744/0.1389, allocations: 2.662 MB / 0.5998 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.1401, allocations: 0.9003 MB / 0.6007 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.1403, allocations: 11.94 kB / 0.6007 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.1404, allocations: 51.5 kB / 0.6008 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001386/0.1406, allocations: 67.42 kB / 0.6008 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003899/0.141, allocations: 163.2 kB / 0.601 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00041/0.1414, allocations: 499.7 kB / 0.6015 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002648/0.1417, allocations: 175.7 kB / 0.6016 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.1418, allocations: 139.2 kB / 0.6018 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.142, allocations: 151.1 kB / 0.6019 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.288e-05/0.1421, allocations: 12 kB / 0.6019 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.165e-05/0.1421, allocations: 16 kB / 0.6019 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.764e-05/0.1422, allocations: 55.7 kB / 0.602 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.923e-05/0.1422, allocations: 105.5 kB / 0.6021 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003486/0.1426, allocations: 466.9 kB / 0.6025 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1426, allocations: 0 / 0.6025 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1426, allocations: 0 / 0.6025 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.1426, allocations: 0 / 0.6025 GB, free: 2.613 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.0008823/0.1435, allocations: 0.6959 MB / 0.6032 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.733e-05/0.1435, allocations: 8.031 kB / 0.6032 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.305e-05/0.1436, allocations: 51.44 kB / 0.6033 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004646/0.1441, allocations: 399.5 kB / 0.6037 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.988e-05/0.1441, allocations: 36.97 kB / 0.6037 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.83e-05/0.1442, allocations: 36 kB / 0.6037 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005777/0.1448, allocations: 405.6 kB / 0.6041 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.1448, allocations: 0 / 0.6041 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.254e-05/0.1448, allocations: 16 kB / 0.6041 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.1449, allocations: 12 kB / 0.6041 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004709/0.1453, allocations: 263.8 kB / 0.6044 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2317/0.3771, allocations: 1.32 MB / 0.6057 GB, free: 40.44 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005022/0.3776, allocations: 312.2 kB / 0.606 GB, free: 40.42 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.3778, allocations: 142.5 kB / 0.6061 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.3778, allocations: 9.547 kB / 0.6061 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002781/0.3781, allocations: 176 kB / 0.6063 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.204e-06/0.3781, allocations: 0 / 0.6063 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0006162/0.3788, allocations: 390.5 kB / 0.6067 GB, free: 40.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.3788, allocations: 87.58 kB / 0.6067 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002446/0.379, allocations: 348.9 kB / 0.6071 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.3791, allocations: 35.7 kB / 0.6071 GB, free: 40.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.551e-05/0.3792, allocations: 232.1 kB / 0.6073 GB, free: 39.97 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.738e-05/0.3792, allocations: 104.8 kB / 0.6074 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.359e-05/0.3792, allocations: 5.531 kB / 0.6074 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.359e-05/0.3793, allocations: 350.1 kB / 0.6078 GB, free: 39.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.3795, allocations: 105.9 kB / 0.6079 GB, free: 39.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.3797, allocations: 162.2 kB / 0.608 GB, free: 39.54 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.3798, allocations: 114.3 kB / 0.6081 GB, free: 39.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3799, allocations: 0 / 0.6081 GB, free: 39.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004376/0.3803, allocations: 356.5 kB / 0.6085 GB, free: 39.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.3803, allocations: 5.438 kB / 0.6085 GB, free: 39.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.3803, allocations: 3.844 kB / 0.6085 GB, free: 39.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.3803, allocations: 3.984 kB / 0.6085 GB, free: 39.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.3806, allocations: 66.55 kB / 0.6086 GB, free: 39.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.3806, allocations: 5.656 kB / 0.6086 GB, free: 39.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.3807, allocations: 41.98 kB / 0.6086 GB, free: 39.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.3808, allocations: 18.7 kB / 0.6086 GB, free: 39.46 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 ($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.0001241/0.3809, allocations: 177 kB / 0.6088 GB, free: 39.35 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.3809, allocations: 39.16 kB / 0.6088 GB, free: 39.33 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.178e-05/0.381, allocations: 42.77 kB / 0.6089 GB, free: 39.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.381, allocations: 4.969 kB / 0.6089 GB, free: 39.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.381, allocations: 3.391 kB / 0.6089 GB, free: 39.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.381, allocations: 6.328 kB / 0.6089 GB, free: 39.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007477/0.3818, allocations: 0.8135 MB / 0.6097 GB, free: 39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3818, allocations: 3.656 kB / 0.6097 GB, free: 39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/0.382, allocations: 49.8 kB / 0.6097 GB, free: 39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.382, allocations: 0 / 0.6097 GB, free: 39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.382, allocations: 6.781 kB / 0.6097 GB, free: 39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3821, allocations: 0 / 0.6097 GB, free: 39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3821, allocations: 2.625 kB / 0.6097 GB, free: 39 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000607/0.3827, allocations: 0.5228 MB / 0.6102 GB, free: 38.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-05/0.3828, allocations: 139.4 kB / 0.6104 GB, free: 38.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.3828, allocations: 10.41 kB / 0.6104 GB, free: 38.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.383, allocations: 23.05 kB / 0.6104 GB, free: 38.72 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/0.383, allocations: 27.89 kB / 0.6104 GB, free: 38.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.383, allocations: 9.656 kB / 0.6104 GB, free: 38.72 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000158/0.3832, allocations: 243.1 kB / 0.6107 GB, free: 38.63 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3832, allocations: 0 / 0.6107 GB, free: 38.63 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002838/0.3835, allocations: 84.47 kB / 0.6108 GB, free: 38.62 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 (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 7.812e-05/0.3836, allocations: 119.3 kB / 0.6109 GB, free: 38.53 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003959/0.384, allocations: 263.5 kB / 0.6111 GB, free: 38.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.384, allocations: 384 / 0.6111 GB, free: 38.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.3842, allocations: 137.3 kB / 0.6113 GB, free: 38.51 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.3846, allocations: 78.88 kB / 0.6113 GB, free: 38.51 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.3856, allocations: 0.9691 MB / 0.6123 GB, free: 37.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001634/0.3858, allocations: 0.818 MB / 0.6131 GB, free: 37.28 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001434/0.3859, allocations: 45.16 kB / 0.6131 GB, free: 37.28 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.933e-05/0.386, allocations: 30.84 kB / 0.6131 GB, free: 37.27 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.386, allocations: 0 / 0.6131 GB, free: 37.27 MB / 0.4981 GB Notification: Performance of Templates: time 0.005193/0.3912, allocations: 3.256 MB / 0.6163 GB, free: 37.11 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)