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.325/2.325, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.00112/0.00112, allocations: 192.7 kB / 487.4 MB, free: 5.059 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.513/1.513, allocations: 221.5 MB / 0.7824 GB, free: 1.031 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.0009442/0.0009438, allocations: 106.9 kB / 0.9219 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.104e-05/2.105e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2509, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.51/5.761, allocations: 2.21 GB / 3.416 GB, free: 112.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/5.761, allocations: 99.94 kB / 3.416 GB, free: 112.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 7.087/12.85, allocations: 1.681 GB / 5.098 GB, free: 153 MB / 1.182 GB Notification: Performance of FrontEnd: time 3.326e-06/12.85, allocations: 0 / 5.098 GB, free: 153 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0004793/12.85, allocations: 74.7 kB / 5.098 GB, free: 153 MB / 1.182 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.01248/12.86, allocations: 2.893 MB / 5.1 GB, free: 151.7 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/12.86, allocations: 7.531 kB / 5.1 GB, free: 151.7 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00636/12.87, allocations: 0.7575 MB / 5.101 GB, free: 151.5 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009801/12.88, allocations: 2.829 MB / 5.104 GB, free: 150.9 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/12.88, allocations: 59.03 kB / 5.104 GB, free: 150.9 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008121/12.88, allocations: 110.6 kB / 5.104 GB, free: 150.9 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004302/12.88, allocations: 1.634 MB / 5.106 GB, free: 150.9 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004954/12.89, allocations: 1.921 MB / 5.108 GB, free: 150.7 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.383e-05/12.89, allocations: 0 / 5.108 GB, free: 150.7 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003238/12.89, allocations: 3.938 kB / 5.108 GB, free: 150.7 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-05/12.89, allocations: 76.03 kB / 5.108 GB, free: 150.7 MB / 1.182 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.01711/12.91, allocations: 9.097 MB / 5.117 GB, free: 145.8 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/12.91, allocations: 0.972 MB / 5.117 GB, free: 145.4 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008506/12.91, allocations: 0.5755 MB / 5.118 GB, free: 145.1 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004582/12.91, allocations: 2.3 MB / 5.12 GB, free: 143.5 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/12.91, allocations: 46.47 kB / 5.12 GB, free: 143.5 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001855/12.91, allocations: 199.9 kB / 5.121 GB, free: 143.4 MB / 1.182 GB Notification: Performance of pre-optimization done (n=101): time 5.951e-06/12.91, allocations: 0 / 5.121 GB, free: 143.4 MB / 1.182 GB Notification: Performance of matching and sorting (n=103): time 0.008982/12.92, allocations: 3.093 MB / 5.124 GB, free: 141.9 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/12.92, allocations: 63.06 kB / 5.124 GB, free: 141.9 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003468/12.93, allocations: 1.442 MB / 5.125 GB, free: 141.3 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001477/12.93, allocations: 25.7 kB / 5.125 GB, free: 141.2 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001052/12.93, allocations: 1.184 MB / 5.126 GB, free: 140.3 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003706/12.93, allocations: 356.7 kB / 5.127 GB, free: 140 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.471e-05/12.93, allocations: 0 / 5.127 GB, free: 140 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001371/12.93, allocations: 363.7 kB / 5.127 GB, free: 139.7 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007339/12.93, allocations: 468.5 kB / 5.127 GB, free: 139.5 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/12.93, allocations: 1.003 MB / 5.128 GB, free: 138.6 MB / 1.182 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.01885/12.95, allocations: 3.231 MB / 5.131 GB, free: 138 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.9e-05/12.95, allocations: 3.906 kB / 5.131 GB, free: 138 MB / 1.182 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.006798/12.96, allocations: 1.836 MB / 5.133 GB, free: 137.4 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001714/12.96, allocations: 5.876 MB / 5.139 GB, free: 131.2 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-05/12.96, allocations: 14.41 kB / 5.139 GB, free: 131.2 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001558/12.96, allocations: 364.5 kB / 5.139 GB, free: 131.1 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/12.96, allocations: 304.1 kB / 5.14 GB, free: 131.1 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/12.96, allocations: 1.019 MB / 5.141 GB, free: 130.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00369/12.97, allocations: 146.7 kB / 5.141 GB, free: 130.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003774/12.97, allocations: 79.58 kB / 5.141 GB, free: 130.3 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/12.97, allocations: 7.625 kB / 5.141 GB, free: 130.3 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004675/12.97, allocations: 1.565 MB / 5.142 GB, free: 129.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.399e-05/12.97, allocations: 17.44 kB / 5.142 GB, free: 129.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001552/12.97, allocations: 364.4 kB / 5.143 GB, free: 129.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/12.97, allocations: 299.2 kB / 5.143 GB, free: 129.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/12.98, allocations: 1.023 MB / 5.144 GB, free: 129 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002678/12.98, allocations: 124.3 kB / 5.144 GB, free: 129 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002283/12.98, allocations: 82.78 kB / 5.144 GB, free: 129 MB / 1.182 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 {3 21} Notification: Performance of prepare postOptimizeDAE: time 0.0004876/12.98, allocations: 154.7 kB / 5.144 GB, free: 128.8 MB / 1.182 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003835/12.98, allocations: 1.393 MB / 5.146 GB, free: 128.3 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007127/12.98, allocations: 214.5 kB / 5.146 GB, free: 128.2 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003841/12.99, allocations: 1.502 MB / 5.147 GB, free: 127.6 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/12.99, allocations: 11.5 kB / 5.147 GB, free: 127.6 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/12.99, allocations: 2.938 kB / 5.147 GB, free: 127.6 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002438/12.99, allocations: 1.166 MB / 5.149 GB, free: 127.1 MB / 1.182 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.008106/13, allocations: 3.569 MB / 5.152 GB, free: 125.4 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/13, allocations: 7.344 kB / 5.152 GB, free: 125.4 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008916/13, allocations: 184.7 kB / 5.152 GB, free: 125.4 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001323/13, allocations: 323 kB / 5.153 GB, free: 125.3 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.652e-05/13, allocations: 16.53 kB / 5.153 GB, free: 125.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009221/13, allocations: 0.9714 MB / 5.153 GB, free: 124.6 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/13, allocations: 6.594 kB / 5.153 GB, free: 124.6 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003229/13, allocations: 2.468 MB / 5.156 GB, free: 122.9 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001332/13.01, allocations: 415.2 kB / 5.156 GB, free: 122.6 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006651/13.01, allocations: 12.03 kB / 5.156 GB, free: 122.6 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001885/13.01, allocations: 85.86 kB / 5.156 GB, free: 122.6 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/13.01, allocations: 78.14 kB / 5.156 GB, free: 122.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/13.01, allocations: 46.75 kB / 5.157 GB, free: 122.6 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.002274/13.01, allocations: 1.081 MB / 5.158 GB, free: 122.1 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.41e-07/13.01, allocations: 0 / 5.158 GB, free: 122.1 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.005853/13.02, allocations: 1.252 MB / 5.159 GB, free: 120.9 MB / 1.182 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 {3 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.01188/13.03, allocations: 8.292 MB / 5.167 GB, free: 113.2 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.003853/13.03, allocations: 1.998 MB / 5.169 GB, free: 111.3 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/13.03, allocations: 4 kB / 5.169 GB, free: 111.3 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0008512/13.03, allocations: 0.5321 MB / 5.169 GB, free: 110.9 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005926/13.04, allocations: 1.096 MB / 5.17 GB, free: 110.1 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/13.05, allocations: 4.417 MB / 5.175 GB, free: 105.9 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001814/13.05, allocations: 1.732 MB / 5.176 GB, free: 104.2 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.00414/13.06, allocations: 0.7429 MB / 5.177 GB, free: 103.5 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001271/13.06, allocations: 0.9405 MB / 5.178 GB, free: 102.5 MB / 1.182 GB Notification: Performance of SimCode: time 1.022e-06/13.06, allocations: 0 / 5.178 GB, free: 102.5 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1336/13.19, allocations: 85.88 MB / 5.262 GB, free: 17.9 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/13.19, allocations: 193.8 kB / 5.262 GB, free: 17.71 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.362/18.56, allocations: 0 / 5.262 GB, free: 17.71 MB / 1.182 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