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.002324/0.002324, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8316/0.8316, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.623/1.623, allocations: 221.3 MB / 400.4 MB, free: 5.762 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009379/0.000938, allocations: 105.9 kB / 483.3 MB, free: 5.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.424e-05/4.426e-05, allocations: 3.594 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1854, allocations: 82.31 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.083/6.269, allocations: 2.151 GB / 2.792 GB, free: 36.14 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/6.269, allocations: 82.94 kB / 2.792 GB, free: 36.06 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 15.02/21.29, allocations: 3.412 GB / 6.204 GB, free: 24.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.134e-06/21.29, allocations: 0 / 6.204 GB, free: 24.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0008729/21.29, allocations: 120 kB / 6.204 GB, free: 24.38 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.02627/21.32, allocations: 5.605 MB / 6.21 GB, free: 19.07 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/21.32, allocations: 11.97 kB / 6.21 GB, free: 19.06 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002248/21.32, allocations: 428.6 kB / 6.21 GB, free: 18.82 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01283/21.33, allocations: 2.051 MB / 6.212 GB, free: 16.81 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01688/21.35, allocations: 4.266 MB / 6.216 GB, free: 13.16 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003559/21.35, allocations: 0.9166 MB / 6.217 GB, free: 12.24 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003146/21.36, allocations: 352 kB / 6.217 GB, free: 11.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01479/21.37, allocations: 4.16 MB / 6.221 GB, free: 7.621 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001325/21.37, allocations: 7.875 kB / 6.221 GB, free: 7.617 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001272/21.37, allocations: 136 kB / 6.222 GB, free: 7.484 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001872/21.37, allocations: 150 kB / 6.222 GB, free: 7.336 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008373/21.38, allocations: 3.886 MB / 6.225 GB, free: 3.441 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.04916/21.43, allocations: 20.09 MB / 6.245 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005599/21.43, allocations: 2.62 MB / 6.248 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002791/21.44, allocations: 1.465 MB / 6.249 GB, free: 9.988 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/21.44, allocations: 0.689 MB / 6.25 GB, free: 9.172 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003847/21.44, allocations: 1.794 MB / 6.251 GB, free: 7.359 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=251): time 7.173e-06/21.44, allocations: 0 / 6.251 GB, free: 7.359 MB / 0.8542 GB Notification: Performance of matching and sorting (n=251): time 0.008305/21.45, allocations: 3.042 MB / 6.254 GB, free: 4.305 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.229e-05/21.45, allocations: 107.1 kB / 6.255 GB, free: 4.18 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008741/21.46, allocations: 3.125 MB / 6.258 GB, free: 1.047 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000918/21.46, allocations: 93.69 kB / 6.258 GB, free: 0.9492 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.7962/22.26, allocations: 1.849 MB / 6.26 GB, free: 72.36 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.00131/22.26, allocations: 0.8366 MB / 6.26 GB, free: 71.98 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002667/22.26, allocations: 65.19 kB / 6.26 GB, free: 71.98 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001848/22.26, allocations: 426 kB / 6.261 GB, free: 71.68 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002616/22.26, allocations: 1.36 MB / 6.262 GB, free: 71.67 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003223/22.26, allocations: 2.169 MB / 6.264 GB, free: 70.88 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002927/22.27, allocations: 1.503 MB / 6.266 GB, free: 70.79 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-05/22.27, allocations: 4.188 kB / 6.266 GB, free: 70.79 MB / 0.8542 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.008707/22.28, allocations: 3.926 MB / 6.27 GB, free: 70.43 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.000965/22.28, allocations: 5.248 MB / 6.275 GB, free: 65.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.501e-05/22.28, allocations: 12.09 kB / 6.275 GB, free: 65.03 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.358e-05/22.28, allocations: 28.58 kB / 6.275 GB, free: 65.03 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006727/22.28, allocations: 1.214 MB / 6.276 GB, free: 65.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002498/22.29, allocations: 5.974 MB / 6.282 GB, free: 59.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00755/22.29, allocations: 0.8726 MB / 6.283 GB, free: 59.07 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009943/22.3, allocations: 169.4 kB / 6.283 GB, free: 59.07 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/22.3, allocations: 6.094 kB / 6.283 GB, free: 59.07 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007478/22.3, allocations: 3.525 MB / 6.286 GB, free: 58.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.564e-05/22.3, allocations: 13.66 kB / 6.286 GB, free: 58.95 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.359e-05/22.3, allocations: 27.66 kB / 6.286 GB, free: 58.95 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005533/22.31, allocations: 1.124 MB / 6.287 GB, free: 58.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.395e-05/22.31, allocations: 38.31 kB / 6.287 GB, free: 58.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006711/22.32, allocations: 0.8248 MB / 6.288 GB, free: 58.88 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005155/22.32, allocations: 166 kB / 6.288 GB, free: 58.88 MB / 0.8542 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 () * 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.001103/22.32, allocations: 300.9 kB / 6.289 GB, free: 58.76 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001224/22.32, allocations: 433.6 kB / 6.289 GB, free: 58.54 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007219/22.33, allocations: 3.641 MB / 6.293 GB, free: 58.33 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.138e-05/22.33, allocations: 26.53 kB / 6.293 GB, free: 58.33 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/22.33, allocations: 3.938 kB / 6.293 GB, free: 58.33 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.559e-05/22.33, allocations: 15.05 kB / 6.293 GB, free: 58.33 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01514/22.34, allocations: 8.082 MB / 6.301 GB, free: 57.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/22.34, allocations: 2.344 kB / 6.301 GB, free: 57.65 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004637/22.35, allocations: 0.9165 MB / 6.301 GB, free: 57.65 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.034e-05/22.35, allocations: 19.41 kB / 6.301 GB, free: 57.65 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002344/22.35, allocations: 89.17 kB / 6.302 GB, free: 57.65 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00175/22.35, allocations: 5.934 MB / 6.307 GB, free: 51.81 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/22.35, allocations: 12.16 kB / 6.307 GB, free: 51.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006229/22.35, allocations: 4.066 MB / 6.311 GB, free: 50.41 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002855/22.36, allocations: 1.023 MB / 6.312 GB, free: 50.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009514/22.36, allocations: 54.67 kB / 6.312 GB, free: 50.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005214/22.36, allocations: 0.6309 MB / 6.313 GB, free: 50.07 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003617/22.36, allocations: 200.4 kB / 6.313 GB, free: 50.06 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003258/22.36, allocations: 136.5 kB / 6.313 GB, free: 50.06 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003887/22.37, allocations: 2.342 MB / 6.316 GB, free: 49.86 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.6e-07/22.37, allocations: 0 / 6.316 GB, free: 49.86 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01374/22.38, allocations: 2.835 MB / 6.318 GB, free: 49.78 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) * 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.01945/22.4, allocations: 12.04 MB / 6.33 GB, free: 43.82 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01341/22.41, allocations: 5.731 MB / 6.336 GB, free: 43.59 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/22.41, allocations: 3.094 kB / 6.336 GB, free: 43.59 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003785/22.42, allocations: 1.774 MB / 6.337 GB, free: 43.57 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01229/22.43, allocations: 1.999 MB / 6.339 GB, free: 43.55 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02226/22.45, allocations: 6.996 MB / 6.346 GB, free: 41.95 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002793/22.46, allocations: 2.477 MB / 6.349 GB, free: 41.15 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.01049/22.47, allocations: 1.575 MB / 6.35 GB, free: 41.11 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003319/22.47, allocations: 1.84 MB / 6.352 GB, free: 41.11 MB / 0.8542 GB Notification: Performance of SimCode: time 1.813e-06/22.47, allocations: 1.344 kB / 6.352 GB, free: 41.11 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4102/22.88, allocations: 204.2 MB / 6.551 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/22.88, allocations: 227.8 kB / 6.552 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/33.18, allocations: 0 / 6.552 GB, free: 13.47 MB / 0.8855 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)