Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.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.HexElementSensible,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",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.486/1.486, allocations: 249.5 MB / 257 MB, free: 6.984 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.001138/0.001138, allocations: 182 kB / 316.3 MB, free: 3.27 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.54/1.54, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0008779/0.0008779, allocations: 95.14 kB / 0.6714 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.13e-05/2.131e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2176, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.285/6.502, allocations: 2.451 GB / 3.337 GB, free: 302.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/6.503, allocations: 97.83 kB / 3.337 GB, free: 302.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.731/10.23, allocations: 0.9677 GB / 4.304 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.188e-06/10.23, allocations: 0 / 4.304 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0005743/10.23, allocations: 51.41 kB / 4.304 GB, free: 119.5 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.01069/10.25, allocations: 1.879 MB / 4.306 GB, free: 119 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.181e-05/10.25, allocations: 9.5 kB / 4.306 GB, free: 119 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003284/10.25, allocations: 347.7 kB / 4.307 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005961/10.25, allocations: 1.596 MB / 4.308 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/10.25, allocations: 35.75 kB / 4.308 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005242/10.26, allocations: 70.22 kB / 4.308 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002496/10.26, allocations: 0.7851 MB / 4.309 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002793/10.26, allocations: 0.9704 MB / 4.31 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.668e-05/10.26, allocations: 5.219 kB / 4.31 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001531/10.26, allocations: 7.859 kB / 4.31 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.815e-05/10.26, allocations: 47.27 kB / 4.31 GB, free: 118.4 MB / 0.8855 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.009973/10.27, allocations: 5.286 MB / 4.315 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/10.27, allocations: 0.8042 MB / 4.316 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005863/10.27, allocations: 352 kB / 4.316 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005648/10.27, allocations: 0.6026 MB / 4.317 GB, free: 115 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/10.27, allocations: 49.42 kB / 4.317 GB, free: 115 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=70): time 3.817e-06/10.27, allocations: 0 / 4.317 GB, free: 115 MB / 0.8855 GB Notification: Performance of matching and sorting (n=70): time 0.002522/10.28, allocations: 0.8132 MB / 4.318 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/10.28, allocations: 59.56 kB / 4.318 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002195/10.28, allocations: 0.8723 MB / 4.319 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001333/10.28, allocations: 28.45 kB / 4.319 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006597/10.28, allocations: 0.6998 MB / 4.319 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002509/10.28, allocations: 238.5 kB / 4.32 GB, free: 114.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/10.28, allocations: 0 / 4.32 GB, free: 114.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.936e-05/10.28, allocations: 337.2 kB / 4.32 GB, free: 114 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003825/10.28, allocations: 230 kB / 4.32 GB, free: 114 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006049/10.28, allocations: 474.6 kB / 4.321 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006366/10.28, allocations: 327.7 kB / 4.321 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/10.28, allocations: 1.094 kB / 4.321 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001859/10.28, allocations: 0.879 MB / 4.322 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002775/10.28, allocations: 1.073 MB / 4.323 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/10.28, allocations: 6.703 kB / 4.323 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002873/10.28, allocations: 82.84 kB / 4.323 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008057/10.28, allocations: 168.7 kB / 4.323 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009317/10.29, allocations: 1.781 MB / 4.325 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/10.29, allocations: 133.3 kB / 4.325 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.136e-05/10.29, allocations: 34.81 kB / 4.325 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/10.29, allocations: 4.5 kB / 4.325 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001384/10.29, allocations: 0.6615 MB / 4.326 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/10.29, allocations: 3.188 kB / 4.326 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002515/10.29, allocations: 92.17 kB / 4.326 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006075/10.29, allocations: 149.8 kB / 4.326 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002325/10.29, allocations: 2.953 MB / 4.329 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/10.29, allocations: 145.2 kB / 4.329 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.359e-05/10.29, allocations: 28.03 kB / 4.329 GB, free: 108.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002598/10.29, allocations: 117.8 kB / 4.329 GB, free: 108.1 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001631/10.3, allocations: 0.7522 MB / 4.33 GB, free: 108 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/10.3, allocations: 133 kB / 4.33 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001688/10.3, allocations: 0.8328 MB / 4.331 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/10.3, allocations: 9.219 kB / 4.331 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/10.3, allocations: 1.188 kB / 4.331 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001206/10.3, allocations: 0.9682 MB / 4.332 GB, free: 107.3 MB / 0.8855 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.00422/10.3, allocations: 2.18 MB / 4.334 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/10.3, allocations: 2.594 kB / 4.334 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000765/10.3, allocations: 155.8 kB / 4.334 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001613/10.3, allocations: 73.19 kB / 4.334 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.815e-05/10.3, allocations: 14.08 kB / 4.334 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007593/10.3, allocations: 1.739 MB / 4.336 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/10.3, allocations: 7.109 kB / 4.336 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001986/10.31, allocations: 1.422 MB / 4.337 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008358/10.31, allocations: 326.6 kB / 4.337 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/10.31, allocations: 3.594 kB / 4.337 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/10.31, allocations: 113.6 kB / 4.337 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/10.31, allocations: 48.39 kB / 4.338 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.163e-05/10.31, allocations: 26.78 kB / 4.338 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00104/10.31, allocations: 0.6785 MB / 4.338 GB, free: 104.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/10.31, allocations: 2.531 kB / 4.338 GB, free: 104.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003095/10.31, allocations: 0.9276 MB / 4.339 GB, free: 104.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.vol2.dynBal.mXi[1],hex.mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.005023/10.32, allocations: 4.677 MB / 4.344 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002329/10.32, allocations: 1.26 MB / 4.345 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/10.32, allocations: 3.438 kB / 4.345 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005557/10.32, allocations: 349.2 kB / 4.345 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00381/10.33, allocations: 0.7458 MB / 4.346 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004495/10.33, allocations: 2.37 MB / 4.348 GB, free: 101.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008328/10.33, allocations: 1.328 MB / 4.35 GB, free: 100.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001985/10.33, allocations: 422.1 kB / 4.35 GB, free: 100.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006518/10.33, allocations: 0.5423 MB / 4.351 GB, free: 100.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.473e-06/10.33, allocations: 0 / 4.351 GB, free: 100.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1063/10.44, allocations: 52.25 MB / 4.402 GB, free: 98.95 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/10.44, allocations: 203.6 kB / 4.402 GB, free: 98.68 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.796/14.24, allocations: 0 / 4.402 GB, free: 98.68 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)