Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000821/0.000821, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008717/0.0008717, allocations: 172.7 kB / 15.95 MB, free: 208 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.144/1.144, allocations: 223.3 MB / 240 MB, free: 5.316 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.8497/0.8497, allocations: 143.2 MB / 434.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002583/0.0002584, allocations: 8 kB / 0.5158 GB, free: 11.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1206, allocations: 83.41 MB / 0.5972 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.379/0.4996, allocations: 192.4 MB / 0.7852 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01245/0.5121, allocations: 10.03 MB / 0.7949 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000831/0.5129, allocations: 51.62 kB / 0.795 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001214/0.5141, allocations: 0.547 MB / 0.7955 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003377/0.5175, allocations: 1.841 MB / 0.7973 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003472/0.521, allocations: 1.766 MB / 0.799 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003435/0.5245, allocations: 3.971 MB / 0.8029 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.5256, allocations: 0.9909 MB / 0.8039 GB, free: 8.902 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002287/0.5279, allocations: 1.544 MB / 0.8054 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/0.529, allocations: 1.046 MB / 0.8064 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001392/0.5292, allocations: 64 kB / 0.8065 GB, free: 6.238 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003211/0.5324, allocations: 2.246 MB / 0.8087 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003214/0.5327, allocations: 358.5 kB / 0.809 GB, free: 3.637 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002756/0.533, allocations: 336.8 kB / 0.8093 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002093/0.5351, allocations: 2.412 MB / 0.8117 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.5351, allocations: 0 / 0.8117 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5351, allocations: 0 / 0.8117 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.372e-05/0.5352, allocations: 4 kB / 0.8117 GB, free: 0.8789 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003534/0.5387, allocations: 2.044 MB / 0.8137 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 2.791e-05/0.5387, allocations: 8.031 kB / 0.8137 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002345/0.5411, allocations: 0.5792 MB / 0.8143 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001878/0.543, allocations: 1.204 MB / 0.8154 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005236/0.5435, allocations: 217.9 kB / 0.8157 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.5437, allocations: 108 kB / 0.8158 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002281/0.546, allocations: 1.345 MB / 0.8171 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.546, allocations: 3.938 kB / 0.8171 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.537e-05/0.5461, allocations: 44 kB / 0.8171 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.252e-05/0.5461, allocations: 41.95 kB / 0.8172 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002772/0.5489, allocations: 1.386 MB / 0.8185 GB, free: 9.762 MB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006847/0.5558, allocations: 5.33 MB / 0.8237 GB, free: 4.141 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002117/0.5579, allocations: 1.06 MB / 0.8247 GB, free: 3.055 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001099/0.559, allocations: 0.5588 MB / 0.8253 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009052/0.5599, allocations: 0.7747 MB / 0.8261 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001244/0.5612, allocations: 0.6405 MB / 0.8267 GB, free: 0.918 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=81): time 1.984e-06/0.5612, allocations: 0 / 0.8267 GB, free: 0.918 MB / 0.6387 GB Notification: Performance of matching and sorting (n=81): time 0.003557/0.5648, allocations: 1.644 MB / 0.8283 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.5648, allocations: 64.06 kB / 0.8283 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/0.5662, allocations: 1.302 MB / 0.8296 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.912e-05/0.5663, allocations: 53.69 kB / 0.8297 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004676/0.5668, allocations: 0.6465 MB / 0.8303 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/0.567, allocations: 288 kB / 0.8306 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.095e-05/0.5671, allocations: 20 kB / 0.8306 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.5672, allocations: 345.9 kB / 0.8309 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/0.5683, allocations: 0.5179 MB / 0.8314 GB, free: 12 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/0.5697, allocations: 0.7847 MB / 0.8322 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.5709, allocations: 0.6019 MB / 0.8328 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.5709, allocations: 0 / 0.8328 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002878/0.5738, allocations: 1.513 MB / 0.8343 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.000138/0.574, allocations: 274.6 kB / 0.8345 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.574, allocations: 4 kB / 0.8345 GB, free: 8.645 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.574, allocations: 15.98 kB / 0.8345 GB, free: 8.629 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.5755, allocations: 355.4 kB / 0.8349 GB, free: 8.281 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005813/0.5761, allocations: 1.199 MB / 0.836 GB, free: 7.035 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.5773, allocations: 237.1 kB / 0.8363 GB, free: 6.805 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.495e-05/0.5774, allocations: 51.97 kB / 0.8363 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.823e-06/0.5774, allocations: 5.406 kB / 0.8363 GB, free: 6.75 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002699/0.5801, allocations: 1.364 MB / 0.8377 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.5802, allocations: 4 kB / 0.8377 GB, free: 5.375 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.5802, allocations: 12 kB / 0.8377 GB, free: 5.363 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.5814, allocations: 327.7 kB / 0.838 GB, free: 5.043 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.5814, allocations: 12 kB / 0.838 GB, free: 5.031 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.5825, allocations: 219.4 kB / 0.8382 GB, free: 4.816 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-05/0.5826, allocations: 59.97 kB / 0.8383 GB, free: 4.758 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004477/0.5831, allocations: 408.7 kB / 0.8387 GB, free: 4.348 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.5833, allocations: 154.1 kB / 0.8388 GB, free: 4.195 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002779/0.5861, allocations: 1.366 MB / 0.8401 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.5861, allocations: 11.98 kB / 0.8401 GB, free: 2.816 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5861, allocations: 3.938 kB / 0.8402 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/0.5861, allocations: 3.984 kB / 0.8402 GB, free: 2.809 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004398/0.5905, allocations: 2.882 MB / 0.843 GB, free: 15.82 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.5906, allocations: 4 kB / 0.843 GB, free: 15.82 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.5916, allocations: 249.5 kB / 0.8432 GB, free: 15.57 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.796e-06/0.5916, allocations: 8 kB / 0.8432 GB, free: 15.57 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.59e-05/0.5917, allocations: 31.97 kB / 0.8433 GB, free: 15.54 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004942/0.5922, allocations: 1.184 MB / 0.8444 GB, free: 14.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.5922, allocations: 8 kB / 0.8444 GB, free: 14.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003743/0.5959, allocations: 2.112 MB / 0.8465 GB, free: 12.12 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004402/0.5964, allocations: 374.9 kB / 0.8468 GB, free: 11.73 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/0.5965, allocations: 27.95 kB / 0.8469 GB, free: 11.71 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.5976, allocations: 158.2 kB / 0.847 GB, free: 11.55 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.5977, allocations: 64.56 kB / 0.8471 GB, free: 11.49 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.616e-05/0.5978, allocations: 43.97 kB / 0.8471 GB, free: 11.45 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001007/0.5988, allocations: 0.8822 MB / 0.848 GB, free: 10.57 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.264e-06/0.5989, allocations: 0 / 0.848 GB, free: 10.57 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001551/0.6004, allocations: 0.7956 MB / 0.8488 GB, free: 9.773 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000812/0.6012, allocations: 476.5 kB / 0.8492 GB, free: 9.309 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004241/0.6055, allocations: 2.113 MB / 0.8513 GB, free: 7.176 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.6055, allocations: 4 kB / 0.8513 GB, free: 7.172 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001352/0.6069, allocations: 0.6455 MB / 0.8519 GB, free: 6.523 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002581/0.6094, allocations: 0.6891 MB / 0.8526 GB, free: 5.848 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004242/0.6137, allocations: 3.22 MB / 0.8557 GB, free: 2.559 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000662/0.6144, allocations: 1.223 MB / 0.8569 GB, free: 1.301 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001451/0.6158, allocations: 412.5 kB / 0.8573 GB, free: 0.9102 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003373/0.6162, allocations: 127.4 kB / 0.8574 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of SimCode: time 3.1e-07/0.6162, allocations: 4 kB / 0.8574 GB, free: 0.7812 MB / 0.67 GB Notification: Performance of Templates: time 0.2399/0.8561, allocations: 28.57 MB / 0.8853 GB, free: 203.9 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)