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.001086/0.001086, allocations: 113.2 kB / 16.37 MB, free: 6.004 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.001069/0.001069, allocations: 196 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.16 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.8737/0.8737, allocations: 143.1 MB / 434.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 59.91 kB / 0.5156 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3772, 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.003371/0.3806, allocations: 2.976 MB / 0.5986 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.3819, allocations: 0.9211 MB / 0.5995 GB, free: 12.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001981/0.3821, allocations: 11.94 kB / 0.5995 GB, free: 12.22 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001885/0.3823, allocations: 63.33 kB / 0.5996 GB, free: 12.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001514/0.3825, allocations: 87.91 kB / 0.5996 GB, free: 12.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004079/0.3829, allocations: 219.9 kB / 0.5999 GB, free: 11.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003142/0.3832, allocations: 495 kB / 0.6003 GB, free: 11.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002838/0.3835, allocations: 222.5 kB / 0.6005 GB, free: 11.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.3837, allocations: 179.1 kB / 0.6007 GB, free: 10.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.3838, allocations: 175.1 kB / 0.6009 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.06e-05/0.3839, allocations: 44 kB / 0.6009 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.061e-05/0.3839, allocations: 45.5 kB / 0.601 GB, free: 10.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.644e-05/0.384, allocations: 95.58 kB / 0.6011 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.3841, allocations: 198.9 kB / 0.6012 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003098/0.3844, allocations: 0.5387 MB / 0.6018 GB, free: 9.906 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3844, allocations: 0.75 kB / 0.6018 GB, free: 9.906 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3844, allocations: 0 / 0.6018 GB, free: 9.906 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.3844, allocations: 0.7812 kB / 0.6018 GB, free: 9.906 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.0008439/0.3853, allocations: 0.7118 MB / 0.6025 GB, free: 9.148 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.3853, allocations: 17.36 kB / 0.6025 GB, free: 9.133 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.536e-05/0.3854, allocations: 44.38 kB / 0.6025 GB, free: 9.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004722/0.3859, allocations: 397.8 kB / 0.6029 GB, free: 8.668 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.3859, allocations: 25.92 kB / 0.6029 GB, free: 8.641 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.54e-05/0.386, allocations: 28.38 kB / 0.603 GB, free: 8.613 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004537/0.3864, allocations: 344.2 kB / 0.6033 GB, free: 8.254 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.3864, allocations: 1.438 kB / 0.6033 GB, free: 8.254 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.3865, allocations: 12 kB / 0.6033 GB, free: 8.242 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.3865, allocations: 8 kB / 0.6033 GB, free: 8.234 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003901/0.3869, allocations: 219.5 kB / 0.6035 GB, free: 8.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.388, allocations: 1.171 MB / 0.6047 GB, free: 6.777 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004851/0.3885, allocations: 233.5 kB / 0.6049 GB, free: 6.547 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.3887, allocations: 114.2 kB / 0.605 GB, free: 6.434 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.3888, allocations: 4 kB / 0.605 GB, free: 6.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.48e-05/0.3888, allocations: 36.34 kB / 0.605 GB, free: 6.387 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.252e-06/0.3888, allocations: 0 / 0.605 GB, free: 6.387 MB / 446.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005546/0.3894, allocations: 301.8 kB / 0.6053 GB, free: 6.086 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.3894, allocations: 108 kB / 0.6054 GB, free: 5.957 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.3896, allocations: 337.6 kB / 0.6057 GB, free: 5.617 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.3897, allocations: 35.17 kB / 0.6058 GB, free: 5.578 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.501e-05/0.3898, allocations: 220.2 kB / 0.606 GB, free: 5.359 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.3898, allocations: 74.84 kB / 0.6061 GB, free: 5.285 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.951e-05/0.3899, allocations: 55.11 kB / 0.6061 GB, free: 5.227 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.674e-05/0.39, allocations: 342.8 kB / 0.6064 GB, free: 4.883 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.3901, allocations: 77.31 kB / 0.6065 GB, free: 4.809 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.3903, allocations: 145.4 kB / 0.6067 GB, free: 4.641 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/0.3906, allocations: 203 kB / 0.6068 GB, free: 4.426 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.3906, allocations: 4 kB / 0.6068 GB, free: 4.422 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004096/0.391, allocations: 282.7 kB / 0.6071 GB, free: 4.145 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.3911, allocations: 8 kB / 0.6071 GB, free: 4.137 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3911, allocations: 0 / 0.6071 GB, free: 4.137 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3911, allocations: 8.938 kB / 0.6071 GB, free: 4.129 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.3913, allocations: 59.91 kB / 0.6072 GB, free: 4.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.3913, allocations: 9.188 kB / 0.6072 GB, free: 4.062 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.3915, allocations: 27.83 kB / 0.6072 GB, free: 4.035 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.3915, allocations: 8.625 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.0001138/0.3916, allocations: 167.1 kB / 0.6074 GB, free: 3.855 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.003e-05/0.3917, allocations: 35.53 kB / 0.6074 GB, free: 3.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.667e-05/0.3918, allocations: 44.75 kB / 0.6075 GB, free: 3.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.3918, allocations: 4 kB / 0.6075 GB, free: 3.766 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3918, allocations: 0 / 0.6075 GB, free: 3.766 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3918, allocations: 0 / 0.6075 GB, free: 3.766 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.3921, allocations: 398.2 kB / 0.6079 GB, free: 3.328 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3921, allocations: 3.984 kB / 0.6079 GB, free: 3.324 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.3923, allocations: 40.59 kB / 0.6079 GB, free: 3.285 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3923, allocations: 0 / 0.6079 GB, free: 3.285 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.3924, allocations: 5.938 kB / 0.6079 GB, free: 3.281 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3924, allocations: 4 kB / 0.6079 GB, free: 3.277 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3924, allocations: 0 / 0.6079 GB, free: 3.277 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005599/0.3929, allocations: 427.5 kB / 0.6083 GB, free: 2.848 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.673e-05/0.393, allocations: 132.6 kB / 0.6084 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/0.3931, allocations: 8 kB / 0.6084 GB, free: 2.691 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.3933, allocations: 17.7 kB / 0.6085 GB, free: 2.676 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.496e-05/0.3933, allocations: 15.97 kB / 0.6085 GB, free: 2.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.3934, allocations: 11.94 kB / 0.6085 GB, free: 2.648 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001804/0.3935, allocations: 241.3 kB / 0.6087 GB, free: 2.422 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3935, allocations: 0 / 0.6087 GB, free: 2.422 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003007/0.3939, allocations: 67.78 kB / 0.6088 GB, free: 2.355 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 8.64e-05/0.3939, allocations: 110 kB / 0.6089 GB, free: 2.242 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003798/0.3943, allocations: 197.2 kB / 0.6091 GB, free: 2.051 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3943, allocations: 4 kB / 0.6091 GB, free: 2.047 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.3945, allocations: 97.34 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.0004762/0.395, allocations: 92.16 kB / 0.6093 GB, free: 1.867 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.396, allocations: 0.6828 MB / 0.6099 GB, free: 1.195 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001664/0.3962, allocations: 0.7935 MB / 0.6107 GB, free: 392 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001264/0.3963, allocations: 43.61 kB / 0.6107 GB, free: 352 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.45e-05/0.3964, allocations: 23.44 kB / 0.6108 GB, free: 328 kB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3964, allocations: 0 / 0.6108 GB, free: 328 kB / 446.1 MB Notification: Performance of Templates: time 0.006729/0.4031, allocations: 3.196 MB / 0.6139 GB, free: 13.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 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)