Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.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.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007972/0.0007973, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004375/0.004375, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.129/1.129, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.8227/0.8227, allocations: 143.2 MB / 434.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002513/0.0002514, allocations: 8 kB / 0.5164 GB, free: 11.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1179, allocations: 83.41 MB / 0.5978 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.003513/0.1214, allocations: 3.889 MB / 0.6016 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001942/0.1234, allocations: 1.512 MB / 0.6031 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002679/0.1236, allocations: 31.81 kB / 0.6031 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002447/0.1239, allocations: 122.8 kB / 0.6033 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004571/0.1244, allocations: 178.8 kB / 0.6034 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009438/0.1253, allocations: 0.6252 MB / 0.604 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008516/0.1262, allocations: 1.128 MB / 0.6051 GB, free: 164 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2069/0.3331, allocations: 485.7 kB / 0.6056 GB, free: 35.79 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000568/0.3336, allocations: 349 kB / 0.6059 GB, free: 35.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003227/0.334, allocations: 347.3 kB / 0.6063 GB, free: 35.6 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.3341, allocations: 26.12 kB / 0.6063 GB, free: 35.6 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.648e-05/0.3342, allocations: 31.56 kB / 0.6063 GB, free: 35.6 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.324e-05/0.3343, allocations: 141.7 kB / 0.6065 GB, free: 35.55 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002293/0.3345, allocations: 416 kB / 0.6068 GB, free: 35.35 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005637/0.3351, allocations: 1.051 MB / 0.6079 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3351, allocations: 0 / 0.6079 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.193e-06/0.3351, allocations: 4.438 kB / 0.6079 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.393e-05/0.3351, allocations: 0 / 0.6079 GB, free: 35.18 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001705/0.3368, allocations: 1.242 MB / 0.6091 GB, free: 34.47 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.3369, allocations: 10.59 kB / 0.6091 GB, free: 34.47 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.337, allocations: 123.4 kB / 0.6092 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008469/0.3379, allocations: 0.729 MB / 0.6099 GB, free: 34.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.469e-05/0.3379, allocations: 84.09 kB / 0.61 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.55e-05/0.338, allocations: 70.95 kB / 0.6101 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009783/0.339, allocations: 0.7389 MB / 0.6108 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.339, allocations: 1.969 kB / 0.6108 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.123e-05/0.3391, allocations: 34.12 kB / 0.6108 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.3391, allocations: 17.81 kB / 0.6109 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008794/0.34, allocations: 0.5288 MB / 0.6114 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002388/0.3424, allocations: 2.304 MB / 0.6136 GB, free: 33.05 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.3436, allocations: 0.6337 MB / 0.6142 GB, free: 33.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004196/0.344, allocations: 283.2 kB / 0.6145 GB, free: 33 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/0.3441, allocations: 6.312 kB / 0.6145 GB, free: 33 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005302/0.3446, allocations: 332.3 kB / 0.6148 GB, free: 32.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 1.733e-06/0.3446, allocations: 0 / 0.6148 GB, free: 32.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.001247/0.3459, allocations: 0.7706 MB / 0.6156 GB, free: 32.85 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.3459, allocations: 87.03 kB / 0.6157 GB, free: 32.76 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006546/0.3466, allocations: 0.7519 MB / 0.6164 GB, free: 32.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.227e-05/0.3466, allocations: 44.62 kB / 0.6164 GB, free: 32.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.3468, allocations: 436.5 kB / 0.6169 GB, free: 32.44 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.298e-05/0.3469, allocations: 212.5 kB / 0.6171 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.826e-05/0.347, allocations: 57.5 kB / 0.6171 GB, free: 32.29 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.191e-05/0.347, allocations: 330.8 kB / 0.6174 GB, free: 31.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003694/0.3474, allocations: 211.3 kB / 0.6176 GB, free: 31.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003902/0.3478, allocations: 316.9 kB / 0.6179 GB, free: 31.88 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007401/0.3486, allocations: 0.5172 MB / 0.6184 GB, free: 31.78 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3486, allocations: 0 / 0.6184 GB, free: 31.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009237/0.3495, allocations: 0.6655 MB / 0.6191 GB, free: 31.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.791e-05/0.3495, allocations: 155.5 kB / 0.6192 GB, free: 31.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3496, allocations: 7.453 kB / 0.6192 GB, free: 31.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3496, allocations: 9.75 kB / 0.6193 GB, free: 31.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005277/0.3501, allocations: 146.3 kB / 0.6194 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.3501, allocations: 12.05 kB / 0.6194 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00035/0.3505, allocations: 74 kB / 0.6195 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.3505, allocations: 20 kB / 0.6195 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.509e-06/0.3505, allocations: 2.969 kB / 0.6195 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007978/0.3513, allocations: 0.5275 MB / 0.62 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.3513, allocations: 3.969 kB / 0.62 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.158e-06/0.3514, allocations: 9.438 kB / 0.62 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004861/0.3518, allocations: 138.4 kB / 0.6202 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.3519, allocations: 5.75 kB / 0.6202 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003221/0.3522, allocations: 76.28 kB / 0.6202 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.3522, allocations: 18.94 kB / 0.6203 GB, free: 31.43 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0001993/0.3524, allocations: 294.8 kB / 0.6205 GB, free: 31.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.768e-05/0.3525, allocations: 102.4 kB / 0.6206 GB, free: 31.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001522/0.3527, allocations: 101.9 kB / 0.6207 GB, free: 31.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3527, allocations: 5.344 kB / 0.6207 GB, free: 31.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3527, allocations: 0 / 0.6207 GB, free: 31.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.3527, allocations: 6.016 kB / 0.6207 GB, free: 31.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.3542, allocations: 1.452 MB / 0.6222 GB, free: 30.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.3542, allocations: 7.938 kB / 0.6222 GB, free: 30.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004664/0.3547, allocations: 104.8 kB / 0.6223 GB, free: 30.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3547, allocations: 2.781 kB / 0.6223 GB, free: 30.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/0.3548, allocations: 18.17 kB / 0.6223 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.3548, allocations: 7.312 kB / 0.6223 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3548, allocations: 0 / 0.6223 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.356, allocations: 0.982 MB / 0.6233 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.3562, allocations: 222.2 kB / 0.6235 GB, free: 29.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.242e-05/0.3563, allocations: 22.11 kB / 0.6235 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003887/0.3567, allocations: 36.33 kB / 0.6235 GB, free: 29.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.277e-05/0.3567, allocations: 39.42 kB / 0.6236 GB, free: 29.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/0.3568, allocations: 18.53 kB / 0.6236 GB, free: 29.87 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000409/0.3572, allocations: 0.5182 MB / 0.6241 GB, free: 29.65 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3572, allocations: 0 / 0.6241 GB, free: 29.65 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005116/0.3577, allocations: 269.2 kB / 0.6243 GB, free: 29.58 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.713e-05/0.3578, allocations: 117.2 kB / 0.6245 GB, free: 29.49 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001214/0.359, allocations: 0.8071 MB / 0.6252 GB, free: 29.24 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.359, allocations: 0 / 0.6252 GB, free: 29.24 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003941/0.3594, allocations: 281.2 kB / 0.6255 GB, free: 29.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009647/0.3604, allocations: 250.1 kB / 0.6257 GB, free: 29.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.3621, allocations: 1.928 MB / 0.6276 GB, free: 27.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.3624, allocations: 0.9926 MB / 0.6286 GB, free: 27.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000368/0.3628, allocations: 114.6 kB / 0.6287 GB, free: 27.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.3629, allocations: 58.69 kB / 0.6288 GB, free: 27.17 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.3629, allocations: 0 / 0.6288 GB, free: 27.17 MB / 0.4981 GB Notification: Performance of Templates: time 0.01136/0.3743, allocations: 8.705 MB / 0.6373 GB, free: 26.65 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)