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.001322/0.001322, allocations: 115.8 kB / 16.37 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.001301/0.001301, allocations: 193.4 kB / 17.31 MB, free: 5.613 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.17 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.8935/0.8935, allocations: 143 MB / 434.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.89 kB / 0.5156 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.422, allocations: 82.03 MB / 0.5957 GB, free: 16.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.003598/0.4256, allocations: 2.977 MB / 0.5986 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.4271, allocations: 0.9149 MB / 0.5995 GB, free: 12.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002549/0.4274, allocations: 13.09 kB / 0.5995 GB, free: 12.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002397/0.4276, allocations: 63.33 kB / 0.5996 GB, free: 12.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.4278, allocations: 89.05 kB / 0.5997 GB, free: 12.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004939/0.4283, allocations: 228.2 kB / 0.5999 GB, free: 11.85 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004135/0.4287, allocations: 491 kB / 0.6003 GB, free: 11.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003533/0.4291, allocations: 225.4 kB / 0.6006 GB, free: 11.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.4293, allocations: 183.1 kB / 0.6007 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.4294, allocations: 168.3 kB / 0.6009 GB, free: 10.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.431e-05/0.4295, allocations: 47.94 kB / 0.6009 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.686e-05/0.4295, allocations: 44 kB / 0.601 GB, free: 10.72 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.458e-05/0.4296, allocations: 96.53 kB / 0.6011 GB, free: 10.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.4298, allocations: 202.9 kB / 0.6013 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003792/0.4301, allocations: 0.5349 MB / 0.6018 GB, free: 9.898 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4302, allocations: 1.438 kB / 0.6018 GB, free: 9.898 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4302, allocations: 0 / 0.6018 GB, free: 9.898 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.4302, allocations: 0 / 0.6018 GB, free: 9.898 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.000906/0.4311, allocations: 0.7086 MB / 0.6025 GB, free: 9.145 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.4311, allocations: 12.02 kB / 0.6025 GB, free: 9.133 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.011e-05/0.4312, allocations: 48.38 kB / 0.6025 GB, free: 9.086 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005045/0.4317, allocations: 398.5 kB / 0.6029 GB, free: 8.664 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.4318, allocations: 26.31 kB / 0.6029 GB, free: 8.637 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.307e-05/0.4318, allocations: 28.38 kB / 0.603 GB, free: 8.609 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004478/0.4323, allocations: 339.7 kB / 0.6033 GB, free: 8.254 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.4323, allocations: 1.438 kB / 0.6033 GB, free: 8.254 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/0.4323, allocations: 12 kB / 0.6033 GB, free: 8.242 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.4323, allocations: 8 kB / 0.6033 GB, free: 8.234 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000398/0.4327, allocations: 218.9 kB / 0.6035 GB, free: 8.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.4339, allocations: 1.172 MB / 0.6047 GB, free: 6.777 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004908/0.4344, allocations: 233.5 kB / 0.6049 GB, free: 6.543 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.4346, allocations: 112.8 kB / 0.605 GB, free: 6.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.368e-05/0.4347, allocations: 9.375 kB / 0.605 GB, free: 6.422 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.4347, allocations: 34.88 kB / 0.605 GB, free: 6.379 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.372e-06/0.4347, allocations: 1.375 kB / 0.605 GB, free: 6.379 MB / 446.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005947/0.4353, allocations: 297.8 kB / 0.6053 GB, free: 6.082 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.242e-05/0.4354, allocations: 106.8 kB / 0.6054 GB, free: 5.953 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002854/0.4357, allocations: 339 kB / 0.6057 GB, free: 5.613 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.4357, allocations: 33.7 kB / 0.6058 GB, free: 5.574 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.4358, allocations: 217.5 kB / 0.606 GB, free: 5.359 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.422e-05/0.4359, allocations: 82.83 kB / 0.6061 GB, free: 5.277 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.2e-05/0.4359, allocations: 49.7 kB / 0.6061 GB, free: 5.223 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.991e-05/0.436, allocations: 348.1 kB / 0.6064 GB, free: 4.875 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.4362, allocations: 75.97 kB / 0.6065 GB, free: 4.801 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/0.4364, allocations: 142.3 kB / 0.6067 GB, free: 4.637 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.4367, allocations: 208.4 kB / 0.6069 GB, free: 4.418 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4367, allocations: 0 / 0.6069 GB, free: 4.418 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004168/0.4371, allocations: 288.3 kB / 0.6071 GB, free: 4.133 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.4371, allocations: 9.438 kB / 0.6071 GB, free: 4.125 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.4372, allocations: 0 / 0.6071 GB, free: 4.125 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.4372, allocations: 4 kB / 0.6071 GB, free: 4.121 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.4374, allocations: 53.25 kB / 0.6072 GB, free: 4.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.4374, allocations: 4 kB / 0.6072 GB, free: 4.066 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.4376, allocations: 27.83 kB / 0.6072 GB, free: 4.039 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.4376, allocations: 13.44 kB / 0.6072 GB, free: 4.027 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.0001364/0.4377, allocations: 165.7 kB / 0.6074 GB, free: 3.855 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.155e-05/0.4378, allocations: 38.19 kB / 0.6074 GB, free: 3.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.146e-05/0.4379, allocations: 39.34 kB / 0.6075 GB, free: 3.773 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.4379, allocations: 7.984 kB / 0.6075 GB, free: 3.766 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4379, allocations: 0 / 0.6075 GB, free: 3.766 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.4379, allocations: 0 / 0.6075 GB, free: 3.766 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003267/0.4383, allocations: 397.2 kB / 0.6079 GB, free: 3.328 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4383, allocations: 2.719 kB / 0.6079 GB, free: 3.328 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.4385, allocations: 43.91 kB / 0.6079 GB, free: 3.285 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4385, allocations: 4 kB / 0.6079 GB, free: 3.281 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.4385, allocations: 4 kB / 0.6079 GB, free: 3.277 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.4385, allocations: 4 kB / 0.6079 GB, free: 3.273 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4385, allocations: 0 / 0.6079 GB, free: 3.273 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005521/0.4391, allocations: 419.3 kB / 0.6083 GB, free: 2.852 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.327e-05/0.4392, allocations: 136.6 kB / 0.6084 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.182e-05/0.4392, allocations: 8.5 kB / 0.6084 GB, free: 2.691 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.4394, allocations: 12.52 kB / 0.6085 GB, free: 2.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.295e-05/0.4395, allocations: 21.25 kB / 0.6085 GB, free: 2.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.4395, allocations: 11.88 kB / 0.6085 GB, free: 2.648 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001795/0.4397, allocations: 243.2 kB / 0.6087 GB, free: 2.418 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4397, allocations: 1.719 kB / 0.6087 GB, free: 2.418 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003041/0.44, allocations: 67.78 kB / 0.6088 GB, free: 2.352 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.866e-05/0.4401, allocations: 103.8 kB / 0.6089 GB, free: 2.242 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003933/0.4405, allocations: 201.5 kB / 0.6091 GB, free: 2.047 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4405, allocations: 0.5312 kB / 0.6091 GB, free: 2.047 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.4407, allocations: 98.78 kB / 0.6092 GB, free: 1.953 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004661/0.4412, allocations: 79.44 kB / 0.6093 GB, free: 1.879 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.4422, allocations: 0.6925 MB / 0.6099 GB, free: 1.195 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001704/0.4424, allocations: 0.7938 MB / 0.6107 GB, free: 388 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001196/0.4425, allocations: 38.95 kB / 0.6107 GB, free: 352 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.647e-05/0.4426, allocations: 27.44 kB / 0.6108 GB, free: 324 kB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4426, allocations: 0 / 0.6108 GB, free: 324 kB / 446.1 MB Notification: Performance of Templates: time 0.006793/0.4494, allocations: 3.202 MB / 0.6139 GB, free: 13.18 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 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)