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.342/2.342, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.001121/0.001121, allocations: 172.9 kB / 492.3 MB, free: 0.6328 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.738/1.738, allocations: 221.3 MB / 0.7871 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001184, allocations: 100.7 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.398e-05/3.401e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3382, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.465/6.803, allocations: 2.188 GB / 3.401 GB, free: 117.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/6.804, allocations: 83.95 kB / 3.401 GB, free: 117.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 14.42/21.22, allocations: 3.406 GB / 6.806 GB, free: 100.6 MB / 1.292 GB Notification: Performance of FrontEnd: time 1.814e-06/21.22, allocations: 0 / 6.806 GB, free: 100.6 MB / 1.292 GB Notification: Performance of Transformations before backend: time 0.001171/21.23, allocations: 113.6 kB / 6.806 GB, free: 100.6 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.03062/21.26, allocations: 5.612 MB / 6.812 GB, free: 98.95 MB / 1.292 GB Notification: Performance of prepare preOptimizeDAE: time 6.079e-05/21.26, allocations: 11.25 kB / 6.812 GB, free: 98.95 MB / 1.292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002801/21.26, allocations: 434.2 kB / 6.812 GB, free: 98.89 MB / 1.292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01695/21.28, allocations: 2.037 MB / 6.814 GB, free: 98.61 MB / 1.292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02203/21.3, allocations: 4.263 MB / 6.819 GB, free: 98.09 MB / 1.292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003925/21.3, allocations: 0.9075 MB / 6.819 GB, free: 98.08 MB / 1.292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002301/21.3, allocations: 347.2 kB / 6.82 GB, free: 98.08 MB / 1.292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01167/21.32, allocations: 4.175 MB / 6.824 GB, free: 97.71 MB / 1.292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-05/21.32, allocations: 3.438 kB / 6.824 GB, free: 97.71 MB / 1.292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005778/21.32, allocations: 131.9 kB / 6.824 GB, free: 97.71 MB / 1.292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002073/21.32, allocations: 157.2 kB / 6.824 GB, free: 97.71 MB / 1.292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008508/21.33, allocations: 3.88 MB / 6.828 GB, free: 97.68 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.05392/21.38, allocations: 20.09 MB / 6.848 GB, free: 89.49 MB / 1.292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005906/21.39, allocations: 2.619 MB / 6.85 GB, free: 89.43 MB / 1.292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003066/21.39, allocations: 1.459 MB / 6.851 GB, free: 89.42 MB / 1.292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/21.39, allocations: 0.6906 MB / 6.852 GB, free: 88.76 MB / 1.292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004181/21.39, allocations: 1.794 MB / 6.854 GB, free: 88.66 MB / 1.292 GB Notification: Performance of pre-optimization done (n=251): time 5.4e-06/21.39, allocations: 0 / 6.854 GB, free: 88.66 MB / 1.292 GB Notification: Performance of matching and sorting (n=251): time 0.007507/21.4, allocations: 3.04 MB / 6.857 GB, free: 88.36 MB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.372e-05/21.4, allocations: 104.9 kB / 6.857 GB, free: 88.27 MB / 1.292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006238/21.41, allocations: 3.129 MB / 6.86 GB, free: 87.93 MB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.00121/21.41, allocations: 91.83 kB / 6.86 GB, free: 87.9 MB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001927/21.41, allocations: 1.851 MB / 6.862 GB, free: 87.37 MB / 1.292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001377/21.41, allocations: 0.8427 MB / 6.863 GB, free: 86.82 MB / 1.292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000277/21.41, allocations: 62.75 kB / 6.863 GB, free: 86.82 MB / 1.292 GB Notification: Performance of setup shared object (initialization): time 0.0001963/21.41, allocations: 429.9 kB / 6.863 GB, free: 86.51 MB / 1.292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002477/21.42, allocations: 1.363 MB / 6.865 GB, free: 86.5 MB / 1.292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002988/21.42, allocations: 2.141 MB / 6.867 GB, free: 85.75 MB / 1.292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002695/21.42, allocations: 1.499 MB / 6.868 GB, free: 85.66 MB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.428e-05/21.42, allocations: 3.812 kB / 6.868 GB, free: 85.66 MB / 1.292 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.008606/21.43, allocations: 3.927 MB / 6.872 GB, free: 85.29 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001603/21.43, allocations: 5.239 MB / 6.877 GB, free: 79.9 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.255e-05/21.43, allocations: 15.28 kB / 6.877 GB, free: 79.9 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.111e-05/21.43, allocations: 28.62 kB / 6.877 GB, free: 79.9 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006729/21.44, allocations: 1.207 MB / 6.878 GB, free: 79.89 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002891/21.44, allocations: 5.974 MB / 6.884 GB, free: 74.04 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008238/21.45, allocations: 0.8759 MB / 6.885 GB, free: 73.86 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001072/21.45, allocations: 168.3 kB / 6.885 GB, free: 73.86 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/21.45, allocations: 3.531 kB / 6.885 GB, free: 73.86 MB / 1.292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006559/21.46, allocations: 3.53 MB / 6.889 GB, free: 73.73 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-05/21.46, allocations: 13.41 kB / 6.889 GB, free: 73.73 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.477e-05/21.46, allocations: 29.81 kB / 6.889 GB, free: 73.73 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005164/21.46, allocations: 1.12 MB / 6.89 GB, free: 73.73 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-05/21.46, allocations: 35.72 kB / 6.89 GB, free: 73.73 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007328/21.47, allocations: 0.8289 MB / 6.891 GB, free: 73.59 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006411/21.47, allocations: 165.9 kB / 6.891 GB, free: 73.59 MB / 1.292 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.001119/21.47, allocations: 296.8 kB / 6.891 GB, free: 73.46 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001719/21.47, allocations: 436.3 kB / 6.891 GB, free: 73.24 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007339/21.48, allocations: 3.64 MB / 6.895 GB, free: 73.03 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.798e-05/21.48, allocations: 27.72 kB / 6.895 GB, free: 73.03 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/21.48, allocations: 1.781 kB / 6.895 GB, free: 73.03 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.751e-05/21.48, allocations: 15.38 kB / 6.895 GB, free: 73.03 MB / 1.292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01627/21.5, allocations: 8.102 MB / 6.903 GB, free: 72.29 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/21.5, allocations: 2.438 kB / 6.903 GB, free: 72.29 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00449/21.5, allocations: 0.9154 MB / 6.904 GB, free: 72.29 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.133e-05/21.5, allocations: 19.25 kB / 6.904 GB, free: 72.29 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002605/21.5, allocations: 83.75 kB / 6.904 GB, free: 72.29 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001979/21.5, allocations: 5.938 MB / 6.91 GB, free: 66.44 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.435e-06/21.5, allocations: 5.094 kB / 6.91 GB, free: 66.44 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007835/21.51, allocations: 4.076 MB / 6.914 GB, free: 65.04 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004308/21.52, allocations: 1.02 MB / 6.915 GB, free: 64.68 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001681/21.52, allocations: 51.03 kB / 6.915 GB, free: 64.68 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007034/21.53, allocations: 0.6299 MB / 6.915 GB, free: 64.66 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004827/21.53, allocations: 197.4 kB / 6.916 GB, free: 64.66 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004163/21.53, allocations: 139.2 kB / 6.916 GB, free: 64.66 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.005209/21.53, allocations: 2.343 MB / 6.918 GB, free: 64.45 MB / 1.292 GB Notification: Performance of sort global known variables: time 1.61e-07/21.53, allocations: 1.156 kB / 6.918 GB, free: 64.45 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.01451/21.55, allocations: 2.835 MB / 6.921 GB, free: 64.23 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.01916/21.56, allocations: 12.05 MB / 6.933 GB, free: 58.19 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.01348/21.58, allocations: 5.729 MB / 6.938 GB, free: 57.95 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 1.48e-05/21.58, allocations: 0 / 6.938 GB, free: 57.95 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.003712/21.58, allocations: 1.779 MB / 6.94 GB, free: 57.93 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01262/21.59, allocations: 1.993 MB / 6.942 GB, free: 57.91 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.023/21.62, allocations: 6.988 MB / 6.949 GB, free: 56.2 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002073/21.62, allocations: 2.478 MB / 6.951 GB, free: 55.41 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.009985/21.63, allocations: 1.584 MB / 6.953 GB, free: 55.36 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003445/21.63, allocations: 1.844 MB / 6.954 GB, free: 55.36 MB / 1.292 GB Notification: Performance of SimCode: time 2.245e-06/21.63, allocations: 0 / 6.954 GB, free: 55.36 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3661/22, allocations: 204.1 MB / 7.154 GB, free: 24.13 MB / 1.292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/22, allocations: 232.6 kB / 7.154 GB, free: 23.82 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/32.61, allocations: 0 / 7.154 GB, free: 23.82 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