Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.467/1.467, allocations: 249.5 MB / 257 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000995/0.000995, allocations: 183.1 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205.3 MB / 0.5671 GB, free: 15.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009738/0.0009736, allocations: 96.7 kB / 0.6714 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.23e-05/2.232e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2362, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.288/6.524, allocations: 2.5 GB / 3.386 GB, free: 187.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/6.524, allocations: 101.1 kB / 3.386 GB, free: 187.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.162/12.69, allocations: 1.604 GB / 4.989 GB, free: 101 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.763e-06/12.69, allocations: 0 / 4.989 GB, free: 101 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002702/12.69, allocations: 74.92 kB / 4.99 GB, free: 101 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.0102/12.7, allocations: 2.858 MB / 4.992 GB, free: 100 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/12.7, allocations: 11.73 kB / 4.992 GB, free: 100 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005311/12.7, allocations: 0.6715 MB / 4.993 GB, free: 99.87 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006758/12.71, allocations: 2.776 MB / 4.996 GB, free: 99.45 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.186e-05/12.71, allocations: 57.69 kB / 4.996 GB, free: 99.45 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003165/12.71, allocations: 114.7 kB / 4.996 GB, free: 99.45 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002867/12.71, allocations: 1.672 MB / 4.998 GB, free: 99.44 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002912/12.72, allocations: 1.91 MB / 4.999 GB, free: 99.25 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.237e-05/12.72, allocations: 5.188 kB / 4.999 GB, free: 99.25 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001591/12.72, allocations: 3.375 kB / 4.999 GB, free: 99.25 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.449e-05/12.72, allocations: 78.03 kB / 4.999 GB, free: 99.24 MB / 0.9323 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.01181/12.73, allocations: 9.056 MB / 5.008 GB, free: 95.44 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/12.73, allocations: 0.942 MB / 5.009 GB, free: 95.41 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006677/12.73, allocations: 0.5659 MB / 5.01 GB, free: 95.4 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003435/12.73, allocations: 2.295 MB / 5.012 GB, free: 94.34 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/12.73, allocations: 49.75 kB / 5.012 GB, free: 94.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001327/12.73, allocations: 192.7 kB / 5.012 GB, free: 94.27 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=101): time 4.739e-06/12.73, allocations: 0 / 5.012 GB, free: 94.27 MB / 0.9323 GB Notification: Performance of matching and sorting (n=103): time 0.006632/12.74, allocations: 3.026 MB / 5.015 GB, free: 93.52 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/12.74, allocations: 65.06 kB / 5.015 GB, free: 93.46 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002121/12.74, allocations: 1.447 MB / 5.017 GB, free: 93.25 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001147/12.74, allocations: 25.7 kB / 5.017 GB, free: 93.22 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006853/12.74, allocations: 1.179 MB / 5.018 GB, free: 92.81 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000267/12.74, allocations: 354.9 kB / 5.018 GB, free: 92.58 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.806e-05/12.74, allocations: 3.5 kB / 5.018 GB, free: 92.58 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.312e-05/12.74, allocations: 363.2 kB / 5.019 GB, free: 92.27 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006116/12.75, allocations: 463.1 kB / 5.019 GB, free: 92.27 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008359/12.75, allocations: 1.016 MB / 5.02 GB, free: 91.58 MB / 0.9323 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.01793/12.76, allocations: 3.191 MB / 5.023 GB, free: 91.46 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-05/12.76, allocations: 4.25 kB / 5.023 GB, free: 91.46 MB / 0.9323 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.004411/12.77, allocations: 1.809 MB / 5.025 GB, free: 91.29 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001106/12.77, allocations: 5.877 MB / 5.031 GB, free: 85.21 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.808e-05/12.77, allocations: 16.31 kB / 5.031 GB, free: 85.21 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001492/12.77, allocations: 357.5 kB / 5.031 GB, free: 85.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/12.77, allocations: 298.6 kB / 5.031 GB, free: 85.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/12.77, allocations: 1.024 MB / 5.032 GB, free: 84.67 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002465/12.78, allocations: 132.7 kB / 5.032 GB, free: 84.66 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001977/12.78, allocations: 79.64 kB / 5.032 GB, free: 84.66 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/12.78, allocations: 3.969 kB / 5.032 GB, free: 84.66 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003302/12.78, allocations: 1.554 MB / 5.034 GB, free: 84.62 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/12.78, allocations: 15.44 kB / 5.034 GB, free: 84.62 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/12.78, allocations: 354.6 kB / 5.034 GB, free: 84.61 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/12.78, allocations: 291.8 kB / 5.035 GB, free: 84.61 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009634/12.78, allocations: 1.027 MB / 5.036 GB, free: 84.08 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002497/12.79, allocations: 112.6 kB / 5.036 GB, free: 84.06 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/12.79, allocations: 85.39 kB / 5.036 GB, free: 84.06 MB / 0.9323 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.0004639/12.79, allocations: 144.8 kB / 5.036 GB, free: 83.95 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003347/12.79, allocations: 1.386 MB / 5.037 GB, free: 83.76 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005208/12.79, allocations: 211.1 kB / 5.037 GB, free: 83.65 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003488/12.79, allocations: 1.473 MB / 5.039 GB, free: 83.53 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/12.79, allocations: 12.75 kB / 5.039 GB, free: 83.53 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/12.79, allocations: 2.969 kB / 5.039 GB, free: 83.53 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002287/12.8, allocations: 1.149 MB / 5.04 GB, free: 83.42 MB / 0.9323 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.00733/12.8, allocations: 3.482 MB / 5.043 GB, free: 82.78 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/12.8, allocations: 3.594 kB / 5.043 GB, free: 82.78 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008244/12.8, allocations: 173.9 kB / 5.044 GB, free: 82.78 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001293/12.81, allocations: 320.4 kB / 5.044 GB, free: 82.77 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.391e-05/12.81, allocations: 18.36 kB / 5.044 GB, free: 82.77 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008574/12.81, allocations: 0.9691 MB / 5.045 GB, free: 82.23 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/12.81, allocations: 8.344 kB / 5.045 GB, free: 82.23 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003121/12.81, allocations: 2.457 MB / 5.047 GB, free: 81.17 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001224/12.81, allocations: 425.7 kB / 5.048 GB, free: 80.96 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002685/12.81, allocations: 6.594 kB / 5.048 GB, free: 80.96 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/12.81, allocations: 90.73 kB / 5.048 GB, free: 80.95 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/12.81, allocations: 77.12 kB / 5.048 GB, free: 80.95 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-05/12.81, allocations: 47.45 kB / 5.048 GB, free: 80.95 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001624/12.81, allocations: 1.079 MB / 5.049 GB, free: 80.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.4e-07/12.81, allocations: 0 / 5.049 GB, free: 80.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00468/12.82, allocations: 1.257 MB / 5.05 GB, free: 80.75 MB / 0.9323 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.008335/12.83, allocations: 8.203 MB / 5.058 GB, free: 76.43 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003847/12.83, allocations: 1.969 MB / 5.06 GB, free: 76.39 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/12.83, allocations: 0 / 5.06 GB, free: 76.39 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0008964/12.83, allocations: 0.5089 MB / 5.061 GB, free: 76.39 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005862/12.84, allocations: 1.102 MB / 5.062 GB, free: 76.37 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/12.85, allocations: 4.382 MB / 5.066 GB, free: 75.26 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/12.85, allocations: 1.737 MB / 5.068 GB, free: 74.52 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003561/12.85, allocations: 0.7423 MB / 5.068 GB, free: 74.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/12.85, allocations: 0.9296 MB / 5.069 GB, free: 74.5 MB / 0.9323 GB Notification: Performance of SimCode: time 1.162e-06/12.85, allocations: 0 / 5.069 GB, free: 74.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1503/13, allocations: 86.03 MB / 5.153 GB, free: 70.03 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/13.01, allocations: 208.8 kB / 5.154 GB, free: 69.74 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.007/18.01, allocations: 4 kB / 5.154 GB, free: 69.74 MB / 0.9323 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe 2>&1)