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.001115/0.001115, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001041/0.001041, allocations: 195.9 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.362/1.362, allocations: 222.9 MB / 240.6 MB, free: 4.496 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.007/1.007, allocations: 143 MB / 433.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 63.91 kB / 0.5143 GB, free: 11.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1838, allocations: 82.04 MB / 0.5944 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.005772/0.1896, allocations: 4.32 MB / 0.5987 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003931/0.1936, allocations: 1.531 MB / 0.6002 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006111/0.1942, allocations: 39.75 kB / 0.6002 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004712/0.1947, allocations: 122.9 kB / 0.6003 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006565/0.1954, allocations: 178.7 kB / 0.6005 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.1968, allocations: 0.6149 MB / 0.6011 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001373/0.1982, allocations: 1.222 MB / 0.6023 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007971/0.199, allocations: 0.5079 MB / 0.6028 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006214/0.1996, allocations: 457.8 kB / 0.6032 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005118/0.2002, allocations: 461.4 kB / 0.6036 GB, free: 428 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.2003, allocations: 104 kB / 0.6037 GB, free: 324 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.2005, allocations: 104 kB / 0.6038 GB, free: 220 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.3273/0.5277, allocations: 233.7 kB / 0.6041 GB, free: 38.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006888/0.5285, allocations: 490.1 kB / 0.6045 GB, free: 38.37 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009735/0.5295, allocations: 0.8944 MB / 0.6054 GB, free: 38.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.5295, allocations: 3.625 kB / 0.6054 GB, free: 38.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5295, allocations: 0 / 0.6054 GB, free: 38.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.491e-05/0.5295, allocations: 2.406 kB / 0.6054 GB, free: 38.32 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.002112/0.5316, allocations: 1.401 MB / 0.6068 GB, free: 37.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.5317, allocations: 12.34 kB / 0.6068 GB, free: 37.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001951/0.5319, allocations: 123.8 kB / 0.6069 GB, free: 37.51 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.5329, allocations: 0.7225 MB / 0.6076 GB, free: 37.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-05/0.533, allocations: 83.33 kB / 0.6077 GB, free: 37.14 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.691e-05/0.5331, allocations: 67.09 kB / 0.6078 GB, free: 37.14 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.5342, allocations: 0.7412 MB / 0.6085 GB, free: 37 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.5342, allocations: 0.5625 kB / 0.6085 GB, free: 37 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.305e-05/0.5343, allocations: 30.41 kB / 0.6085 GB, free: 37 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.5343, allocations: 18.94 kB / 0.6085 GB, free: 37 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009553/0.5353, allocations: 0.5191 MB / 0.609 GB, free: 37 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00294/0.5382, allocations: 2.275 MB / 0.6113 GB, free: 36.2 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.5395, allocations: 0.6214 MB / 0.6119 GB, free: 36.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004338/0.5399, allocations: 276.3 kB / 0.6121 GB, free: 36.15 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.271e-05/0.54, allocations: 9.5 kB / 0.6121 GB, free: 36.15 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006794/0.5407, allocations: 321 kB / 0.6125 GB, free: 36.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 2.635e-06/0.5407, allocations: 2.594 kB / 0.6125 GB, free: 36.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.001431/0.5421, allocations: 0.7559 MB / 0.6132 GB, free: 36 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.5422, allocations: 85.89 kB / 0.6133 GB, free: 35.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000721/0.5429, allocations: 0.7521 MB / 0.614 GB, free: 35.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.824e-05/0.543, allocations: 38.33 kB / 0.614 GB, free: 35.74 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002694/0.5432, allocations: 438.2 kB / 0.6145 GB, free: 35.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.5434, allocations: 210.8 kB / 0.6147 GB, free: 35.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.5436, allocations: 107.1 kB / 0.6148 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.379e-05/0.5437, allocations: 330.5 kB / 0.6151 GB, free: 34.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003994/0.5441, allocations: 215.9 kB / 0.6153 GB, free: 34.87 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004426/0.5445, allocations: 300.7 kB / 0.6156 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007991/0.5453, allocations: 0.5009 MB / 0.6161 GB, free: 34.42 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.5453, allocations: 6.719 kB / 0.6161 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001044/0.5464, allocations: 0.648 MB / 0.6167 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.5464, allocations: 10.09 kB / 0.6167 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.5464, allocations: 0 / 0.6167 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.5465, allocations: 6.344 kB / 0.6167 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005946/0.547, allocations: 144.3 kB / 0.6169 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.5471, allocations: 5.812 kB / 0.6169 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004089/0.5475, allocations: 76.45 kB / 0.6169 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.842e-05/0.5475, allocations: 21.98 kB / 0.617 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005165/0.5481, allocations: 363.5 kB / 0.6173 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004265/0.5485, allocations: 286.3 kB / 0.6176 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007178/0.5492, allocations: 495.8 kB / 0.618 GB, free: 33.44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.048e-06/0.5492, allocations: 6.75 kB / 0.6181 GB, free: 33.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.0009433/0.5502, allocations: 0.63 MB / 0.6187 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.5502, allocations: 5.438 kB / 0.6187 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.5502, allocations: 3.219 kB / 0.6187 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.312e-06/0.5502, allocations: 5.438 kB / 0.6187 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005503/0.5508, allocations: 140.8 kB / 0.6188 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.5508, allocations: 6.438 kB / 0.6188 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003822/0.5512, allocations: 60.12 kB / 0.6189 GB, free: 33.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.585e-05/0.5512, allocations: 24.88 kB / 0.6189 GB, free: 33.12 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.0001642/0.5514, allocations: 218.8 kB / 0.6191 GB, free: 32.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.5515, allocations: 95.5 kB / 0.6192 GB, free: 32.87 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/0.5517, allocations: 102.9 kB / 0.6193 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.5517, allocations: 5.281 kB / 0.6193 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/0.5517, allocations: 4.5 kB / 0.6193 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.5517, allocations: 7.312 kB / 0.6193 GB, free: 32.79 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/0.5535, allocations: 1.43 MB / 0.6207 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.5536, allocations: 0.5 kB / 0.6207 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005133/0.5541, allocations: 110.8 kB / 0.6208 GB, free: 32.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.5541, allocations: 3.938 kB / 0.6208 GB, free: 32.06 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.938e-05/0.5541, allocations: 17.28 kB / 0.6208 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.5541, allocations: 3.781 kB / 0.6208 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.5542, allocations: 0 / 0.6208 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.5556, allocations: 0.9668 MB / 0.6218 GB, free: 31.56 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000191/0.5558, allocations: 219 kB / 0.622 GB, free: 31.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.834e-05/0.5559, allocations: 18.25 kB / 0.622 GB, free: 31.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004313/0.5563, allocations: 33.59 kB / 0.622 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.523e-05/0.5564, allocations: 34.64 kB / 0.6221 GB, free: 31.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.871e-05/0.5564, allocations: 19.66 kB / 0.6221 GB, free: 31.35 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005124/0.5569, allocations: 0.5182 MB / 0.6226 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.557, allocations: 0 / 0.6226 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006677/0.5576, allocations: 273.7 kB / 0.6229 GB, free: 31.06 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.0001299/0.5578, allocations: 123.5 kB / 0.623 GB, free: 30.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001592/0.5594, allocations: 0.8271 MB / 0.6238 GB, free: 30.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5594, allocations: 0 / 0.6238 GB, free: 30.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004238/0.5598, allocations: 263.4 kB / 0.624 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.5609, allocations: 274.2 kB / 0.6243 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/0.5633, allocations: 1.929 MB / 0.6262 GB, free: 29.35 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.5636, allocations: 0.9959 MB / 0.6272 GB, free: 28.63 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/0.5639, allocations: 68.31 kB / 0.6272 GB, free: 28.62 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.5639, allocations: 2.656 kB / 0.6272 GB, free: 28.62 MB / 0.4981 GB Notification: Performance of Templates: time 0.01597/0.5798, allocations: 10.93 MB / 0.6379 GB, free: 27.5 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)