Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.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.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 88.77 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 183.2 kB / 16.92 MB, free: 6.652 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.424/1.424, allocations: 223.3 MB / 241 MB, free: 5.285 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.01/1.01, allocations: 143.2 MB / 435.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003765, allocations: 8 kB / 0.517 GB, free: 11.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1883, allocations: 83.42 MB / 0.5985 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.5607/0.7491, allocations: 195.1 MB / 0.789 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01306/0.7622, allocations: 7.658 MB / 0.7965 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001972/0.7642, allocations: 35.75 kB / 0.7965 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002124/0.7664, allocations: 0.5672 MB / 0.797 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006192/0.7726, allocations: 1.846 MB / 0.7989 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002935/0.7755, allocations: 1.061 MB / 0.7999 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004527/0.7801, allocations: 3.457 MB / 0.8033 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001465/0.7816, allocations: 0.8167 MB / 0.8041 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003372/0.7849, allocations: 1.361 MB / 0.8054 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001796/0.7868, allocations: 0.7971 MB / 0.8062 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001509/0.7869, allocations: 40 kB / 0.8062 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00382/0.7907, allocations: 1.968 MB / 0.8081 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003681/0.7911, allocations: 270.8 kB / 0.8084 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008056/0.792, allocations: 0.5573 MB / 0.8089 GB, free: 4.375 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002216/0.7942, allocations: 1.625 MB / 0.8105 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.7942, allocations: 0 / 0.8105 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7942, allocations: 0 / 0.8105 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.637e-05/0.7942, allocations: 0 / 0.8105 GB, free: 2.746 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.003448/0.7977, allocations: 1.458 MB / 0.8119 GB, free: 1.234 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.7977, allocations: 12.03 kB / 0.812 GB, free: 1.223 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002421/0.8002, allocations: 478.1 kB / 0.8124 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/0.8019, allocations: 0.9218 MB / 0.8133 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006476/0.8026, allocations: 185.9 kB / 0.8135 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.8027, allocations: 68 kB / 0.8136 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002487/0.8052, allocations: 1.134 MB / 0.8147 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.8052, allocations: 0 / 0.8147 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.032e-05/0.8053, allocations: 24 kB / 0.8147 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-05/0.8054, allocations: 45.86 kB / 0.8147 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003239/0.8086, allocations: 1.273 MB / 0.816 GB, free: 13.05 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.006403/0.8151, allocations: 4.169 MB / 0.82 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002645/0.8177, allocations: 0.9406 MB / 0.821 GB, free: 7.648 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001365/0.8191, allocations: 0.5334 MB / 0.8215 GB, free: 7.109 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008276/0.8199, allocations: 0.6487 MB / 0.8221 GB, free: 6.332 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001571/0.8215, allocations: 0.6343 MB / 0.8227 GB, free: 5.684 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=57): time 2.454e-06/0.8215, allocations: 4 kB / 0.8227 GB, free: 5.68 MB / 0.6387 GB Notification: Performance of matching and sorting (n=57): time 0.004427/0.826, allocations: 1.524 MB / 0.8242 GB, free: 4.148 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/0.8261, allocations: 85.67 kB / 0.8243 GB, free: 4.043 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.8272, allocations: 0.8317 MB / 0.8251 GB, free: 3.188 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.497e-05/0.8273, allocations: 41.7 kB / 0.8252 GB, free: 3.141 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003503/0.8276, allocations: 432.3 kB / 0.8256 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/0.8278, allocations: 193.1 kB / 0.8258 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.734e-05/0.8279, allocations: 53.69 kB / 0.8258 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.828, allocations: 333.9 kB / 0.8261 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.8293, allocations: 460.8 kB / 0.8266 GB, free: 1.684 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001376/0.8307, allocations: 0.5713 MB / 0.8271 GB, free: 1.074 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002547/0.8333, allocations: 0.9874 MB / 0.8281 GB, free: 60 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.8333, allocations: 0 / 0.8281 GB, free: 60 kB / 0.6387 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003153/0.8364, allocations: 1.167 MB / 0.8292 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001245/0.8366, allocations: 171.2 kB / 0.8294 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.8366, allocations: 7.938 kB / 0.8294 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.8366, allocations: 4 kB / 0.8294 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/0.838, allocations: 261.1 kB / 0.8296 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006922/0.8387, allocations: 1.192 MB / 0.8308 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.84, allocations: 187.2 kB / 0.831 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.05e-05/0.8401, allocations: 39.91 kB / 0.831 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.8401, allocations: 5.562 kB / 0.831 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002861/0.843, allocations: 1.053 MB / 0.8321 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.843, allocations: 4 kB / 0.8321 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.123e-06/0.843, allocations: 4 kB / 0.8321 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.8441, allocations: 223.8 kB / 0.8323 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.8441, allocations: 8.625 kB / 0.8323 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.8453, allocations: 192.4 kB / 0.8325 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-05/0.8454, allocations: 27.98 kB / 0.8325 GB, free: 11.44 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005777/0.8459, allocations: 341 kB / 0.8328 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.8461, allocations: 98.81 kB / 0.8329 GB, free: 11 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003182/0.8493, allocations: 1.203 MB / 0.8341 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.8493, allocations: 8 kB / 0.8341 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.8493, allocations: 3.984 kB / 0.8341 GB, free: 9.781 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.8493, allocations: 0 / 0.8341 GB, free: 9.781 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00461/0.8539, allocations: 2.4 MB / 0.8365 GB, free: 7.289 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.854, allocations: 4 kB / 0.8365 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.855, allocations: 220.7 kB / 0.8367 GB, free: 7.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-05/0.8551, allocations: 8 kB / 0.8367 GB, free: 7.062 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.814e-05/0.8551, allocations: 27.92 kB / 0.8367 GB, free: 7.035 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005981/0.8557, allocations: 1.188 MB / 0.8379 GB, free: 5.801 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/0.8557, allocations: 7.969 kB / 0.8379 GB, free: 5.793 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003053/0.8588, allocations: 1.294 MB / 0.8391 GB, free: 4.449 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004689/0.8593, allocations: 287.6 kB / 0.8394 GB, free: 4.148 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.8594, allocations: 16 kB / 0.8394 GB, free: 4.133 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.8606, allocations: 159.8 kB / 0.8396 GB, free: 3.977 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.8607, allocations: 64.23 kB / 0.8396 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.532e-05/0.8608, allocations: 35.97 kB / 0.8397 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007595/0.8616, allocations: 0.5743 MB / 0.8402 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8616, allocations: 0 / 0.8402 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00131/0.8629, allocations: 483.1 kB / 0.8407 GB, free: 2.82 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007102/0.8636, allocations: 310.7 kB / 0.841 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004861/0.8685, allocations: 1.743 MB / 0.8427 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.8685, allocations: 0 / 0.8427 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00166/0.8702, allocations: 0.5964 MB / 0.8433 GB, free: 164 kB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002888/0.8731, allocations: 466.7 kB / 0.8437 GB, free: 15.71 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004565/0.8777, allocations: 2.347 MB / 0.846 GB, free: 13.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005831/0.8783, allocations: 1.051 MB / 0.847 GB, free: 12.22 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003813/0.8787, allocations: 91.39 kB / 0.8471 GB, free: 12.13 MB / 0.67 GB Notification: Performance of SimCode: time 7.41e-07/0.8787, allocations: 0 / 0.8471 GB, free: 12.13 MB / 0.67 GB Notification: Performance of Templates: time 0.3324/1.211, allocations: 25.22 MB / 0.8717 GB, free: 206.8 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)