Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7074/0.7074, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009753/0.0009751, allocations: 183.7 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.0009513/0.0009514, allocations: 97.28 kB / 0.5124 GB, free: 24.17 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001658/0.001658, allocations: 277.1 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.894e-05/3.906e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.377, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.108/4.485, allocations: 2.149 GB / 2.913 GB, free: 120.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001737/4.485, allocations: 87.2 kB / 2.913 GB, free: 120.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 11.28/15.76, allocations: 3.413 GB / 6.325 GB, free: 56.76 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.072e-06/15.76, allocations: 1.656 kB / 6.325 GB, free: 56.76 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003308/15.76, allocations: 119.1 kB / 6.326 GB, free: 56.74 MB / 0.8542 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.01557/15.78, allocations: 5.611 MB / 6.331 GB, free: 54.86 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/15.78, allocations: 9.375 kB / 6.331 GB, free: 54.86 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006383/15.78, allocations: 436.2 kB / 6.332 GB, free: 54.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009697/15.79, allocations: 2.043 MB / 6.333 GB, free: 54.52 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009411/15.8, allocations: 4.265 MB / 6.338 GB, free: 53.78 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002714/15.8, allocations: 0.9103 MB / 6.339 GB, free: 53.77 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006151/15.8, allocations: 344.4 kB / 6.339 GB, free: 53.77 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006086/15.81, allocations: 4.177 MB / 6.343 GB, free: 53.41 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.111e-05/15.81, allocations: 5.844 kB / 6.343 GB, free: 53.41 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003487/15.81, allocations: 127.6 kB / 6.343 GB, free: 53.41 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001203/15.81, allocations: 153.4 kB / 6.343 GB, free: 53.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005539/15.81, allocations: 3.881 MB / 6.347 GB, free: 53.37 MB / 0.8542 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.02885/15.84, allocations: 20.09 MB / 6.367 GB, free: 45.08 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004087/15.85, allocations: 2.619 MB / 6.369 GB, free: 45.02 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002064/15.85, allocations: 1.456 MB / 6.371 GB, free: 45.01 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006838/15.85, allocations: 0.6963 MB / 6.371 GB, free: 44.35 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002475/15.85, allocations: 1.802 MB / 6.373 GB, free: 44.25 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=251): time 3.777e-06/15.85, allocations: 0 / 6.373 GB, free: 44.25 MB / 0.8542 GB Notification: Performance of matching and sorting (n=251): time 0.005707/15.86, allocations: 3.035 MB / 6.376 GB, free: 43.95 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/15.86, allocations: 108.8 kB / 6.376 GB, free: 43.85 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004143/15.86, allocations: 3.127 MB / 6.379 GB, free: 43.52 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004191/15.86, allocations: 92.89 kB / 6.379 GB, free: 43.49 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001284/15.86, allocations: 1.85 MB / 6.381 GB, free: 42.96 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005691/15.86, allocations: 0.837 MB / 6.382 GB, free: 42.41 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/15.86, allocations: 62.28 kB / 6.382 GB, free: 42.41 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001259/15.86, allocations: 430.8 kB / 6.382 GB, free: 42.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00199/15.87, allocations: 1.361 MB / 6.384 GB, free: 42.09 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002433/15.87, allocations: 2.169 MB / 6.386 GB, free: 41.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002154/15.87, allocations: 1.502 MB / 6.387 GB, free: 41.21 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/15.87, allocations: 4.719 kB / 6.387 GB, free: 41.21 MB / 0.8542 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.006626/15.88, allocations: 3.93 MB / 6.391 GB, free: 40.84 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008854/15.88, allocations: 5.258 MB / 6.396 GB, free: 35.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/15.88, allocations: 12.47 kB / 6.396 GB, free: 35.43 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.228e-05/15.88, allocations: 31.72 kB / 6.396 GB, free: 35.43 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00578/15.88, allocations: 1.198 MB / 6.397 GB, free: 35.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/15.89, allocations: 5.975 MB / 6.403 GB, free: 29.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006118/15.89, allocations: 0.8671 MB / 6.404 GB, free: 29.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004088/15.89, allocations: 174 kB / 6.404 GB, free: 29.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/15.89, allocations: 7.922 kB / 6.404 GB, free: 29.4 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00552/15.9, allocations: 3.53 MB / 6.408 GB, free: 29.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/15.9, allocations: 11.88 kB / 6.408 GB, free: 29.28 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.714e-05/15.9, allocations: 26.94 kB / 6.408 GB, free: 29.28 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00477/15.9, allocations: 1.124 MB / 6.409 GB, free: 29.28 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-05/15.9, allocations: 36.3 kB / 6.409 GB, free: 29.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005668/15.91, allocations: 0.833 MB / 6.41 GB, free: 29.12 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004175/15.91, allocations: 164.9 kB / 6.41 GB, free: 29.12 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.001068/15.91, allocations: 288.3 kB / 6.41 GB, free: 29.01 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001316/15.91, allocations: 441.8 kB / 6.411 GB, free: 28.78 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007791/15.92, allocations: 3.637 MB / 6.414 GB, free: 28.57 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.59e-05/15.92, allocations: 27.12 kB / 6.414 GB, free: 28.57 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/15.92, allocations: 0 / 6.414 GB, free: 28.57 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.727e-05/15.92, allocations: 14.58 kB / 6.414 GB, free: 28.57 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01486/15.94, allocations: 8.097 MB / 6.422 GB, free: 27.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/15.94, allocations: 3.594 kB / 6.422 GB, free: 27.83 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004193/15.94, allocations: 0.926 MB / 6.423 GB, free: 27.83 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.014e-05/15.94, allocations: 15.31 kB / 6.423 GB, free: 27.83 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002713/15.94, allocations: 92.31 kB / 6.423 GB, free: 27.83 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001584/15.94, allocations: 5.936 MB / 6.429 GB, free: 21.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/15.94, allocations: 8.406 kB / 6.429 GB, free: 21.98 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006146/15.95, allocations: 4.075 MB / 6.433 GB, free: 20.59 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003059/15.95, allocations: 1.012 MB / 6.434 GB, free: 20.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001585/15.95, allocations: 58.67 kB / 6.434 GB, free: 20.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005805/15.96, allocations: 0.6214 MB / 6.435 GB, free: 20.21 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004354/15.96, allocations: 200.5 kB / 6.435 GB, free: 20.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004309/15.96, allocations: 135.3 kB / 6.435 GB, free: 20.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.005352/15.96, allocations: 2.343 MB / 6.437 GB, free: 36 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.6e-07/15.96, allocations: 1.781 kB / 6.437 GB, free: 36 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01064/15.97, allocations: 2.834 MB / 6.44 GB, free: 35.78 MB / 0.8698 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.01846/15.99, allocations: 12.07 MB / 6.452 GB, free: 29.74 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01288/16.01, allocations: 5.725 MB / 6.457 GB, free: 29.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/16.01, allocations: 6.156 kB / 6.457 GB, free: 29.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.004141/16.01, allocations: 1.769 MB / 6.459 GB, free: 29.48 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01176/16.02, allocations: 2.01 MB / 6.461 GB, free: 29.45 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02049/16.04, allocations: 6.995 MB / 6.468 GB, free: 27.73 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002623/16.05, allocations: 2.482 MB / 6.47 GB, free: 26.94 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01038/16.06, allocations: 1.589 MB / 6.472 GB, free: 26.87 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003195/16.06, allocations: 1.846 MB / 6.474 GB, free: 26.86 MB / 0.8698 GB Notification: Performance of SimCode: time 1.102e-06/16.06, allocations: 1.969 kB / 6.474 GB, free: 26.86 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8281/16.89, allocations: 204.3 MB / 6.673 GB, free: 101.1 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/16.89, allocations: 248.2 kB / 6.673 GB, free: 100.8 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.466/25.35, allocations: 5.047 kB / 6.673 GB, free: 100.8 MB / 0.9011 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1)