Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU") translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7844/0.7844, allocations: 140.1 MB / 156 MB, free: 5.18 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 172.8 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 205.4 MB / 426.3 MB, free: 8.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009379/0.0009377, allocations: 90.36 kB / 0.4945 GB, free: 8.422 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.00161/0.00161, allocations: 275.2 kB / 0.5728 GB, free: 66.24 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004951/0.0004952, allocations: 16 kB / 0.662 GB, free: 6.836 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.378, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.235/5.613, allocations: 2.317 GB / 3.057 GB, free: 260.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/5.613, allocations: 87.16 kB / 3.057 GB, free: 260.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 12.18/17.79, allocations: 3.344 GB / 6.401 GB, free: 36.56 MB / 0.823 GB Notification: Performance of FrontEnd: time 6.101e-06/17.79, allocations: 0 / 6.401 GB, free: 36.56 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.001315/17.79, allocations: 113.2 kB / 6.401 GB, free: 36.54 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.02841/17.82, allocations: 6.226 MB / 6.407 GB, free: 33.57 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/17.82, allocations: 9.906 kB / 6.407 GB, free: 33.57 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01281/17.83, allocations: 2.035 MB / 6.409 GB, free: 33.19 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01721/17.85, allocations: 4.377 MB / 6.413 GB, free: 32.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003178/17.85, allocations: 0.9182 MB / 6.414 GB, free: 32.03 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002331/17.86, allocations: 357.5 kB / 6.415 GB, free: 32.03 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01858/17.87, allocations: 4.901 MB / 6.42 GB, free: 31.57 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002956/17.88, allocations: 0 / 6.42 GB, free: 31.57 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00193/17.88, allocations: 131 kB / 6.42 GB, free: 31.56 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002626/17.88, allocations: 150.5 kB / 6.42 GB, free: 31.55 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01971/17.9, allocations: 5.48 MB / 6.425 GB, free: 31.39 MB / 0.823 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.04983/17.95, allocations: 19.73 MB / 6.444 GB, free: 22.59 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01152/17.96, allocations: 4.084 MB / 6.448 GB, free: 22.38 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00556/17.96, allocations: 2.13 MB / 6.45 GB, free: 22.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009862/17.97, allocations: 0.6886 MB / 6.451 GB, free: 21.62 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007212/17.97, allocations: 2.396 MB / 6.453 GB, free: 21.46 MB / 0.823 GB Notification: Performance of pre-optimization done (n=251): time 1.679e-05/17.97, allocations: 0 / 6.453 GB, free: 21.46 MB / 0.823 GB Notification: Performance of matching and sorting (n=251): time 0.01902/17.99, allocations: 6.095 MB / 6.459 GB, free: 20.97 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.666e-05/17.99, allocations: 105.2 kB / 6.46 GB, free: 20.88 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009511/18, allocations: 3.63 MB / 6.463 GB, free: 20.53 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.001347/18, allocations: 93.7 kB / 6.463 GB, free: 20.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002756/18.01, allocations: 1.86 MB / 6.465 GB, free: 19.95 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001666/18.01, allocations: 0.8398 MB / 6.466 GB, free: 19.38 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009144/18.01, allocations: 65.06 kB / 6.466 GB, free: 19.38 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003497/18.01, allocations: 436.4 kB / 6.466 GB, free: 19.06 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006078/18.01, allocations: 2.017 MB / 6.468 GB, free: 18.99 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006706/18.02, allocations: 2.871 MB / 6.471 GB, free: 18.07 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01186/18.03, allocations: 4.39 MB / 6.475 GB, free: 15.57 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.093e-05/18.03, allocations: 4 kB / 6.475 GB, free: 15.57 MB / 0.823 GB Notification: Performance of matching and sorting (n=409) (initialization): time 0.01654/18.05, allocations: 5.267 MB / 6.48 GB, free: 10.95 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004084/18.05, allocations: 0.5179 MB / 6.481 GB, free: 10.25 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.375e-05/18.05, allocations: 12 kB / 6.481 GB, free: 10.24 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.855e-05/18.05, allocations: 28 kB / 6.481 GB, free: 10.21 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006758/18.06, allocations: 1.269 MB / 6.482 GB, free: 9.207 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002548/18.06, allocations: 5.983 MB / 6.488 GB, free: 3.043 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007851/18.07, allocations: 0.8759 MB / 6.489 GB, free: 2.324 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001145/18.07, allocations: 161.4 kB / 6.489 GB, free: 2.191 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/18.07, allocations: 4 kB / 6.489 GB, free: 2.188 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01516/18.08, allocations: 4.875 MB / 6.494 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-05/18.08, allocations: 12 kB / 6.494 GB, free: 13.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.889e-05/18.08, allocations: 28 kB / 6.494 GB, free: 13.92 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005645/18.09, allocations: 1.117 MB / 6.495 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001026/18.09, allocations: 39.77 kB / 6.495 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007945/18.1, allocations: 0.8326 MB / 6.496 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001191/18.1, allocations: 166 kB / 6.496 GB, free: 12.16 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 15 (hexCroUnm.flowRegime,$whenCondition1,hexPar.flowRegime,hexCou.flowRegime,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,hexPar.flowRegime_nominal,hexCou.flowRegime_nominal,hexCroC1Mix.flowRegime_nominal,hexCroC1Unm.flowRegime_nominal,hexCroUnm.flowRegime_nominal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (408): * Single equations (assignments): 397 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004606/18.1, allocations: 0.9195 MB / 6.497 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002218/18.11, allocations: 445.7 kB / 6.497 GB, free: 10.83 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01653/18.12, allocations: 4.868 MB / 6.502 GB, free: 6.785 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.969e-05/18.12, allocations: 28 kB / 6.502 GB, free: 6.758 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.464e-05/18.12, allocations: 0 / 6.502 GB, free: 6.758 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-05/18.12, allocations: 16.78 kB / 6.502 GB, free: 6.754 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02721/18.15, allocations: 9.215 MB / 6.511 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.148e-05/18.15, allocations: 4 kB / 6.511 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004461/18.15, allocations: 0.8984 MB / 6.512 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.255e-05/18.15, allocations: 16 kB / 6.512 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004311/18.15, allocations: 83.27 kB / 6.512 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003335/18.16, allocations: 5.939 MB / 6.518 GB, free: 8.418 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/18.16, allocations: 8 kB / 6.518 GB, free: 8.41 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01351/18.17, allocations: 4.783 MB / 6.523 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003834/18.18, allocations: 0.9814 MB / 6.524 GB, free: 3.254 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001627/18.18, allocations: 55.52 kB / 6.524 GB, free: 3.203 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006014/18.18, allocations: 0.623 MB / 6.524 GB, free: 2.73 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005157/18.18, allocations: 198.7 kB / 6.524 GB, free: 2.605 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005022/18.18, allocations: 128 kB / 6.525 GB, free: 2.508 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.006574/18.19, allocations: 2.383 MB / 6.527 GB, free: 0.5117 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.41e-07/18.19, allocations: 4 kB / 6.527 GB, free: 0.5078 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.826/19.02, allocations: 2.836 MB / 6.53 GB, free: 76.55 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,hexPar.flowRegime,hexCou.flowRegime,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime,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 (283): * Single equations (assignments): 269 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01366/19.03, allocations: 6.521 MB / 6.536 GB, free: 73.27 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.02458/19.06, allocations: 7.654 MB / 6.543 GB, free: 73.05 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.54e-05/19.06, allocations: 1.906 kB / 6.543 GB, free: 73.05 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.006796/19.06, allocations: 2.427 MB / 6.546 GB, free: 73.04 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0165/19.08, allocations: 2.019 MB / 6.548 GB, free: 72.98 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02541/19.1, allocations: 9.609 MB / 6.557 GB, free: 69.14 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004463/19.11, allocations: 2.38 MB / 6.56 GB, free: 68.36 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.01168/19.12, allocations: 1.279 MB / 6.561 GB, free: 68.29 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002764/19.12, allocations: 375.8 kB / 6.561 GB, free: 68.28 MB / 0.8542 GB Notification: Performance of SimCode: time 1.392e-06/19.12, allocations: 3.844 kB / 6.561 GB, free: 68.28 MB / 0.8542 GB Notification: Performance of Templates: time 0.2262/19.35, allocations: 135.3 MB / 6.693 GB, free: 59.57 MB / 0.8542 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1)