Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.806/1.806, allocations: 292.6 MB / 307.5 MB, free: 5.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001685/0.001685, allocations: 181.1 kB / 377.1 MB, free: 1.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.794/1.794, allocations: 205.4 MB / 0.6366 GB, free: 8.598 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008983/0.0008979, allocations: 87.52 kB / 0.7509 GB, free: 63.09 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003784, allocations: 12 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.301, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.764/7.065, allocations: 2.384 GB / 3.373 GB, free: 157.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004236/7.066, allocations: 106.7 kB / 3.373 GB, free: 157.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.957/14.02, allocations: 1.669 GB / 5.042 GB, free: 99.85 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.074e-06/14.02, allocations: 0 / 5.042 GB, free: 99.85 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0006234/14.02, allocations: 70.03 kB / 5.042 GB, free: 99.85 MB / 1.01 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.01603/14.04, allocations: 3.429 MB / 5.045 GB, free: 98.93 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/14.04, allocations: 7 kB / 5.045 GB, free: 98.93 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001334/14.04, allocations: 265 kB / 5.045 GB, free: 98.89 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006167/14.05, allocations: 0.6658 MB / 5.046 GB, free: 98.73 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009985/14.06, allocations: 2.791 MB / 5.049 GB, free: 98.32 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002379/14.06, allocations: 146.7 kB / 5.049 GB, free: 98.31 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009352/14.06, allocations: 193.9 kB / 5.049 GB, free: 98.31 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007223/14.07, allocations: 2.199 MB / 5.051 GB, free: 98.11 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.796e-05/14.07, allocations: 5.438 kB / 5.051 GB, free: 98.11 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000538/14.07, allocations: 79.31 kB / 5.051 GB, free: 98.11 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/14.07, allocations: 74.88 kB / 5.051 GB, free: 98.1 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005125/14.07, allocations: 1.903 MB / 5.053 GB, free: 98.09 MB / 1.01 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01908/14.09, allocations: 9.1 MB / 5.062 GB, free: 94.26 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002/14.09, allocations: 0.9727 MB / 5.063 GB, free: 94.22 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005252/14.1, allocations: 2.3 MB / 5.065 GB, free: 93.16 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/14.1, allocations: 60 kB / 5.065 GB, free: 93.12 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001948/14.1, allocations: 172.2 kB / 5.065 GB, free: 93.08 MB / 1.01 GB Notification: Performance of pre-optimization done (n=101): time 1.059e-05/14.1, allocations: 0 / 5.065 GB, free: 93.08 MB / 1.01 GB Notification: Performance of matching and sorting (n=103): time 0.01223/14.11, allocations: 3.929 MB / 5.069 GB, free: 92.26 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/14.11, allocations: 61.5 kB / 5.069 GB, free: 92.2 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004425/14.12, allocations: 1.792 MB / 5.071 GB, free: 91.99 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0002255/14.12, allocations: 55.08 kB / 5.071 GB, free: 91.96 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001407/14.12, allocations: 1.183 MB / 5.072 GB, free: 91.63 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005981/14.12, allocations: 364.2 kB / 5.073 GB, free: 91.45 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/14.12, allocations: 29.06 kB / 5.073 GB, free: 91.45 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001714/14.12, allocations: 358.3 kB / 5.073 GB, free: 91.15 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009879/14.12, allocations: 466.1 kB / 5.073 GB, free: 91.14 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00128/14.12, allocations: 1.05 MB / 5.074 GB, free: 90.45 MB / 1.01 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.009775/14.13, allocations: 2.151 MB / 5.077 GB, free: 90.33 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.362e-05/14.13, allocations: 9.062 kB / 5.077 GB, free: 90.33 MB / 1.01 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.004591/14.14, allocations: 1.774 MB / 5.078 GB, free: 90.14 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001869/14.14, allocations: 5.967 MB / 5.084 GB, free: 83.82 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.842e-05/14.14, allocations: 17.31 kB / 5.084 GB, free: 83.82 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001645/14.14, allocations: 329.7 kB / 5.084 GB, free: 83.81 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/14.14, allocations: 293.8 kB / 5.085 GB, free: 83.81 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001099/14.14, allocations: 0.9689 MB / 5.086 GB, free: 83.28 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003252/14.15, allocations: 171.4 kB / 5.086 GB, free: 83.27 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002838/14.15, allocations: 77.33 kB / 5.086 GB, free: 83.27 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/14.15, allocations: 3.156 kB / 5.086 GB, free: 83.27 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003091/14.15, allocations: 1.541 MB / 5.087 GB, free: 83.23 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.568e-05/14.15, allocations: 12.38 kB / 5.087 GB, free: 83.23 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001395/14.15, allocations: 331.8 kB / 5.088 GB, free: 83.23 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/14.15, allocations: 285 kB / 5.088 GB, free: 83.23 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/14.15, allocations: 0.98 MB / 5.089 GB, free: 82.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002984/14.16, allocations: 149 kB / 5.089 GB, free: 82.69 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002472/14.16, allocations: 76.48 kB / 5.089 GB, free: 82.69 MB / 1.01 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 () * Number of clocked 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.002005/14.16, allocations: 0.6563 MB / 5.09 GB, free: 82.5 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008725/14.16, allocations: 235.4 kB / 5.09 GB, free: 82.38 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003654/14.16, allocations: 1.404 MB / 5.091 GB, free: 82.27 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/14.16, allocations: 9.219 kB / 5.091 GB, free: 82.27 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/14.16, allocations: 0 / 5.091 GB, free: 82.27 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001731/14.16, allocations: 1.062 MB / 5.092 GB, free: 82.18 MB / 1.01 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.00957/14.17, allocations: 3.779 MB / 5.096 GB, free: 81.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.057e-05/14.17, allocations: 7.844 kB / 5.096 GB, free: 81.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000915/14.18, allocations: 170.4 kB / 5.096 GB, free: 81.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001513/14.18, allocations: 311.6 kB / 5.097 GB, free: 81.49 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001138/14.18, allocations: 26.72 kB / 5.097 GB, free: 81.49 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001027/14.18, allocations: 0.9345 MB / 5.098 GB, free: 80.96 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.778e-06/14.18, allocations: 10.09 kB / 5.098 GB, free: 80.96 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004203/14.18, allocations: 2.566 MB / 5.1 GB, free: 79.9 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001898/14.18, allocations: 439.4 kB / 5.101 GB, free: 79.68 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008915/14.18, allocations: 26.69 kB / 5.101 GB, free: 79.68 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002252/14.19, allocations: 98.47 kB / 5.101 GB, free: 79.68 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/14.19, allocations: 77.7 kB / 5.101 GB, free: 79.68 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/14.19, allocations: 45.97 kB / 5.101 GB, free: 79.68 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.003447/14.19, allocations: 1.377 MB / 5.102 GB, free: 79.53 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.3e-07/14.19, allocations: 2.625 kB / 5.102 GB, free: 79.53 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.008651/14.2, allocations: 1.404 MB / 5.103 GB, free: 79.5 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 2 (fan.vol.dynBal.U,fan.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.01368/14.21, allocations: 8.153 MB / 5.111 GB, free: 75.16 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.005174/14.22, allocations: 2.004 MB / 5.113 GB, free: 75.12 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/14.22, allocations: 2.906 kB / 5.113 GB, free: 75.12 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001347/14.22, allocations: 0.5548 MB / 5.114 GB, free: 75.12 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008563/14.23, allocations: 1.3 MB / 5.115 GB, free: 75.11 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02543/14.25, allocations: 16.81 MB / 5.132 GB, free: 62.07 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003507/14.26, allocations: 1.733 MB / 5.133 GB, free: 61.34 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.004017/14.26, allocations: 0.5708 MB / 5.134 GB, free: 61.32 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001733/14.26, allocations: 0.9686 MB / 5.135 GB, free: 61.31 MB / 1.01 GB Notification: Performance of SimCode: time 3.025e-06/14.26, allocations: 0 / 5.135 GB, free: 61.31 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2103/14.47, allocations: 110.8 MB / 5.243 GB, free: 57.02 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/14.47, allocations: 264.7 kB / 5.243 GB, free: 56.66 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.401/20.87, allocations: 0 / 5.243 GB, free: 56.66 MB / 1.01 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe 2>&1)