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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.0009636/0.0009637, allocations: 100 kB / 15.05 MB, free: 1.105 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.001/0.001, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.02/1.02, allocations: 143.3 MB / 434.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003387, allocations: 11.98 kB / 0.5158 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1951, allocations: 83.4 MB / 0.5973 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.004321/0.1994, allocations: 3.659 MB / 0.6008 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00286/0.2023, allocations: 1.442 MB / 0.6022 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004324/0.2028, allocations: 31.81 kB / 0.6023 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001377/0.2029, allocations: 63.19 kB / 0.6023 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007027/0.2036, allocations: 251 kB / 0.6026 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.2048, allocations: 0.5207 MB / 0.6031 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001188/0.206, allocations: 0.7782 MB / 0.6038 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005259/0.2065, allocations: 343.4 kB / 0.6042 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004998/0.207, allocations: 374.2 kB / 0.6045 GB, free: 376 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003839/0.2074, allocations: 337.9 kB / 0.6048 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.126e-05/0.2075, allocations: 24 kB / 0.6049 GB, free: 12 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.308/0.5156, allocations: 24.89 kB / 0.6049 GB, free: 35.86 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003429/0.5159, allocations: 130.3 kB / 0.605 GB, free: 35.86 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003147/0.5163, allocations: 173.8 kB / 0.6052 GB, free: 35.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007525/0.517, allocations: 0.8527 MB / 0.606 GB, free: 35.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.517, allocations: 0 / 0.606 GB, free: 35.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.924e-06/0.517, allocations: 0 / 0.606 GB, free: 35.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.179e-05/0.5171, allocations: 0.7812 kB / 0.606 GB, free: 35.77 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.002068/0.5191, allocations: 1.251 MB / 0.6072 GB, free: 35.05 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.5192, allocations: 8.125 kB / 0.6072 GB, free: 35.05 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000167/0.5194, allocations: 123.3 kB / 0.6074 GB, free: 34.99 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.5204, allocations: 0.6924 MB / 0.608 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.094e-05/0.5205, allocations: 82.86 kB / 0.6081 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.537e-05/0.5206, allocations: 74.12 kB / 0.6082 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.5218, allocations: 0.7327 MB / 0.6089 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.5218, allocations: 5.031 kB / 0.6089 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.795e-05/0.5219, allocations: 29.16 kB / 0.6089 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.5219, allocations: 16.31 kB / 0.609 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.523, allocations: 0.5232 MB / 0.6095 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003389/0.5264, allocations: 2.289 MB / 0.6117 GB, free: 33.7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.5277, allocations: 0.6529 MB / 0.6123 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.737e-05/0.5278, allocations: 12.34 kB / 0.6123 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000666/0.5284, allocations: 322.9 kB / 0.6127 GB, free: 33.61 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 3.126e-06/0.5285, allocations: 0 / 0.6127 GB, free: 33.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.001618/0.5301, allocations: 0.771 MB / 0.6134 GB, free: 33.51 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.5301, allocations: 86.55 kB / 0.6135 GB, free: 33.42 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007194/0.5309, allocations: 0.743 MB / 0.6142 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.225e-05/0.5309, allocations: 38.48 kB / 0.6143 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003085/0.5312, allocations: 441.6 kB / 0.6147 GB, free: 33.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.5314, allocations: 208.6 kB / 0.6149 GB, free: 32.97 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.5314, allocations: 13.23 kB / 0.6149 GB, free: 32.97 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.281e-05/0.5315, allocations: 328.5 kB / 0.6152 GB, free: 32.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004347/0.5319, allocations: 207.2 kB / 0.6154 GB, free: 32.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004663/0.5324, allocations: 305.5 kB / 0.6157 GB, free: 32.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004334/0.5329, allocations: 237.4 kB / 0.6159 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5329, allocations: 4.609 kB / 0.6159 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001083/0.534, allocations: 0.6593 MB / 0.6166 GB, free: 32.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002217/0.5342, allocations: 0.8786 MB / 0.6174 GB, free: 31.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.5342, allocations: 4.047 kB / 0.6174 GB, free: 31.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.5342, allocations: 9.844 kB / 0.6174 GB, free: 31.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006306/0.5349, allocations: 150.5 kB / 0.6176 GB, free: 31.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.5349, allocations: 8.625 kB / 0.6176 GB, free: 31.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004173/0.5353, allocations: 70.45 kB / 0.6177 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.179e-05/0.5354, allocations: 18.56 kB / 0.6177 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.5354, allocations: 10.47 kB / 0.6177 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009108/0.5363, allocations: 0.5179 MB / 0.6182 GB, free: 31.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.5363, allocations: 4.031 kB / 0.6182 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.743e-06/0.5363, allocations: 8.219 kB / 0.6182 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000574/0.5369, allocations: 142 kB / 0.6183 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.5369, allocations: 12.14 kB / 0.6183 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003733/0.5373, allocations: 69.58 kB / 0.6184 GB, free: 31.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.371e-05/0.5374, allocations: 21.34 kB / 0.6184 GB, free: 31.45 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,$whenCondition2,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003692/0.5377, allocations: 307.6 kB / 0.6187 GB, free: 31.26 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.5378, allocations: 94.16 kB / 0.6188 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001625/0.538, allocations: 100.4 kB / 0.6189 GB, free: 31.19 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.538, allocations: 5.562 kB / 0.6189 GB, free: 31.19 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/0.538, allocations: 2.906 kB / 0.6189 GB, free: 31.19 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.5381, allocations: 3.281 kB / 0.6189 GB, free: 31.19 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/0.5399, allocations: 1.453 MB / 0.6203 GB, free: 30.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.5399, allocations: 0 / 0.6203 GB, free: 30.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005218/0.5404, allocations: 110.9 kB / 0.6204 GB, free: 30.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.5405, allocations: 0 / 0.6204 GB, free: 30.85 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.539e-05/0.5405, allocations: 17.69 kB / 0.6205 GB, free: 30.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.5405, allocations: 3.094 kB / 0.6205 GB, free: 30.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5405, allocations: 0 / 0.6205 GB, free: 30.85 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.542, allocations: 0.9726 MB / 0.6214 GB, free: 30.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000232/0.5422, allocations: 226.5 kB / 0.6216 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.953e-05/0.5423, allocations: 15.56 kB / 0.6216 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004232/0.5427, allocations: 48.09 kB / 0.6217 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.067e-05/0.5428, allocations: 35.16 kB / 0.6217 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.5429, allocations: 20.69 kB / 0.6217 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005092/0.5434, allocations: 0.5148 MB / 0.6222 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5434, allocations: 0 / 0.6222 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006817/0.5441, allocations: 276.1 kB / 0.6225 GB, free: 30.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001342/0.5442, allocations: 117.2 kB / 0.6226 GB, free: 30.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001368/0.5456, allocations: 0.7995 MB / 0.6234 GB, free: 30.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5456, allocations: 3.766 kB / 0.6234 GB, free: 30.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004357/0.546, allocations: 271.7 kB / 0.6237 GB, free: 30.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009688/0.547, allocations: 228.3 kB / 0.6239 GB, free: 30.22 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.5494, allocations: 1.826 MB / 0.6257 GB, free: 29.28 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.5498, allocations: 1.011 MB / 0.6267 GB, free: 28.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004753/0.5503, allocations: 121 kB / 0.6268 GB, free: 28.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.5505, allocations: 62.34 kB / 0.6268 GB, free: 28.54 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.5505, allocations: 0 / 0.6268 GB, free: 28.54 MB / 0.4981 GB Notification: Performance of Templates: time 0.01361/0.5641, allocations: 8.391 MB / 0.635 GB, free: 28.03 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: