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.771/1.771, allocations: 289.9 MB / 297.4 MB, free: 6.414 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.001518/0.001518, allocations: 172.9 kB / 366.7 MB, free: 1.648 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.1/2.1, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.001289/0.001289, allocations: 97.42 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.901e-05/5.929e-05, allocations: 8 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8065/0.8066, allocations: 116.3 MB / 0.9734 GB, free: 76.06 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.332/7.138, allocations: 2.383 GB / 3.357 GB, free: 54.29 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/7.139, allocations: 100.1 kB / 3.357 GB, free: 54.24 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.885/14.02, allocations: 1.65 GB / 5.007 GB, free: 107.5 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.234e-06/14.02, allocations: 0 / 5.007 GB, free: 107.5 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003488/14.02, allocations: 71.88 kB / 5.007 GB, free: 107.5 MB / 0.9948 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.01256/14.04, allocations: 2.841 MB / 5.01 GB, free: 106.4 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.225e-05/14.04, allocations: 10.53 kB / 5.01 GB, free: 106.4 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006394/14.04, allocations: 0.6706 MB / 5.011 GB, free: 106.2 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008994/14.05, allocations: 2.762 MB / 5.013 GB, free: 105.8 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.258e-05/14.05, allocations: 58.97 kB / 5.013 GB, free: 105.8 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002995/14.05, allocations: 119.7 kB / 5.014 GB, free: 105.8 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003359/14.06, allocations: 1.666 MB / 5.015 GB, free: 105.8 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003216/14.06, allocations: 1.899 MB / 5.017 GB, free: 105.6 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.394e-05/14.06, allocations: 10.14 kB / 5.017 GB, free: 105.6 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001656/14.06, allocations: 0 / 5.017 GB, free: 105.6 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.781e-05/14.06, allocations: 72.89 kB / 5.017 GB, free: 105.6 MB / 0.9948 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.01409/14.07, allocations: 9.044 MB / 5.026 GB, free: 101.7 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/14.08, allocations: 0.9561 MB / 5.027 GB, free: 101.7 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007554/14.08, allocations: 0.5688 MB / 5.027 GB, free: 101.7 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003988/14.08, allocations: 2.284 MB / 5.03 GB, free: 100.6 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/14.08, allocations: 46.84 kB / 5.03 GB, free: 100.5 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001454/14.08, allocations: 201.2 kB / 5.03 GB, free: 100.5 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=101): time 3.687e-06/14.08, allocations: 0 / 5.03 GB, free: 100.5 MB / 0.9948 GB Notification: Performance of matching and sorting (n=103): time 0.007761/14.09, allocations: 3.028 MB / 5.033 GB, free: 99.7 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/14.09, allocations: 66.02 kB / 5.033 GB, free: 99.64 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00314/14.09, allocations: 1.439 MB / 5.034 GB, free: 99.41 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001786/14.09, allocations: 29.3 kB / 5.034 GB, free: 99.38 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001182/14.09, allocations: 1.184 MB / 5.036 GB, free: 98.91 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004921/14.09, allocations: 347.1 kB / 5.036 GB, free: 98.69 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.419e-05/14.09, allocations: 2.375 kB / 5.036 GB, free: 98.69 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.000177/14.09, allocations: 359.7 kB / 5.036 GB, free: 98.38 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008069/14.1, allocations: 462.2 kB / 5.037 GB, free: 98.38 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/14.1, allocations: 1.034 MB / 5.038 GB, free: 97.69 MB / 0.9948 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.01842/14.11, allocations: 3.209 MB / 5.041 GB, free: 97.57 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-05/14.12, allocations: 5.125 kB / 5.041 GB, free: 97.57 MB / 0.9948 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.004697/14.12, allocations: 1.825 MB / 5.043 GB, free: 97.39 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00136/14.12, allocations: 5.871 MB / 5.048 GB, free: 91.32 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.614e-05/14.12, allocations: 18.03 kB / 5.048 GB, free: 91.32 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001473/14.12, allocations: 363.8 kB / 5.049 GB, free: 91.31 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/14.12, allocations: 300.3 kB / 5.049 GB, free: 91.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/14.12, allocations: 1.022 MB / 5.05 GB, free: 90.78 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002625/14.13, allocations: 137.5 kB / 5.05 GB, free: 90.76 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/14.13, allocations: 79.67 kB / 5.05 GB, free: 90.76 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/14.13, allocations: 3.938 kB / 5.05 GB, free: 90.76 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00345/14.13, allocations: 1.556 MB / 5.052 GB, free: 90.72 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.507e-05/14.13, allocations: 19.16 kB / 5.052 GB, free: 90.72 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001338/14.13, allocations: 349.4 kB / 5.052 GB, free: 90.71 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/14.13, allocations: 293.8 kB / 5.052 GB, free: 90.71 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001017/14.13, allocations: 1.038 MB / 5.053 GB, free: 90.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002505/14.14, allocations: 98.83 kB / 5.053 GB, free: 90.16 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/14.14, allocations: 80.62 kB / 5.053 GB, free: 90.16 MB / 0.9948 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.0004621/14.14, allocations: 152.8 kB / 5.054 GB, free: 90.05 MB / 0.9948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00338/14.14, allocations: 1.383 MB / 5.055 GB, free: 89.86 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003393/14.14, allocations: 211.7 kB / 5.055 GB, free: 89.75 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003453/14.15, allocations: 1.477 MB / 5.057 GB, free: 89.63 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/14.15, allocations: 11.56 kB / 5.057 GB, free: 89.63 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/14.15, allocations: 5.969 kB / 5.057 GB, free: 89.63 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002311/14.15, allocations: 1.157 MB / 5.058 GB, free: 89.52 MB / 0.9948 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.007116/14.15, allocations: 3.585 MB / 5.061 GB, free: 88.86 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/14.15, allocations: 9.656 kB / 5.061 GB, free: 88.86 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008269/14.16, allocations: 176.8 kB / 5.061 GB, free: 88.86 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001225/14.16, allocations: 318.3 kB / 5.062 GB, free: 88.86 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.76e-05/14.16, allocations: 21.2 kB / 5.062 GB, free: 88.86 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008531/14.16, allocations: 0.9573 MB / 5.063 GB, free: 88.32 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/14.16, allocations: 10.77 kB / 5.063 GB, free: 88.32 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003127/14.16, allocations: 2.456 MB / 5.065 GB, free: 87.26 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/14.16, allocations: 406.3 kB / 5.066 GB, free: 87.06 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002787/14.16, allocations: 19.03 kB / 5.066 GB, free: 87.06 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001609/14.16, allocations: 81.86 kB / 5.066 GB, free: 87.05 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/14.16, allocations: 80.06 kB / 5.066 GB, free: 87.04 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001222/14.16, allocations: 44.45 kB / 5.066 GB, free: 87.04 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001977/14.17, allocations: 1.072 MB / 5.067 GB, free: 86.9 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.3e-07/14.17, allocations: 0 / 5.067 GB, free: 86.9 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.005128/14.17, allocations: 1.246 MB / 5.068 GB, free: 86.85 MB / 0.9948 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 () * 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.009967/14.18, allocations: 8.203 MB / 5.076 GB, free: 82.5 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004099/14.19, allocations: 1.977 MB / 5.078 GB, free: 82.46 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.29e-05/14.19, allocations: 6.766 kB / 5.078 GB, free: 82.46 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009313/14.19, allocations: 0.5084 MB / 5.078 GB, free: 82.45 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006093/14.19, allocations: 1.126 MB / 5.08 GB, free: 82.43 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/14.2, allocations: 4.355 MB / 5.084 GB, free: 81.32 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00131/14.21, allocations: 1.729 MB / 5.085 GB, free: 80.59 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.003732/14.21, allocations: 0.7254 MB / 5.086 GB, free: 80.56 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001235/14.21, allocations: 0.9295 MB / 5.087 GB, free: 80.55 MB / 0.9948 GB Notification: Performance of SimCode: time 1.924e-06/14.21, allocations: 0 / 5.087 GB, free: 80.55 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1504/14.36, allocations: 85.85 MB / 5.171 GB, free: 64.43 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/14.36, allocations: 194.1 kB / 5.171 GB, free: 64.23 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.619/19.98, allocations: 0 / 5.171 GB, free: 64.23 MB / 0.9948 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)