Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00975/0.00975, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7611/0.7611, allocations: 135.2 MB / 151 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.735/1.735, allocations: 223.2 MB / 406.8 MB, free: 3.211 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 107.9 kB / 489.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003894/0.0003895, allocations: 12 kB / 0.5691 GB, free: 14.03 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4478/0.4482, allocations: 82.31 MB / 0.6495 GB, free: 36.06 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.828/5.276, allocations: 2.151 GB / 2.801 GB, free: 92.72 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/5.276, allocations: 88.7 kB / 2.801 GB, free: 92.64 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 13.69/18.97, allocations: 3.417 GB / 6.218 GB, free: 48.25 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.625e-06/18.97, allocations: 2.5 kB / 6.218 GB, free: 48.25 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0007732/18.97, allocations: 116 kB / 6.218 GB, free: 48.23 MB / 0.8386 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.02941/19, allocations: 6.447 MB / 6.225 GB, free: 45.41 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/19, allocations: 7.656 kB / 6.225 GB, free: 45.41 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00216/19, allocations: 436.9 kB / 6.225 GB, free: 45.35 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01274/19.01, allocations: 2.053 MB / 6.227 GB, free: 45.07 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01523/19.03, allocations: 4.29 MB / 6.231 GB, free: 44.33 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003069/19.03, allocations: 0.91 MB / 6.232 GB, free: 44.31 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001878/19.04, allocations: 356 kB / 6.232 GB, free: 44.31 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01724/19.05, allocations: 4.898 MB / 6.237 GB, free: 43.88 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002301/19.05, allocations: 0 / 6.237 GB, free: 43.88 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001645/19.05, allocations: 130.9 kB / 6.237 GB, free: 43.88 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002362/19.05, allocations: 149.8 kB / 6.238 GB, free: 43.87 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01652/19.07, allocations: 5.31 MB / 6.243 GB, free: 43.7 MB / 0.8386 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.04674/19.12, allocations: 20.08 MB / 6.262 GB, free: 35.1 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01298/19.13, allocations: 4.183 MB / 6.266 GB, free: 34.89 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009846/19.13, allocations: 0.6918 MB / 6.267 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006771/19.14, allocations: 2.489 MB / 6.27 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=251): time 6.532e-06/19.14, allocations: 0 / 6.27 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of matching and sorting (n=251): time 0.01892/19.16, allocations: 6.278 MB / 6.276 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/19.16, allocations: 101.5 kB / 6.276 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007961/19.17, allocations: 3.179 MB / 6.279 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.001288/19.17, allocations: 95.17 kB / 6.279 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.002592/19.17, allocations: 1.847 MB / 6.281 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001502/19.17, allocations: 0.8394 MB / 6.282 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006674/19.17, allocations: 65.72 kB / 6.282 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002837/19.17, allocations: 428.1 kB / 6.282 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006006/19.18, allocations: 2.08 MB / 6.284 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006923/19.19, allocations: 2.888 MB / 6.287 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006518/19.19, allocations: 2.213 MB / 6.289 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.547e-05/19.19, allocations: 3.25 kB / 6.289 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.01717/19.21, allocations: 5.365 MB / 6.294 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001181/19.21, allocations: 5.256 MB / 6.299 GB, free: 24.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.109e-05/19.21, allocations: 12.88 kB / 6.299 GB, free: 24.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.625e-05/19.21, allocations: 27.12 kB / 6.299 GB, free: 24.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006974/19.22, allocations: 1.211 MB / 6.301 GB, free: 24.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002479/19.22, allocations: 5.966 MB / 6.306 GB, free: 18.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007791/19.23, allocations: 0.8708 MB / 6.307 GB, free: 18.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001197/19.23, allocations: 165.6 kB / 6.307 GB, free: 18.43 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/19.23, allocations: 3.656 kB / 6.308 GB, free: 18.43 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01489/19.24, allocations: 4.974 MB / 6.312 GB, free: 18.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.868e-05/19.24, allocations: 13.66 kB / 6.312 GB, free: 18.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.046e-05/19.24, allocations: 27.34 kB / 6.312 GB, free: 18.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005646/19.25, allocations: 1.126 MB / 6.313 GB, free: 18.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.92e-05/19.25, allocations: 32.86 kB / 6.314 GB, free: 18.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007278/19.26, allocations: 0.8321 MB / 6.314 GB, free: 17.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001131/19.26, allocations: 167.1 kB / 6.315 GB, free: 17.82 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (403): * Single equations (assignments): 392 * 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.004188/19.26, allocations: 0.9202 MB / 6.315 GB, free: 17.57 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002173/19.26, allocations: 436.2 kB / 6.316 GB, free: 17.34 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01539/19.28, allocations: 5.023 MB / 6.321 GB, free: 16.96 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.358e-05/19.28, allocations: 30.75 kB / 6.321 GB, free: 16.96 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-05/19.28, allocations: 0 / 6.321 GB, free: 16.96 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.616e-05/19.28, allocations: 19.06 kB / 6.321 GB, free: 16.95 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02702/19.31, allocations: 9.476 MB / 6.33 GB, free: 16.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.483e-05/19.31, allocations: 6.375 kB / 6.33 GB, free: 16.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005012/19.31, allocations: 0.9126 MB / 6.331 GB, free: 16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.755e-05/19.31, allocations: 11.38 kB / 6.331 GB, free: 16 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007196/19.31, allocations: 96.66 kB / 6.331 GB, free: 16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001967/19.32, allocations: 5.938 MB / 6.337 GB, free: 10.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.266e-06/19.32, allocations: 9.594 kB / 6.337 GB, free: 10.12 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01474/19.33, allocations: 5.464 MB / 6.342 GB, free: 6.391 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004408/19.33, allocations: 1.017 MB / 6.343 GB, free: 5.797 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002184/19.34, allocations: 52.12 kB / 6.343 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00709/19.34, allocations: 0.6317 MB / 6.344 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008238/19.34, allocations: 198.8 kB / 6.344 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007842/19.35, allocations: 132.4 kB / 6.344 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.005532/19.35, allocations: 2.384 MB / 6.346 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.1e-07/19.35, allocations: 8.594 kB / 6.346 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.01384/19.36, allocations: 2.831 MB / 6.349 GB, free: 368 kB / 0.8386 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.02938/19.39, allocations: 13.42 MB / 6.362 GB, free: 4.035 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.02618/19.42, allocations: 7.737 MB / 6.37 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.458e-05/19.42, allocations: 7.953 kB / 6.37 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.007562/19.43, allocations: 2.463 MB / 6.372 GB, free: 11.42 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01227/19.44, allocations: 1.999 MB / 6.374 GB, free: 9.992 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7803/20.22, allocations: 19.69 MB / 6.393 GB, free: 71.41 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003696/20.22, allocations: 2.469 MB / 6.396 GB, free: 70.63 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.009404/20.23, allocations: 1.296 MB / 6.397 GB, free: 70.59 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004441/20.24, allocations: 1.901 MB / 6.399 GB, free: 70.59 MB / 0.8698 GB Notification: Performance of SimCode: time 1.713e-06/20.24, allocations: 0.5625 kB / 6.399 GB, free: 70.59 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2999/20.54, allocations: 185.8 MB / 6.58 GB, free: 58.04 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002406/20.54, allocations: 248.6 kB / 6.581 GB, free: 57.71 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.784/30.32, allocations: 4 kB / 6.581 GB, free: 57.71 MB / 0.8698 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1)