Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.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.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 198.3 kB / 16.79 MB, free: 6.828 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.387/1.387, allocations: 222.9 MB / 240.5 MB, free: 4.605 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 1.016/1.016, allocations: 143 MB / 433.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 59.91 kB / 0.5141 GB, free: 12.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1957, allocations: 82.03 MB / 0.5942 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID): time 0.005695/0.2014, allocations: 3.725 MB / 0.5979 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002795/0.2042, allocations: 1.301 MB / 0.5992 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003919/0.2046, allocations: 23.88 kB / 0.5992 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000337/0.205, allocations: 95.09 kB / 0.5993 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005537/0.2056, allocations: 135 kB / 0.5994 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.2069, allocations: 0.527 MB / 0.5999 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001069/0.208, allocations: 0.8979 MB / 0.6008 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005881/0.2085, allocations: 333.6 kB / 0.6011 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004123/0.209, allocations: 326.3 kB / 0.6014 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003648/0.2093, allocations: 326.1 kB / 0.6017 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.2095, allocations: 36 kB / 0.6018 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.446e-05/0.2095, allocations: 40 kB / 0.6018 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.2097, allocations: 135.3 kB / 0.6019 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003026/0.21, allocations: 341.7 kB / 0.6023 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005958/0.2106, allocations: 0.6667 MB / 0.6029 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2106, allocations: 0 / 0.6029 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2106, allocations: 0 / 0.6029 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.2106, allocations: 4 kB / 0.6029 GB, free: 1.199 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.3602/0.5708, allocations: 1.185 MB / 0.6041 GB, free: 44.05 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.733e-05/0.5709, allocations: 7.281 kB / 0.6041 GB, free: 44.05 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003585/0.5713, allocations: 94.94 kB / 0.6042 GB, free: 44.04 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.5725, allocations: 0.5921 MB / 0.6047 GB, free: 43.74 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.5726, allocations: 96 kB / 0.6048 GB, free: 43.68 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.584e-05/0.5727, allocations: 52.38 kB / 0.6049 GB, free: 43.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.5738, allocations: 0.5973 MB / 0.6055 GB, free: 43.55 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.5739, allocations: 6.875 kB / 0.6055 GB, free: 43.54 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.549e-05/0.5739, allocations: 23.69 kB / 0.6055 GB, free: 43.54 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.5739, allocations: 12.34 kB / 0.6055 GB, free: 43.54 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009318/0.5749, allocations: 427.8 kB / 0.6059 GB, free: 43.54 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002718/0.5776, allocations: 2.116 MB / 0.608 GB, free: 42.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.5787, allocations: 0.4883 MB / 0.6085 GB, free: 42.49 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003973/0.5791, allocations: 223.1 kB / 0.6087 GB, free: 42.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.912e-05/0.5792, allocations: 8.453 kB / 0.6087 GB, free: 42.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005858/0.5798, allocations: 281 kB / 0.6089 GB, free: 42.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 1.923e-06/0.5798, allocations: 0 / 0.6089 GB, free: 42.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.00131/0.5811, allocations: 0.6107 MB / 0.6095 GB, free: 42.22 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.5811, allocations: 93.05 kB / 0.6096 GB, free: 42.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006298/0.5818, allocations: 0.6127 MB / 0.6102 GB, free: 41.85 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.5818, allocations: 35.47 kB / 0.6103 GB, free: 41.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.5821, allocations: 356.6 kB / 0.6106 GB, free: 41.54 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.438e-05/0.5822, allocations: 159.8 kB / 0.6108 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.5823, allocations: 98 kB / 0.6108 GB, free: 41.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.951e-05/0.5824, allocations: 326.3 kB / 0.6112 GB, free: 41.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003931/0.5828, allocations: 183.8 kB / 0.6113 GB, free: 40.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004202/0.5832, allocations: 278 kB / 0.6116 GB, free: 40.81 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007645/0.584, allocations: 472.5 kB / 0.6121 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.584, allocations: 0.75 kB / 0.6121 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001014/0.585, allocations: 0.6032 MB / 0.6126 GB, free: 40.28 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.365e-05/0.585, allocations: 41.56 kB / 0.6127 GB, free: 40.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.5851, allocations: 2.844 kB / 0.6127 GB, free: 40.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/0.5851, allocations: 5.594 kB / 0.6127 GB, free: 40.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004474/0.5855, allocations: 105.2 kB / 0.6128 GB, free: 40.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.5856, allocations: 10.66 kB / 0.6128 GB, free: 40.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003606/0.5859, allocations: 58.95 kB / 0.6129 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/0.586, allocations: 21.78 kB / 0.6129 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004868/0.5865, allocations: 315.6 kB / 0.6132 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003775/0.5869, allocations: 264 kB / 0.6134 GB, free: 39.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006834/0.5875, allocations: 448.1 kB / 0.6139 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.475e-06/0.5876, allocations: 2.812 kB / 0.6139 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0009304/0.5885, allocations: 0.5831 MB / 0.6144 GB, free: 39.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.5885, allocations: 32.36 kB / 0.6145 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.5885, allocations: 6.078 kB / 0.6145 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.272e-06/0.5885, allocations: 6.875 kB / 0.6145 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004021/0.589, allocations: 109.8 kB / 0.6146 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.589, allocations: 3.031 kB / 0.6146 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003469/0.5893, allocations: 53.89 kB / 0.6146 GB, free: 39.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.5894, allocations: 18.44 kB / 0.6146 GB, free: 39.25 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0001658/0.5895, allocations: 216.6 kB / 0.6149 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.17e-05/0.5896, allocations: 73.28 kB / 0.6149 GB, free: 39.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.5898, allocations: 83.95 kB / 0.615 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.5898, allocations: 5.562 kB / 0.615 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.5898, allocations: 0 / 0.615 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.5898, allocations: 3.188 kB / 0.615 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006014/0.5904, allocations: 0.6207 MB / 0.6156 GB, free: 38.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.5904, allocations: 0 / 0.6156 GB, free: 38.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004301/0.5909, allocations: 86.19 kB / 0.6157 GB, free: 38.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.5909, allocations: 2.938 kB / 0.6157 GB, free: 38.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/0.5909, allocations: 11 kB / 0.6157 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.5909, allocations: 4.812 kB / 0.6157 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5909, allocations: 0 / 0.6157 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.5922, allocations: 0.7303 MB / 0.6164 GB, free: 38.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/0.5924, allocations: 194.6 kB / 0.6166 GB, free: 38.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.38e-05/0.5925, allocations: 10.44 kB / 0.6166 GB, free: 38.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003716/0.5929, allocations: 36.19 kB / 0.6167 GB, free: 38.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.422e-05/0.593, allocations: 37.39 kB / 0.6167 GB, free: 38.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.451e-05/0.593, allocations: 18.55 kB / 0.6167 GB, free: 38.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004559/0.5935, allocations: 429.8 kB / 0.6171 GB, free: 37.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.81e-07/0.5935, allocations: 4 kB / 0.6171 GB, free: 37.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005958/0.5941, allocations: 222.1 kB / 0.6173 GB, free: 37.82 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 0.0001356/0.5943, allocations: 104.4 kB / 0.6174 GB, free: 37.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001413/0.5957, allocations: 0.787 MB / 0.6182 GB, free: 37.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.5957, allocations: 0 / 0.6182 GB, free: 37.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000409/0.5961, allocations: 220.3 kB / 0.6184 GB, free: 37.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008858/0.597, allocations: 191.6 kB / 0.6186 GB, free: 37.28 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.599, allocations: 1.476 MB / 0.62 GB, free: 36.35 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.5994, allocations: 0.9127 MB / 0.6209 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.5995, allocations: 54.09 kB / 0.621 GB, free: 35.63 MB / 0.4981 GB Notification: Performance of SimCode: time 5.81e-07/0.5995, allocations: 0 / 0.621 GB, free: 35.63 MB / 0.4981 GB Notification: Performance of Templates: time 0.01211/0.6117, allocations: 8.634 MB / 0.6294 GB, free: 34.77 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1)