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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.001313/0.001313, allocations: 105.7 kB / 15.98 MB, free: 5.895 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.001325/0.001325, allocations: 195.3 kB / 16.91 MB, free: 5.746 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.445/1.445, allocations: 222.9 MB / 240.6 MB, free: 4.512 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.077/1.077, allocations: 143.3 MB / 434 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001889, allocations: 67.89 kB / 0.5146 GB, free: 11.81 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1865, allocations: 82.03 MB / 0.5947 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.006871/0.1934, allocations: 4.324 MB / 0.5989 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003693/0.1972, allocations: 1.535 MB / 0.6004 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000871/0.1981, allocations: 35.81 kB / 0.6004 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005722/0.1987, allocations: 122.8 kB / 0.6006 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.1997, allocations: 174.8 kB / 0.6007 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.2013, allocations: 0.6181 MB / 0.6013 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001588/0.2029, allocations: 1.226 MB / 0.6025 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008113/0.2037, allocations: 0.4962 MB / 0.603 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007296/0.2044, allocations: 465.8 kB / 0.6035 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005829/0.205, allocations: 461.4 kB / 0.6039 GB, free: 240 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.2052, allocations: 104 kB / 0.604 GB, free: 136 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.2053, allocations: 100 kB / 0.6041 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.2845/0.4899, allocations: 236.6 kB / 0.6043 GB, free: 38.53 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004811/0.4904, allocations: 484.5 kB / 0.6048 GB, free: 38.46 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008834/0.4913, allocations: 0.9059 MB / 0.6057 GB, free: 38.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.4913, allocations: 0 / 0.6057 GB, free: 38.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4913, allocations: 0 / 0.6057 GB, free: 38.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.888e-05/0.4913, allocations: 0 / 0.6057 GB, free: 38.41 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.002194/0.4935, allocations: 1.401 MB / 0.607 GB, free: 37.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.4936, allocations: 8.844 kB / 0.607 GB, free: 37.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001745/0.4938, allocations: 123.4 kB / 0.6072 GB, free: 37.6 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009984/0.4948, allocations: 0.724 MB / 0.6079 GB, free: 37.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.291e-05/0.4949, allocations: 80.67 kB / 0.6079 GB, free: 37.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.495, allocations: 72.28 kB / 0.608 GB, free: 37.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.4961, allocations: 0.7368 MB / 0.6087 GB, free: 37.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.4961, allocations: 1.25 kB / 0.6087 GB, free: 37.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.92e-05/0.4962, allocations: 31.53 kB / 0.6088 GB, free: 37.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.4962, allocations: 17.53 kB / 0.6088 GB, free: 37.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009261/0.4971, allocations: 0.5197 MB / 0.6093 GB, free: 37.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002842/0.5, allocations: 2.269 MB / 0.6115 GB, free: 36.29 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.5012, allocations: 0.6206 MB / 0.6121 GB, free: 36.26 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004433/0.5017, allocations: 282.1 kB / 0.6124 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.633e-05/0.5017, allocations: 10.56 kB / 0.6124 GB, free: 36.24 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007063/0.5024, allocations: 326.2 kB / 0.6127 GB, free: 36.19 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 2.815e-06/0.5025, allocations: 0 / 0.6127 GB, free: 36.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.001446/0.5039, allocations: 0.7534 MB / 0.6134 GB, free: 36.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.504, allocations: 83.83 kB / 0.6135 GB, free: 36 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007521/0.5047, allocations: 0.757 MB / 0.6143 GB, free: 35.86 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.885e-05/0.5048, allocations: 35.33 kB / 0.6143 GB, free: 35.83 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002355/0.505, allocations: 440.4 kB / 0.6147 GB, free: 35.51 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.5052, allocations: 210.4 kB / 0.6149 GB, free: 35.35 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.5053, allocations: 118.6 kB / 0.615 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.711e-05/0.5054, allocations: 326.1 kB / 0.6153 GB, free: 34.97 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003887/0.5058, allocations: 206.1 kB / 0.6155 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004142/0.5062, allocations: 305.4 kB / 0.6158 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007963/0.507, allocations: 0.5069 MB / 0.6163 GB, free: 34.44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.507, allocations: 3.406 kB / 0.6163 GB, free: 34.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001068/0.5081, allocations: 0.6463 MB / 0.6169 GB, free: 34.17 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.5081, allocations: 5.875 kB / 0.617 GB, free: 34.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.5081, allocations: 2.906 kB / 0.617 GB, free: 34.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.5082, allocations: 5.656 kB / 0.617 GB, free: 34.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005997/0.5088, allocations: 149.3 kB / 0.6171 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.5088, allocations: 9.156 kB / 0.6171 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004193/0.5092, allocations: 78.7 kB / 0.6172 GB, free: 34.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/0.5093, allocations: 21.09 kB / 0.6172 GB, free: 34.11 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005328/0.5098, allocations: 353.6 kB / 0.6175 GB, free: 33.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000386/0.5102, allocations: 292.5 kB / 0.6178 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007203/0.5109, allocations: 496.4 kB / 0.6183 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.036e-06/0.5109, allocations: 3.938 kB / 0.6183 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.00101/0.5119, allocations: 0.6281 MB / 0.6189 GB, free: 33.19 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.512, allocations: 4.969 kB / 0.6189 GB, free: 33.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.512, allocations: 2.656 kB / 0.6189 GB, free: 33.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.131e-06/0.512, allocations: 9.969 kB / 0.6189 GB, free: 33.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005504/0.5125, allocations: 144.6 kB / 0.6191 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.5126, allocations: 3.125 kB / 0.6191 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003936/0.513, allocations: 55.48 kB / 0.6191 GB, free: 33.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-05/0.513, allocations: 30.94 kB / 0.6192 GB, free: 33.14 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.0001651/0.5132, allocations: 207.7 kB / 0.6194 GB, free: 32.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.5133, allocations: 99.66 kB / 0.6194 GB, free: 32.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001864/0.5135, allocations: 105.1 kB / 0.6195 GB, free: 32.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.5135, allocations: 5.656 kB / 0.6196 GB, free: 32.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/0.5135, allocations: 0.5625 kB / 0.6196 GB, free: 32.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.535e-06/0.5135, allocations: 7.219 kB / 0.6196 GB, free: 32.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/0.5153, allocations: 1.433 MB / 0.621 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.5154, allocations: 0.6875 kB / 0.621 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005216/0.5159, allocations: 105.7 kB / 0.6211 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.5159, allocations: 7.094 kB / 0.6211 GB, free: 32.08 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.065e-05/0.5159, allocations: 19 kB / 0.6211 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.516, allocations: 3.609 kB / 0.6211 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.516, allocations: 3.438 kB / 0.6211 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/0.5174, allocations: 0.9554 MB / 0.622 GB, free: 31.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002202/0.5176, allocations: 230.8 kB / 0.6222 GB, free: 31.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.987e-05/0.5177, allocations: 10.81 kB / 0.6223 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004183/0.5181, allocations: 32.5 kB / 0.6223 GB, free: 31.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.741e-05/0.5182, allocations: 33.83 kB / 0.6223 GB, free: 31.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.713e-05/0.5183, allocations: 20.36 kB / 0.6223 GB, free: 31.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005103/0.5188, allocations: 0.5152 MB / 0.6228 GB, free: 31.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5188, allocations: 0 / 0.6228 GB, free: 31.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006976/0.5195, allocations: 285.4 kB / 0.6231 GB, free: 31.08 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 0.0001228/0.5196, allocations: 117.6 kB / 0.6232 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001562/0.5212, allocations: 0.8268 MB / 0.624 GB, free: 30.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5212, allocations: 0.9375 kB / 0.624 GB, free: 30.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004164/0.5216, allocations: 268.4 kB / 0.6243 GB, free: 30.65 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.5227, allocations: 269.2 kB / 0.6245 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002265/0.525, allocations: 1.936 MB / 0.6264 GB, free: 29.37 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.5254, allocations: 0.9973 MB / 0.6274 GB, free: 28.65 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002357/0.5256, allocations: 66.12 kB / 0.6275 GB, free: 28.65 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.5256, allocations: 0 / 0.6275 GB, free: 28.65 MB / 0.4981 GB Notification: Performance of Templates: time 0.01581/0.5414, allocations: 10.92 MB / 0.6381 GB, free: 27.52 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)