Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.807/1.807, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001178/0.001179, allocations: 172.8 kB / 361.4 MB, free: 6.844 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.779/1.779, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0009038/0.0009037, allocations: 99.72 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.522e-05/2.516e-05, allocations: 8 kB / 0.8518 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7453/0.7454, allocations: 115.3 MB / 0.9645 GB, free: 78.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.965/6.711, allocations: 2.382 GB / 3.347 GB, free: 140.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/6.711, allocations: 101.4 kB / 3.347 GB, free: 140.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.977/13.69, allocations: 1.65 GB / 4.997 GB, free: 110.1 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.422e-06/13.69, allocations: 0 / 4.997 GB, free: 110.1 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.000286/13.69, allocations: 71.91 kB / 4.997 GB, free: 110.1 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.01021/13.7, allocations: 2.851 MB / 5 GB, free: 109.3 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/13.7, allocations: 11.28 kB / 5 GB, free: 109.3 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005386/13.7, allocations: 0.6684 MB / 5.001 GB, free: 109.1 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007163/13.71, allocations: 2.757 MB / 5.004 GB, free: 108.7 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.972e-05/13.71, allocations: 57.22 kB / 5.004 GB, free: 108.7 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003111/13.71, allocations: 122.1 kB / 5.004 GB, free: 108.7 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0031/13.72, allocations: 1.669 MB / 5.005 GB, free: 108.7 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003159/13.72, allocations: 1.899 MB / 5.007 GB, free: 108.5 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.321e-05/13.72, allocations: 3.562 kB / 5.007 GB, free: 108.5 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001633/13.72, allocations: 3.844 kB / 5.007 GB, free: 108.5 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.416e-05/13.72, allocations: 77.48 kB / 5.007 GB, free: 108.5 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.01373/13.73, allocations: 9.039 MB / 5.016 GB, free: 104.7 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/13.73, allocations: 0.9517 MB / 5.017 GB, free: 104.7 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008978/13.74, allocations: 0.57 MB / 5.018 GB, free: 104.7 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004094/13.74, allocations: 2.289 MB / 5.02 GB, free: 103.6 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/13.74, allocations: 47.84 kB / 5.02 GB, free: 103.5 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001584/13.74, allocations: 205.7 kB / 5.02 GB, free: 103.5 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=101): time 6.302e-06/13.74, allocations: 3.812 kB / 5.02 GB, free: 103.5 MB / 0.9948 GB Notification: Performance of matching and sorting (n=103): time 0.008805/13.75, allocations: 3.019 MB / 5.023 GB, free: 102.8 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/13.75, allocations: 64.06 kB / 5.023 GB, free: 102.7 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003164/13.75, allocations: 1.43 MB / 5.024 GB, free: 102.5 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001698/13.75, allocations: 31.75 kB / 5.025 GB, free: 102.5 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00124/13.75, allocations: 1.184 MB / 5.026 GB, free: 102.1 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004521/13.75, allocations: 356 kB / 5.026 GB, free: 101.9 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.699e-05/13.75, allocations: 0 / 5.026 GB, free: 101.9 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001504/13.76, allocations: 359 kB / 5.026 GB, free: 101.6 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008515/13.76, allocations: 463.7 kB / 5.027 GB, free: 101.6 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/13.76, allocations: 1.027 MB / 5.028 GB, free: 100.9 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.02043/13.78, allocations: 3.215 MB / 5.031 GB, free: 100.8 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.345e-05/13.78, allocations: 10.33 kB / 5.031 GB, free: 100.8 MB / 0.9948 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.005053/13.78, allocations: 1.817 MB / 5.033 GB, free: 100.6 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001419/13.78, allocations: 5.879 MB / 5.038 GB, free: 94.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.028e-05/13.78, allocations: 16.16 kB / 5.038 GB, free: 94.57 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001526/13.79, allocations: 356.5 kB / 5.039 GB, free: 94.55 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/13.79, allocations: 302.8 kB / 5.039 GB, free: 94.55 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/13.79, allocations: 1.024 MB / 5.04 GB, free: 94.02 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002683/13.79, allocations: 128.5 kB / 5.04 GB, free: 94.01 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000211/13.79, allocations: 81.44 kB / 5.04 GB, free: 94.01 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/13.79, allocations: 4.469 kB / 5.04 GB, free: 94.01 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004373/13.8, allocations: 1.549 MB / 5.042 GB, free: 93.97 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.881e-05/13.8, allocations: 17.75 kB / 5.042 GB, free: 93.97 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001565/13.8, allocations: 359.5 kB / 5.042 GB, free: 93.96 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/13.8, allocations: 291.3 kB / 5.042 GB, free: 93.96 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/13.8, allocations: 1.024 MB / 5.043 GB, free: 93.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002601/13.8, allocations: 113.4 kB / 5.044 GB, free: 93.42 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002634/13.8, allocations: 78.03 kB / 5.044 GB, free: 93.42 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.0005773/13.8, allocations: 152.4 kB / 5.044 GB, free: 93.32 MB / 0.9948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004195/13.81, allocations: 1.391 MB / 5.045 GB, free: 93.13 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008452/13.81, allocations: 218.5 kB / 5.045 GB, free: 93.02 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004333/13.81, allocations: 1.47 MB / 5.047 GB, free: 92.91 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.198e-05/13.81, allocations: 10.25 kB / 5.047 GB, free: 92.91 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/13.81, allocations: 3.672 kB / 5.047 GB, free: 92.91 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002919/13.82, allocations: 1.142 MB / 5.048 GB, free: 92.8 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.01002/13.83, allocations: 3.495 MB / 5.051 GB, free: 92.15 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.867e-05/13.83, allocations: 4.75 kB / 5.051 GB, free: 92.15 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009564/13.83, allocations: 173 kB / 5.052 GB, free: 92.15 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001478/13.83, allocations: 315.5 kB / 5.052 GB, free: 92.14 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/13.83, allocations: 17.36 kB / 5.052 GB, free: 92.14 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/13.83, allocations: 0.969 MB / 5.053 GB, free: 91.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.237e-05/13.83, allocations: 11.02 kB / 5.053 GB, free: 91.6 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004296/13.83, allocations: 2.453 MB / 5.055 GB, free: 90.55 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001649/13.84, allocations: 408 kB / 5.056 GB, free: 90.35 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008043/13.84, allocations: 19.73 kB / 5.056 GB, free: 90.35 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002095/13.84, allocations: 81.77 kB / 5.056 GB, free: 90.34 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/13.84, allocations: 75.7 kB / 5.056 GB, free: 90.34 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001566/13.84, allocations: 48.38 kB / 5.056 GB, free: 90.34 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.003071/13.84, allocations: 1.071 MB / 5.057 GB, free: 90.2 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.4e-07/13.84, allocations: 2.516 kB / 5.057 GB, free: 90.2 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.007274/13.85, allocations: 1.244 MB / 5.058 GB, free: 90.16 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.01166/13.86, allocations: 8.216 MB / 5.066 GB, free: 85.86 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004894/13.87, allocations: 1.98 MB / 5.068 GB, free: 85.82 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/13.87, allocations: 3.562 kB / 5.068 GB, free: 85.82 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001098/13.87, allocations: 0.5104 MB / 5.069 GB, free: 85.81 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007008/13.87, allocations: 1.109 MB / 5.07 GB, free: 85.8 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01455/13.89, allocations: 4.351 MB / 5.074 GB, free: 84.71 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002167/13.89, allocations: 1.735 MB / 5.076 GB, free: 83.98 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.004846/13.9, allocations: 0.7346 MB / 5.076 GB, free: 83.96 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001499/13.9, allocations: 0.9268 MB / 5.077 GB, free: 83.95 MB / 0.9948 GB Notification: Performance of SimCode: time 1.333e-06/13.9, allocations: 3.75 kB / 5.077 GB, free: 83.95 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1648/14.06, allocations: 85.84 MB / 5.161 GB, free: 80.24 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/14.06, allocations: 212.3 kB / 5.161 GB, free: 79.96 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.145/19.21, allocations: 0 / 5.161 GB, free: 79.96 MB / 0.9948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe 2>&1)