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.001347/0.001347, allocations: 174.6 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.9314/0.9314, 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.902/1.902, allocations: 221.3 MB / 400.4 MB, free: 5.816 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.001244/0.001244, allocations: 97.88 kB / 483.3 MB, free: 5.844 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.962e-05/3.997e-05, allocations: 3.25 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1813, allocations: 82.31 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.166/6.348, allocations: 2.151 GB / 2.792 GB, free: 35.78 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/6.348, allocations: 85.5 kB / 2.792 GB, free: 35.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 14.4/20.75, allocations: 3.412 GB / 6.204 GB, free: 23.69 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.013e-06/20.75, allocations: 0 / 6.204 GB, free: 23.69 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0008713/20.75, allocations: 116 kB / 6.204 GB, free: 23.57 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.02632/20.77, allocations: 5.607 MB / 6.21 GB, free: 18.26 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.596e-05/20.77, allocations: 8.031 kB / 6.21 GB, free: 18.25 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002315/20.78, allocations: 445.5 kB / 6.21 GB, free: 18 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01331/20.79, allocations: 2.043 MB / 6.212 GB, free: 16 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01675/20.81, allocations: 4.263 MB / 6.216 GB, free: 12.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003241/20.81, allocations: 0.9128 MB / 6.217 GB, free: 11.58 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002104/20.81, allocations: 344 kB / 6.217 GB, free: 11.25 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01454/20.83, allocations: 4.176 MB / 6.221 GB, free: 6.953 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001678/20.83, allocations: 3.938 kB / 6.221 GB, free: 6.949 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001599/20.83, allocations: 128 kB / 6.222 GB, free: 6.824 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000282/20.83, allocations: 150 kB / 6.222 GB, free: 6.676 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01084/20.84, allocations: 3.878 MB / 6.225 GB, free: 2.789 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.05055/20.89, allocations: 20.09 MB / 6.245 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006353/20.9, allocations: 2.622 MB / 6.248 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00317/20.9, allocations: 1.461 MB / 6.249 GB, free: 9.305 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001203/20.9, allocations: 0.6968 MB / 6.25 GB, free: 8.48 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00473/20.91, allocations: 1.79 MB / 6.251 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=251): time 7.283e-06/20.91, allocations: 0 / 6.251 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of matching and sorting (n=251): time 0.0102/20.92, allocations: 3.042 MB / 6.254 GB, free: 3.617 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/20.92, allocations: 111.1 kB / 6.255 GB, free: 3.488 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01088/20.93, allocations: 3.118 MB / 6.258 GB, free: 372 kB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001685/20.93, allocations: 93.7 kB / 6.258 GB, free: 272 kB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.7672/21.7, allocations: 1.85 MB / 6.26 GB, free: 72.41 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001513/21.7, allocations: 0.8435 MB / 6.26 GB, free: 72.04 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002673/21.7, allocations: 64.06 kB / 6.26 GB, free: 72.04 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000199/21.7, allocations: 423.9 kB / 6.261 GB, free: 71.73 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002764/21.7, allocations: 1.361 MB / 6.262 GB, free: 71.72 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003305/21.7, allocations: 2.167 MB / 6.264 GB, free: 70.93 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002969/21.71, allocations: 1.507 MB / 6.266 GB, free: 70.84 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.385e-05/21.71, allocations: 3.562 kB / 6.266 GB, free: 70.84 MB / 0.8542 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.008838/21.72, allocations: 3.924 MB / 6.27 GB, free: 70.48 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001033/21.72, allocations: 5.251 MB / 6.275 GB, free: 65.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.017e-05/21.72, allocations: 11.16 kB / 6.275 GB, free: 65.08 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.838e-05/21.72, allocations: 29.28 kB / 6.275 GB, free: 65.08 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006307/21.72, allocations: 1.213 MB / 6.276 GB, free: 65.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002346/21.73, allocations: 5.979 MB / 6.282 GB, free: 59.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006747/21.73, allocations: 0.8691 MB / 6.283 GB, free: 59.12 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004444/21.73, allocations: 165.9 kB / 6.283 GB, free: 59.12 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/21.73, allocations: 6.719 kB / 6.283 GB, free: 59.12 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007163/21.74, allocations: 3.528 MB / 6.286 GB, free: 59 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.593e-05/21.74, allocations: 15.27 kB / 6.286 GB, free: 59 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.485e-05/21.74, allocations: 27.22 kB / 6.286 GB, free: 59 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005505/21.75, allocations: 1.125 MB / 6.287 GB, free: 59 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.519e-05/21.75, allocations: 33.62 kB / 6.287 GB, free: 59 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00678/21.75, allocations: 0.8292 MB / 6.288 GB, free: 58.93 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005363/21.75, allocations: 165.1 kB / 6.288 GB, free: 58.93 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.001179/21.75, allocations: 293.7 kB / 6.289 GB, free: 58.81 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001485/21.76, allocations: 437.7 kB / 6.289 GB, free: 58.59 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007168/21.76, allocations: 3.631 MB / 6.293 GB, free: 58.38 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.411e-05/21.76, allocations: 33.47 kB / 6.293 GB, free: 58.38 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/21.76, allocations: 3.406 kB / 6.293 GB, free: 58.38 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.416e-05/21.76, allocations: 11.67 kB / 6.293 GB, free: 58.38 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01694/21.78, allocations: 8.081 MB / 6.301 GB, free: 57.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/21.78, allocations: 4.469 kB / 6.301 GB, free: 57.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004608/21.79, allocations: 0.9196 MB / 6.301 GB, free: 57.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.611e-05/21.79, allocations: 17.2 kB / 6.301 GB, free: 57.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002779/21.79, allocations: 95.33 kB / 6.302 GB, free: 57.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002193/21.79, allocations: 5.929 MB / 6.307 GB, free: 51.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/21.79, allocations: 12.11 kB / 6.307 GB, free: 51.86 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006684/21.79, allocations: 4.074 MB / 6.311 GB, free: 50.46 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002816/21.8, allocations: 1.016 MB / 6.312 GB, free: 50.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009711/21.8, allocations: 61.23 kB / 6.312 GB, free: 50.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005417/21.8, allocations: 0.6251 MB / 6.313 GB, free: 50.12 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004007/21.8, allocations: 200.3 kB / 6.313 GB, free: 50.11 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000443/21.8, allocations: 134.1 kB / 6.313 GB, free: 50.11 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.005133/21.81, allocations: 2.345 MB / 6.316 GB, free: 49.91 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.01e-07/21.81, allocations: 0 / 6.316 GB, free: 49.91 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01373/21.82, allocations: 2.84 MB / 6.318 GB, free: 49.83 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.0231/21.85, allocations: 12.05 MB / 6.33 GB, free: 43.87 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01511/21.86, allocations: 5.724 MB / 6.336 GB, free: 43.63 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-05/21.86, allocations: 0 / 6.336 GB, free: 43.63 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004309/21.87, allocations: 1.777 MB / 6.337 GB, free: 43.62 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01207/21.88, allocations: 1.992 MB / 6.339 GB, free: 43.59 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02339/21.9, allocations: 6.999 MB / 6.346 GB, free: 42 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003216/21.9, allocations: 2.481 MB / 6.349 GB, free: 41.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.01235/21.92, allocations: 1.571 MB / 6.35 GB, free: 41.16 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004059/21.92, allocations: 1.843 MB / 6.352 GB, free: 41.16 MB / 0.8542 GB Notification: Performance of SimCode: time 9.62e-07/21.92, allocations: 0 / 6.352 GB, free: 41.16 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3283/22.25, allocations: 204.2 MB / 6.551 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/22.25, allocations: 231.8 kB / 6.552 GB, free: 13.69 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/32.48, allocations: 0 / 6.552 GB, free: 13.69 MB / 0.8855 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)