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.001246/0.001246, allocations: 180.9 kB / 7.65 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.7965/0.7965, allocations: 133.6 MB / 141.6 MB, free: 2.828 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.542/1.542, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.001058/0.001058, allocations: 103 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.918e-05/2.92e-05, allocations: 0 / 0.5535 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5722/0.5723, allocations: 82.31 MB / 0.6339 GB, free: 40.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.077/6.649, allocations: 2.15 GB / 2.784 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003309/6.65, allocations: 87.95 kB / 2.784 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 14.41/21.06, allocations: 3.382 GB / 6.167 GB, free: 46.77 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.345e-06/21.06, allocations: 2.438 kB / 6.167 GB, free: 46.77 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0007929/21.07, allocations: 114.1 kB / 6.167 GB, free: 46.76 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.02387/21.09, allocations: 5.614 MB / 6.172 GB, free: 44.39 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/21.09, allocations: 13.11 kB / 6.172 GB, free: 44.39 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01335/21.1, allocations: 2.048 MB / 6.174 GB, free: 44.11 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01743/21.12, allocations: 4.261 MB / 6.179 GB, free: 43.36 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003248/21.12, allocations: 0.7746 MB / 6.179 GB, free: 43.36 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002046/21.13, allocations: 209.2 kB / 6.18 GB, free: 43.36 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01004/21.14, allocations: 3.517 MB / 6.183 GB, free: 43.34 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01278/21.15, allocations: 3.738 MB / 6.187 GB, free: 42.99 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001554/21.15, allocations: 9.625 kB / 6.187 GB, free: 42.99 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001267/21.15, allocations: 3.812 kB / 6.187 GB, free: 42.99 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002153/21.15, allocations: 149.5 kB / 6.187 GB, free: 42.98 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.04343/21.19, allocations: 19.37 MB / 6.206 GB, free: 34.82 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005227/21.2, allocations: 2.54 MB / 6.208 GB, free: 34.75 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002476/21.2, allocations: 1.394 MB / 6.21 GB, free: 34.74 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009647/21.2, allocations: 0.6905 MB / 6.21 GB, free: 34.08 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003587/21.21, allocations: 1.723 MB / 6.212 GB, free: 33.99 MB / 0.823 GB Notification: Performance of pre-optimization done (n=251): time 7.324e-06/21.21, allocations: 0 / 6.212 GB, free: 33.99 MB / 0.823 GB Notification: Performance of matching and sorting (n=251): time 0.008686/21.21, allocations: 3.079 MB / 6.215 GB, free: 33.71 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/21.21, allocations: 107.3 kB / 6.215 GB, free: 33.61 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006573/21.22, allocations: 2.446 MB / 6.217 GB, free: 33.31 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0009054/21.22, allocations: 35.22 kB / 6.217 GB, free: 33.28 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002645/21.22, allocations: 1.845 MB / 6.219 GB, free: 32.64 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001185/21.23, allocations: 0.7998 MB / 6.22 GB, free: 32.09 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005811/21.23, allocations: 0 / 6.22 GB, free: 32.09 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002826/21.23, allocations: 430.3 kB / 6.22 GB, free: 31.79 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002625/21.23, allocations: 1.309 MB / 6.222 GB, free: 31.78 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003153/21.23, allocations: 2.148 MB / 6.224 GB, free: 30.91 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004339/21.24, allocations: 1.616 MB / 6.225 GB, free: 30.86 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.799e-05/21.24, allocations: 4.656 kB / 6.225 GB, free: 30.86 MB / 0.823 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.0108/21.25, allocations: 3.853 MB / 6.229 GB, free: 30.54 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001823/21.25, allocations: 6.094 MB / 6.235 GB, free: 24.11 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-05/21.25, allocations: 14.22 kB / 6.235 GB, free: 24.11 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001078/21.25, allocations: 30.19 kB / 6.235 GB, free: 24.11 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007381/21.26, allocations: 1.224 MB / 6.236 GB, free: 24.11 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002805/21.26, allocations: 6.03 MB / 6.242 GB, free: 18.24 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00787/21.27, allocations: 0.7426 MB / 6.243 GB, free: 18.05 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001431/21.27, allocations: 174.2 kB / 6.243 GB, free: 18.05 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/21.27, allocations: 3.875 kB / 6.243 GB, free: 18.05 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01308/21.28, allocations: 3.405 MB / 6.246 GB, free: 17.91 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.182e-05/21.28, allocations: 13.12 kB / 6.246 GB, free: 17.91 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.746e-05/21.28, allocations: 30.69 kB / 6.246 GB, free: 17.91 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005996/21.29, allocations: 1.13 MB / 6.248 GB, free: 17.84 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.579e-05/21.29, allocations: 43.83 kB / 6.248 GB, free: 17.83 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007026/21.3, allocations: 0.6965 MB / 6.248 GB, free: 17.67 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001238/21.3, allocations: 170.6 kB / 6.248 GB, free: 17.67 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.00243/21.3, allocations: 177.2 kB / 6.249 GB, free: 17.52 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00984/21.31, allocations: 3.006 MB / 6.252 GB, free: 17.23 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001958/21.31, allocations: 393.7 kB / 6.252 GB, free: 17.03 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01001/21.32, allocations: 3.575 MB / 6.255 GB, free: 16.77 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.274e-05/21.32, allocations: 27.69 kB / 6.255 GB, free: 16.77 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.706e-05/21.32, allocations: 0 / 6.255 GB, free: 16.77 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.798e-05/21.32, allocations: 13.55 kB / 6.255 GB, free: 16.77 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02172/21.34, allocations: 7.624 MB / 6.263 GB, free: 16.04 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.69e-05/21.34, allocations: 3.812 kB / 6.263 GB, free: 16.04 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005766/21.35, allocations: 0.9256 MB / 6.264 GB, free: 15.98 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.727e-05/21.35, allocations: 13.91 kB / 6.264 GB, free: 15.98 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007804/21.35, allocations: 64.98 kB / 6.264 GB, free: 15.98 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003249/21.35, allocations: 5.937 MB / 6.27 GB, free: 26.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-05/21.35, allocations: 11.19 kB / 6.27 GB, free: 26.1 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01008/21.36, allocations: 4.018 MB / 6.274 GB, free: 24.78 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004219/21.37, allocations: 0.9635 MB / 6.275 GB, free: 24.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001947/21.37, allocations: 8.938 kB / 6.275 GB, free: 24.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006457/21.38, allocations: 0.5836 MB / 6.275 GB, free: 24.37 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000547/21.38, allocations: 199.8 kB / 6.275 GB, free: 24.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000625/21.38, allocations: 135.2 kB / 6.275 GB, free: 24.36 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.00487/21.38, allocations: 1.782 MB / 6.277 GB, free: 24.18 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.8e-07/21.38, allocations: 0 / 6.277 GB, free: 24.18 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.01282/21.4, allocations: 2.629 MB / 6.28 GB, free: 23.88 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.022/21.42, allocations: 12.46 MB / 6.292 GB, free: 17.23 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01546/21.43, allocations: 5.494 MB / 6.297 GB, free: 16.89 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-05/21.43, allocations: 3.75 kB / 6.297 GB, free: 16.89 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.004632/21.44, allocations: 1.71 MB / 6.299 GB, free: 16.81 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01194/21.45, allocations: 1.499 MB / 6.3 GB, free: 16.68 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02654/21.48, allocations: 6.654 MB / 6.307 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004251/21.48, allocations: 2.478 MB / 6.309 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.00975/21.49, allocations: 1.383 MB / 6.311 GB, free: 10.53 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003515/21.49, allocations: 1.812 MB / 6.312 GB, free: 8.887 MB / 0.8386 GB Notification: Performance of SimCode: time 1.433e-06/21.49, allocations: 4 kB / 6.312 GB, free: 8.883 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9694/22.46, allocations: 140.1 MB / 6.449 GB, free: 71.56 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002398/22.46, allocations: 182 kB / 6.449 GB, free: 71.36 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.331/30.8, allocations: 3.938 kB / 6.449 GB, free: 71.36 MB / 0.8542 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)