Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.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.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001219/0.001219, allocations: 187.6 kB / 17.2 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.274/1.274, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.8428/0.8428, allocations: 143 MB / 434.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 59.89 kB / 0.5148 GB, free: 15.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3371, allocations: 82.04 MB / 0.5949 GB, free: 16.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.003736/0.3409, allocations: 2.972 MB / 0.5978 GB, free: 13.22 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.3426, allocations: 0.9113 MB / 0.5987 GB, free: 12.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002974/0.3429, allocations: 16.69 kB / 0.5987 GB, free: 12.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002442/0.3431, allocations: 63.33 kB / 0.5988 GB, free: 12.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.3433, allocations: 89.98 kB / 0.5989 GB, free: 12.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005624/0.3439, allocations: 221.2 kB / 0.5991 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003991/0.3443, allocations: 491 kB / 0.5996 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003814/0.3447, allocations: 217.1 kB / 0.5998 GB, free: 11.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.3449, allocations: 188.7 kB / 0.6 GB, free: 11.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.3451, allocations: 171.1 kB / 0.6001 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.795e-05/0.3451, allocations: 44 kB / 0.6002 GB, free: 10.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.378e-05/0.3452, allocations: 47.94 kB / 0.6002 GB, free: 10.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.918e-05/0.3453, allocations: 89.11 kB / 0.6003 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001696/0.3455, allocations: 202.8 kB / 0.6005 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004165/0.3459, allocations: 0.5158 MB / 0.601 GB, free: 10 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3459, allocations: 0 / 0.601 GB, free: 10 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3459, allocations: 0.625 kB / 0.601 GB, free: 10 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.3459, allocations: 1.5 kB / 0.601 GB, free: 10 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.000985/0.3469, allocations: 0.7188 MB / 0.6017 GB, free: 9.234 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.347, allocations: 8.031 kB / 0.6017 GB, free: 9.227 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.127e-05/0.3471, allocations: 49.88 kB / 0.6017 GB, free: 9.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004851/0.3476, allocations: 388.4 kB / 0.6021 GB, free: 8.766 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.3476, allocations: 21.97 kB / 0.6021 GB, free: 8.742 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.234e-05/0.3477, allocations: 28.38 kB / 0.6022 GB, free: 8.715 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004678/0.3481, allocations: 350.3 kB / 0.6025 GB, free: 8.352 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.3482, allocations: 0 / 0.6025 GB, free: 8.352 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.969e-05/0.3482, allocations: 12 kB / 0.6025 GB, free: 8.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.3482, allocations: 8 kB / 0.6025 GB, free: 8.332 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004234/0.3486, allocations: 218.1 kB / 0.6027 GB, free: 8.117 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.3499, allocations: 1.18 MB / 0.6039 GB, free: 6.871 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004976/0.3504, allocations: 229 kB / 0.6041 GB, free: 6.641 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.3506, allocations: 118.2 kB / 0.6042 GB, free: 6.523 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.3507, allocations: 4 kB / 0.6042 GB, free: 6.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.3507, allocations: 40.22 kB / 0.6043 GB, free: 6.473 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 2.675e-06/0.3507, allocations: 3.984 kB / 0.6043 GB, free: 6.469 MB / 446.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005544/0.3513, allocations: 300.7 kB / 0.6045 GB, free: 6.172 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.3513, allocations: 110.8 kB / 0.6046 GB, free: 6.039 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.3516, allocations: 335 kB / 0.605 GB, free: 5.703 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.3516, allocations: 33.7 kB / 0.605 GB, free: 5.664 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.3517, allocations: 217.2 kB / 0.6052 GB, free: 5.449 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/0.3517, allocations: 86.83 kB / 0.6053 GB, free: 5.363 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-05/0.3518, allocations: 46.92 kB / 0.6053 GB, free: 5.312 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.847e-05/0.3519, allocations: 346.8 kB / 0.6057 GB, free: 4.965 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.3521, allocations: 73.44 kB / 0.6057 GB, free: 4.895 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.3523, allocations: 141.1 kB / 0.6059 GB, free: 4.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003122/0.3526, allocations: 212.1 kB / 0.6061 GB, free: 4.508 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3526, allocations: 0 / 0.6061 GB, free: 4.508 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003939/0.353, allocations: 285.5 kB / 0.6063 GB, free: 4.227 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.353, allocations: 5.875 kB / 0.6064 GB, free: 4.223 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.353, allocations: 5.422 kB / 0.6064 GB, free: 4.219 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.353, allocations: 4 kB / 0.6064 GB, free: 4.215 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.3532, allocations: 55.91 kB / 0.6064 GB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.3533, allocations: 5.656 kB / 0.6064 GB, free: 4.156 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.3534, allocations: 27.83 kB / 0.6064 GB, free: 4.129 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.3534, allocations: 8 kB / 0.6065 GB, free: 4.121 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (con.hys.y,$PRE.con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001299/0.3536, allocations: 166.8 kB / 0.6066 GB, free: 3.949 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.855e-05/0.3536, allocations: 35.53 kB / 0.6066 GB, free: 3.914 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.537e-05/0.3537, allocations: 48.06 kB / 0.6067 GB, free: 3.859 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.3537, allocations: 1.469 kB / 0.6067 GB, free: 3.859 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3537, allocations: 3.938 kB / 0.6067 GB, free: 3.855 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3537, allocations: 0 / 0.6067 GB, free: 3.855 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002966/0.354, allocations: 393.2 kB / 0.6071 GB, free: 3.422 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.354, allocations: 2.812 kB / 0.6071 GB, free: 3.422 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.3542, allocations: 35.98 kB / 0.6071 GB, free: 3.387 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3542, allocations: 3.984 kB / 0.6071 GB, free: 3.383 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.3543, allocations: 12 kB / 0.6071 GB, free: 3.371 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.3543, allocations: 0 / 0.6071 GB, free: 3.371 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3543, allocations: 3.938 kB / 0.6071 GB, free: 3.367 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005256/0.3548, allocations: 429.3 kB / 0.6075 GB, free: 2.934 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.665e-05/0.3549, allocations: 129.4 kB / 0.6077 GB, free: 2.789 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.973e-05/0.3549, allocations: 8 kB / 0.6077 GB, free: 2.781 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.3551, allocations: 17.27 kB / 0.6077 GB, free: 2.766 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/0.3552, allocations: 19.97 kB / 0.6077 GB, free: 2.746 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.3552, allocations: 5.125 kB / 0.6077 GB, free: 2.742 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001729/0.3554, allocations: 239.1 kB / 0.6079 GB, free: 2.516 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3554, allocations: 0 / 0.6079 GB, free: 2.516 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000281/0.3557, allocations: 68.38 kB / 0.608 GB, free: 2.449 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 9.022e-05/0.3558, allocations: 113.5 kB / 0.6081 GB, free: 2.332 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004226/0.3562, allocations: 210.3 kB / 0.6083 GB, free: 2.129 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3562, allocations: 0.75 kB / 0.6083 GB, free: 2.129 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.3564, allocations: 104.8 kB / 0.6084 GB, free: 2.027 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004912/0.3569, allocations: 72.25 kB / 0.6085 GB, free: 1.957 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009917/0.3579, allocations: 0.7302 MB / 0.6092 GB, free: 1.227 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001635/0.3581, allocations: 0.7951 MB / 0.61 GB, free: 416 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.444e-05/0.3581, allocations: 27.44 kB / 0.61 GB, free: 388 kB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3581, allocations: 0 / 0.61 GB, free: 388 kB / 446.1 MB Notification: Performance of Templates: time 0.005765/0.3639, allocations: 4.229 MB / 0.6141 GB, free: 12.19 MB / 462.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & ./BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)