Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.424/2.424, allocations: 387.4 MB / 394.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002001/0.002012, allocations: 184.7 kB / 487.4 MB, free: 5.055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.698/1.698, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 97.47 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.782e-05/2.785e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3774, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.995/6.372, allocations: 2.188 GB / 3.394 GB, free: 136.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/6.373, allocations: 87.95 kB / 3.394 GB, free: 136.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 13.16/19.54, allocations: 3.376 GB / 6.77 GB, free: 108.7 MB / 1.292 GB Notification: Performance of FrontEnd: time 2.705e-06/19.54, allocations: 0 / 6.77 GB, free: 108.7 MB / 1.292 GB Notification: Performance of Transformations before backend: time 0.0006255/19.54, allocations: 119 kB / 6.77 GB, free: 108.7 MB / 1.292 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.02409/19.56, allocations: 5.603 MB / 6.775 GB, free: 107.2 MB / 1.292 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/19.56, allocations: 11.16 kB / 6.775 GB, free: 107.2 MB / 1.292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01332/19.58, allocations: 2.038 MB / 6.777 GB, free: 107 MB / 1.292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01636/19.59, allocations: 4.267 MB / 6.781 GB, free: 106.4 MB / 1.292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003107/19.6, allocations: 0.773 MB / 6.782 GB, free: 106.4 MB / 1.292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002038/19.6, allocations: 205.3 kB / 6.782 GB, free: 106.4 MB / 1.292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009892/19.61, allocations: 3.515 MB / 6.786 GB, free: 106.4 MB / 1.292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01276/19.62, allocations: 3.736 MB / 6.789 GB, free: 106.1 MB / 1.292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001704/19.62, allocations: 352 / 6.789 GB, free: 106.1 MB / 1.292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001198/19.62, allocations: 13.83 kB / 6.789 GB, free: 106.1 MB / 1.292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002701/19.62, allocations: 151.5 kB / 6.789 GB, free: 106.1 MB / 1.292 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.05356/19.68, allocations: 19.36 MB / 6.808 GB, free: 98.05 MB / 1.292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00532/19.68, allocations: 2.525 MB / 6.811 GB, free: 98 MB / 1.292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002485/19.68, allocations: 1.395 MB / 6.812 GB, free: 97.98 MB / 1.292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001004/19.68, allocations: 0.6898 MB / 6.813 GB, free: 97.32 MB / 1.292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00353/19.69, allocations: 1.727 MB / 6.815 GB, free: 97.23 MB / 1.292 GB Notification: Performance of pre-optimization done (n=251): time 7.544e-06/19.69, allocations: 0 / 6.815 GB, free: 97.23 MB / 1.292 GB Notification: Performance of matching and sorting (n=251): time 0.008407/19.7, allocations: 3.073 MB / 6.818 GB, free: 96.95 MB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/19.7, allocations: 103.1 kB / 6.818 GB, free: 96.85 MB / 1.292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005626/19.7, allocations: 2.456 MB / 6.82 GB, free: 96.57 MB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.0007597/19.7, allocations: 33.86 kB / 6.82 GB, free: 96.54 MB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.00193/19.7, allocations: 1.846 MB / 6.822 GB, free: 95.93 MB / 1.292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000912/19.71, allocations: 0.7982 MB / 6.823 GB, free: 95.39 MB / 1.292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002233/19.71, allocations: 0.8125 kB / 6.823 GB, free: 95.39 MB / 1.292 GB Notification: Performance of setup shared object (initialization): time 0.0001706/19.71, allocations: 429.2 kB / 6.823 GB, free: 95.08 MB / 1.292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002045/19.71, allocations: 1.311 MB / 6.824 GB, free: 95.07 MB / 1.292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002463/19.71, allocations: 2.114 MB / 6.826 GB, free: 94.25 MB / 1.292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003413/19.71, allocations: 1.622 MB / 6.828 GB, free: 94.19 MB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.307e-05/19.71, allocations: 3.125 kB / 6.828 GB, free: 94.19 MB / 1.292 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.008107/19.72, allocations: 3.846 MB / 6.832 GB, free: 93.88 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001301/19.72, allocations: 6.08 MB / 6.838 GB, free: 87.46 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/19.72, allocations: 14.12 kB / 6.838 GB, free: 87.46 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.358e-05/19.72, allocations: 30.53 kB / 6.838 GB, free: 87.46 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006551/19.73, allocations: 1.236 MB / 6.839 GB, free: 87.46 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002506/19.73, allocations: 6.027 MB / 6.845 GB, free: 81.61 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007709/19.74, allocations: 0.7366 MB / 6.846 GB, free: 81.46 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009394/19.74, allocations: 173.1 kB / 6.846 GB, free: 81.46 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/19.74, allocations: 5.156 kB / 6.846 GB, free: 81.46 MB / 1.292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009086/19.75, allocations: 3.409 MB / 6.849 GB, free: 81.38 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-05/19.75, allocations: 12.03 kB / 6.849 GB, free: 81.38 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.475e-05/19.75, allocations: 31.06 kB / 6.849 GB, free: 81.38 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005298/19.76, allocations: 1.122 MB / 6.85 GB, free: 81.38 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.899e-05/19.76, allocations: 45.62 kB / 6.85 GB, free: 81.37 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006547/19.76, allocations: 0.6946 MB / 6.851 GB, free: 81.26 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006922/19.76, allocations: 170.6 kB / 6.851 GB, free: 81.26 MB / 1.292 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.001331/19.76, allocations: 188.2 kB / 6.851 GB, free: 81.14 MB / 1.292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007664/19.77, allocations: 3.006 MB / 6.854 GB, free: 80.86 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001701/19.77, allocations: 391 kB / 6.855 GB, free: 80.66 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008359/19.78, allocations: 3.576 MB / 6.858 GB, free: 80.45 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.669e-05/19.78, allocations: 29.06 kB / 6.858 GB, free: 80.45 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/19.78, allocations: 3.375 kB / 6.858 GB, free: 80.45 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.961e-05/19.78, allocations: 13.08 kB / 6.858 GB, free: 80.45 MB / 1.292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01825/19.8, allocations: 7.633 MB / 6.866 GB, free: 79.75 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/19.8, allocations: 3.438 kB / 6.866 GB, free: 79.75 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004347/19.81, allocations: 0.919 MB / 6.866 GB, free: 79.75 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.247e-05/19.81, allocations: 15.38 kB / 6.866 GB, free: 79.75 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002888/19.81, allocations: 61.48 kB / 6.867 GB, free: 79.75 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001972/19.81, allocations: 5.943 MB / 6.872 GB, free: 73.9 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/19.81, allocations: 10.59 kB / 6.872 GB, free: 73.9 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007654/19.82, allocations: 4.025 MB / 6.876 GB, free: 72.6 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003268/19.82, allocations: 0.9622 MB / 6.877 GB, free: 72.26 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001442/19.82, allocations: 10.53 kB / 6.877 GB, free: 72.26 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005873/19.83, allocations: 0.5808 MB / 6.878 GB, free: 72.24 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003889/19.83, allocations: 202.9 kB / 6.878 GB, free: 72.23 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004461/19.83, allocations: 142.4 kB / 6.878 GB, free: 72.23 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.004471/19.83, allocations: 1.774 MB / 6.88 GB, free: 72.05 MB / 1.292 GB Notification: Performance of sort global known variables: time 6.01e-07/19.83, allocations: 0 / 6.88 GB, free: 72.05 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.01172/19.84, allocations: 2.627 MB / 6.882 GB, free: 71.75 MB / 1.292 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.01913/19.86, allocations: 12.47 MB / 6.895 GB, free: 65.73 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.0127/19.87, allocations: 5.485 MB / 6.9 GB, free: 65.52 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-05/19.87, allocations: 2.25 kB / 6.9 GB, free: 65.52 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.004073/19.88, allocations: 1.717 MB / 6.902 GB, free: 65.5 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01143/19.89, allocations: 1.489 MB / 6.903 GB, free: 65.48 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02272/19.91, allocations: 6.647 MB / 6.91 GB, free: 63.77 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003345/19.92, allocations: 2.474 MB / 6.912 GB, free: 62.99 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.01134/19.93, allocations: 1.392 MB / 6.913 GB, free: 62.96 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003756/19.93, allocations: 1.815 MB / 6.915 GB, free: 62.95 MB / 1.292 GB Notification: Performance of SimCode: time 1.142e-06/19.93, allocations: 0 / 6.915 GB, free: 62.95 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2531/20.18, allocations: 139.8 MB / 7.052 GB, free: 55.42 MB / 1.292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/20.19, allocations: 179.8 kB / 7.052 GB, free: 55.23 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.242/28.43, allocations: 2.391 kB / 7.052 GB, free: 55.23 MB / 1.292 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU_res.mat does not exist to compare? outputFormat=mat