Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="IDEAS_dev_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.001053/0.001053, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8175/0.8175, allocations: 133.6 MB / 141.6 MB, free: 2.867 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.584/1.584, allocations: 221.5 MB / 395.5 MB, free: 10.77 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.001142/0.001142, allocations: 103.6 kB / 478.2 MB, free: 1.285 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.521e-05/2.523e-05, allocations: 8.203 kB / 0.5535 GB, free: 8.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.555/0.5551, allocations: 82.3 MB / 0.6339 GB, free: 40.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.359/6.914, allocations: 2.15 GB / 2.784 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/6.914, allocations: 84.95 kB / 2.784 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 14.53/21.45, allocations: 3.382 GB / 6.167 GB, free: 44.02 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.635e-06/21.45, allocations: 0 / 6.167 GB, free: 44.02 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0006808/21.45, allocations: 117.9 kB / 6.167 GB, free: 44.01 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.02338/21.47, allocations: 5.614 MB / 6.172 GB, free: 41.53 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/21.47, allocations: 15.47 kB / 6.172 GB, free: 41.53 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01281/21.48, allocations: 2.041 MB / 6.174 GB, free: 41.21 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01432/21.5, allocations: 4.267 MB / 6.179 GB, free: 40.37 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003145/21.5, allocations: 0.7743 MB / 6.179 GB, free: 40.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001809/21.5, allocations: 211.5 kB / 6.18 GB, free: 40.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007952/21.51, allocations: 3.511 MB / 6.183 GB, free: 40.29 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007551/21.52, allocations: 3.739 MB / 6.187 GB, free: 39.92 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.91e-05/21.52, allocations: 3.406 kB / 6.187 GB, free: 39.92 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004561/21.52, allocations: 1.938 kB / 6.187 GB, free: 39.92 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002047/21.52, allocations: 156.6 kB / 6.187 GB, free: 39.91 MB / 0.823 GB Warning: The model contains alias variables with conflicting start and/or 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.03827/21.56, allocations: 19.36 MB / 6.206 GB, free: 31.45 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00395/21.56, allocations: 2.538 MB / 6.208 GB, free: 31.38 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001925/21.56, allocations: 1.392 MB / 6.21 GB, free: 31.36 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008054/21.56, allocations: 0.6902 MB / 6.21 GB, free: 30.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002538/21.57, allocations: 1.717 MB / 6.212 GB, free: 30.61 MB / 0.823 GB Notification: Performance of pre-optimization done (n=251): time 4.077e-06/21.57, allocations: 1.688 kB / 6.212 GB, free: 30.61 MB / 0.823 GB Notification: Performance of matching and sorting (n=251): time 0.006937/21.57, allocations: 3.081 MB / 6.215 GB, free: 30.32 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/21.57, allocations: 108.5 kB / 6.215 GB, free: 30.22 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004122/21.58, allocations: 2.452 MB / 6.217 GB, free: 29.91 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0007344/21.58, allocations: 29.14 kB / 6.217 GB, free: 29.88 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002034/21.58, allocations: 1.854 MB / 6.219 GB, free: 29.23 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001001/21.58, allocations: 0.8034 MB / 6.22 GB, free: 28.69 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002256/21.58, allocations: 0 / 6.22 GB, free: 28.69 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001538/21.58, allocations: 429.8 kB / 6.22 GB, free: 28.38 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002064/21.58, allocations: 1.306 MB / 6.222 GB, free: 28.37 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002501/21.59, allocations: 2.147 MB / 6.224 GB, free: 27.47 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003449/21.59, allocations: 1.617 MB / 6.225 GB, free: 27.38 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/21.59, allocations: 3.5 kB / 6.225 GB, free: 27.38 MB / 0.823 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.007993/21.6, allocations: 3.85 MB / 6.229 GB, free: 27 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001245/21.6, allocations: 6.098 MB / 6.235 GB, free: 20.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.694e-05/21.6, allocations: 12.59 kB / 6.235 GB, free: 20.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.516e-05/21.6, allocations: 34.5 kB / 6.235 GB, free: 20.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006592/21.6, allocations: 1.219 MB / 6.236 GB, free: 20.43 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002348/21.61, allocations: 6.027 MB / 6.242 GB, free: 14.55 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0071/21.61, allocations: 0.7469 MB / 6.243 GB, free: 14.36 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001035/21.62, allocations: 168.6 kB / 6.243 GB, free: 14.36 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/21.62, allocations: 3.844 kB / 6.243 GB, free: 14.36 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008382/21.62, allocations: 3.405 MB / 6.246 GB, free: 14.18 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.07e-05/21.62, allocations: 14.62 kB / 6.246 GB, free: 14.18 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.782e-05/21.62, allocations: 30.52 kB / 6.246 GB, free: 14.18 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005201/21.63, allocations: 1.131 MB / 6.248 GB, free: 14.11 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.017e-05/21.63, allocations: 36.61 kB / 6.248 GB, free: 14.11 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006551/21.64, allocations: 0.7003 MB / 6.248 GB, free: 13.95 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000939/21.64, allocations: 166.3 kB / 6.248 GB, free: 13.95 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 15 ($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,hexCroUnm.flowRegime) * Number of discrete 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.001053/21.64, allocations: 179.9 kB / 6.249 GB, free: 13.79 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006616/21.64, allocations: 3.015 MB / 6.252 GB, free: 13.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00129/21.65, allocations: 387.6 kB / 6.252 GB, free: 13.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00751/21.65, allocations: 3.577 MB / 6.255 GB, free: 13.04 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.4e-05/21.65, allocations: 26.09 kB / 6.255 GB, free: 13.04 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/21.65, allocations: 0 / 6.255 GB, free: 13.04 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.839e-05/21.65, allocations: 17.66 kB / 6.255 GB, free: 13.04 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01508/21.67, allocations: 7.621 MB / 6.263 GB, free: 12.32 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/21.67, allocations: 4.656 kB / 6.263 GB, free: 12.32 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004481/21.67, allocations: 0.9173 MB / 6.264 GB, free: 12.25 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.624e-05/21.67, allocations: 21.14 kB / 6.264 GB, free: 12.25 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002486/21.67, allocations: 64.73 kB / 6.264 GB, free: 12.25 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00177/21.68, allocations: 5.94 MB / 6.27 GB, free: 6.375 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/21.68, allocations: 3.562 kB / 6.27 GB, free: 6.375 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007401/21.68, allocations: 4.026 MB / 6.274 GB, free: 20.68 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002699/21.69, allocations: 0.9582 MB / 6.275 GB, free: 20.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009719/21.69, allocations: 3.406 kB / 6.275 GB, free: 20.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005827/21.69, allocations: 0.5917 MB / 6.275 GB, free: 20.03 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006267/21.69, allocations: 197 kB / 6.275 GB, free: 19.99 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004655/21.69, allocations: 134.9 kB / 6.275 GB, free: 19.97 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.003493/21.7, allocations: 1.78 MB / 6.277 GB, free: 19.2 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.51e-07/21.7, allocations: 0 / 6.277 GB, free: 19.2 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.01076/21.71, allocations: 2.64 MB / 6.28 GB, free: 16.95 MB / 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) * 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.01919/21.73, allocations: 12.45 MB / 6.292 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01296/21.74, allocations: 5.493 MB / 6.297 GB, free: 128 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.568e-05/21.74, allocations: 4 kB / 6.297 GB, free: 124 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.003566/21.74, allocations: 1.719 MB / 6.299 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01106/21.75, allocations: 1.493 MB / 6.3 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02231/21.78, allocations: 6.65 MB / 6.307 GB, free: 7.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002366/21.78, allocations: 2.481 MB / 6.309 GB, free: 5.633 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.009176/21.79, allocations: 1.381 MB / 6.311 GB, free: 4.574 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003623/21.79, allocations: 1.825 MB / 6.312 GB, free: 2.926 MB / 0.8542 GB Notification: Performance of SimCode: time 5.31e-07/21.79, allocations: 0 / 6.312 GB, free: 2.926 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.154/22.95, allocations: 139.9 MB / 6.449 GB, free: 70.01 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002571/22.95, allocations: 176.1 kB / 6.449 GB, free: 69.82 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.365/31.31, allocations: 3.234 kB / 6.449 GB, free: 69.82 MB / 0.8542 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1)