Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.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.BaseClasses.Examples.HexElementLatentLoop,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop",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.492/2.492, allocations: 387.1 MB / 399.7 MB, free: 9.586 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.00109/0.00109, allocations: 183.7 kB / 492.3 MB, free: 0.6523 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.668/1.668, allocations: 221.3 MB / 0.7872 GB, free: 12.95 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.0009339/0.0009339, allocations: 91.88 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.492e-05/3.496e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2681, allocations: 142.3 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.75/6.019, allocations: 2.211 GB / 3.423 GB, free: 77.93 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/6.019, allocations: 103.1 kB / 3.423 GB, free: 77.88 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 7.281/13.3, allocations: 1.698 GB / 5.121 GB, free: 157.6 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.755e-06/13.3, allocations: 0 / 5.121 GB, free: 157.6 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0006377/13.3, allocations: 73.47 kB / 5.121 GB, free: 157.6 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.01491/13.32, allocations: 2.881 MB / 5.124 GB, free: 155.6 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 6.292e-05/13.32, allocations: 7.688 kB / 5.124 GB, free: 155.6 MB / 1.198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001474/13.32, allocations: 263.1 kB / 5.124 GB, free: 155.4 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007033/13.32, allocations: 0.7655 MB / 5.125 GB, free: 155.1 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01096/13.33, allocations: 2.84 MB / 5.128 GB, free: 153.2 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002497/13.34, allocations: 141.2 kB / 5.128 GB, free: 153.1 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001071/13.34, allocations: 185.9 kB / 5.128 GB, free: 153 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00735/13.34, allocations: 2.176 MB / 5.13 GB, free: 151.8 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.598e-05/13.34, allocations: 3.938 kB / 5.13 GB, free: 151.8 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005726/13.34, allocations: 74.19 kB / 5.13 GB, free: 151.7 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000124/13.34, allocations: 76.23 kB / 5.13 GB, free: 151.7 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004745/13.35, allocations: 1.831 MB / 5.132 GB, free: 150.9 MB / 1.198 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.01958/13.37, allocations: 9.179 MB / 5.141 GB, free: 142.5 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001964/13.37, allocations: 0.9648 MB / 5.142 GB, free: 141.6 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009566/13.37, allocations: 0.5659 MB / 5.143 GB, free: 141 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005449/13.38, allocations: 2.328 MB / 5.145 GB, free: 138.5 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/13.38, allocations: 49.11 kB / 5.145 GB, free: 138.5 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001985/13.38, allocations: 168.6 kB / 5.145 GB, free: 138.3 MB / 1.198 GB Notification: Performance of pre-optimization done (n=101): time 1.209e-05/13.38, allocations: 0 / 5.145 GB, free: 138.3 MB / 1.198 GB Notification: Performance of matching and sorting (n=103): time 0.008939/13.39, allocations: 2.983 MB / 5.148 GB, free: 135.3 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.283e-05/13.39, allocations: 67.41 kB / 5.148 GB, free: 135.2 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005238/13.39, allocations: 1.773 MB / 5.15 GB, free: 133.4 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0004115/13.39, allocations: 49.7 kB / 5.15 GB, free: 133.3 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.00149/13.4, allocations: 1.186 MB / 5.151 GB, free: 132.1 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006897/13.4, allocations: 365.8 kB / 5.151 GB, free: 131.8 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/13.4, allocations: 28 kB / 5.151 GB, free: 131.8 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001818/13.4, allocations: 365.2 kB / 5.152 GB, free: 131.4 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009733/13.4, allocations: 457.5 kB / 5.152 GB, free: 130.9 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/13.4, allocations: 1.013 MB / 5.153 GB, free: 129.7 MB / 1.198 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start (sin_2.p = fan.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01094/13.41, allocations: 2.301 MB / 5.155 GB, free: 127.5 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-05/13.41, allocations: 4 kB / 5.155 GB, free: 127.5 MB / 1.198 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.005396/13.42, allocations: 1.865 MB / 5.157 GB, free: 125.6 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.002105/13.42, allocations: 5.971 MB / 5.163 GB, free: 119.1 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.583e-05/13.42, allocations: 23.98 kB / 5.163 GB, free: 119.1 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001615/13.42, allocations: 354.5 kB / 5.163 GB, free: 118.8 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/13.42, allocations: 302 kB / 5.164 GB, free: 118.5 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/13.42, allocations: 0.9734 MB / 5.165 GB, free: 117.5 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003555/13.43, allocations: 183 kB / 5.165 GB, free: 117.3 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004189/13.43, allocations: 79.97 kB / 5.165 GB, free: 117.2 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/13.43, allocations: 0 / 5.165 GB, free: 117.2 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004044/13.43, allocations: 1.634 MB / 5.166 GB, free: 115.6 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.274e-05/13.43, allocations: 15.83 kB / 5.166 GB, free: 115.6 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001528/13.43, allocations: 352.8 kB / 5.167 GB, free: 115.2 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/13.43, allocations: 307.5 kB / 5.167 GB, free: 114.9 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/13.43, allocations: 0.969 MB / 5.168 GB, free: 113.9 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00358/13.44, allocations: 163.5 kB / 5.168 GB, free: 113.8 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003228/13.44, allocations: 75.97 kB / 5.168 GB, free: 113.7 MB / 1.198 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 151 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 22} Notification: Performance of prepare postOptimizeDAE: time 0.0007515/13.44, allocations: 219.3 kB / 5.168 GB, free: 113.5 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001015/13.44, allocations: 233.1 kB / 5.169 GB, free: 113.2 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004393/13.44, allocations: 1.52 MB / 5.17 GB, free: 111.7 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.381e-05/13.44, allocations: 8 kB / 5.17 GB, free: 111.7 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/13.44, allocations: 4 kB / 5.17 GB, free: 111.7 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002444/13.45, allocations: 1.183 MB / 5.171 GB, free: 110.5 MB / 1.198 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 postOpt removeSimpleEquations (simulation): time 0.009163/13.46, allocations: 3.835 MB / 5.175 GB, free: 106.5 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.547e-05/13.46, allocations: 12.69 kB / 5.175 GB, free: 106.5 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008872/13.46, allocations: 187.7 kB / 5.175 GB, free: 106.3 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001365/13.46, allocations: 316.6 kB / 5.176 GB, free: 106 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001337/13.46, allocations: 31.36 kB / 5.176 GB, free: 106 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008727/13.46, allocations: 0.9419 MB / 5.177 GB, free: 105 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/13.46, allocations: 12 kB / 5.177 GB, free: 105 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003633/13.46, allocations: 2.557 MB / 5.179 GB, free: 102.2 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001963/13.47, allocations: 442 kB / 5.179 GB, free: 101.8 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009142/13.47, allocations: 24 kB / 5.179 GB, free: 101.7 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002353/13.47, allocations: 103.8 kB / 5.18 GB, free: 101.6 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/13.47, allocations: 84.58 kB / 5.18 GB, free: 101.5 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/13.47, allocations: 51.97 kB / 5.18 GB, free: 101.5 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.003777/13.47, allocations: 1.364 MB / 5.181 GB, free: 100.1 MB / 1.198 GB Notification: Performance of sort global known variables: time 4.91e-07/13.47, allocations: 0 / 5.181 GB, free: 100.1 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.007789/13.48, allocations: 1.397 MB / 5.182 GB, free: 98.72 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 2 (fan.vol.dynBal.medium.Xi[1],fan.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.01262/13.49, allocations: 8.195 MB / 5.19 GB, free: 90.29 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.004812/13.5, allocations: 2.069 MB / 5.192 GB, free: 88.23 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.421e-05/13.5, allocations: 0 / 5.192 GB, free: 88.23 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001188/13.5, allocations: 0.5601 MB / 5.193 GB, free: 87.67 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008281/13.51, allocations: 1.291 MB / 5.194 GB, free: 86.44 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0166/13.52, allocations: 4.557 MB / 5.199 GB, free: 81.77 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002374/13.53, allocations: 1.734 MB / 5.2 GB, free: 80 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.005264/13.53, allocations: 0.7916 MB / 5.201 GB, free: 79.24 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001585/13.53, allocations: 0.9484 MB / 5.202 GB, free: 78.29 MB / 1.198 GB Notification: Performance of SimCode: time 1.694e-06/13.53, allocations: 0 / 5.202 GB, free: 78.29 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.155/14.69, allocations: 122.5 MB / 5.322 GB, free: 184.4 MB / 1.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/14.69, allocations: 239.6 kB / 5.322 GB, free: 184.1 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.766/21.45, allocations: 3.406 kB / 5.322 GB, free: 184.1 MB / 1.214 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop_res.mat does not exist to compare? outputFormat=mat