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.399/1.399, allocations: 251.9 MB / 266.9 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001191/0.001191, allocations: 182.9 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.138/2.138, allocations: 205.4 MB / 0.5775 GB, free: 20.5 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.000906/0.0009061, allocations: 86.44 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004926/0.0004926, allocations: 12.41 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2851, allocations: 106.3 MB / 0.9002 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.671/6.957, allocations: 2.451 GB / 3.351 GB, free: 60.43 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003233/6.957, allocations: 99.66 kB / 3.351 GB, free: 60.38 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.96/10.92, allocations: 0.9783 GB / 4.33 GB, free: 96.72 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.479e-06/10.92, allocations: 0 / 4.33 GB, free: 96.72 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003019/10.92, allocations: 59.41 kB / 4.33 GB, free: 96.66 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.007844/10.93, allocations: 2.181 MB / 4.332 GB, free: 94.45 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/10.93, allocations: 8.031 kB / 4.332 GB, free: 94.44 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006687/10.93, allocations: 168.9 kB / 4.332 GB, free: 94.27 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002383/10.93, allocations: 349.5 kB / 4.332 GB, free: 93.92 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004962/10.93, allocations: 1.601 MB / 4.334 GB, free: 92.27 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/10.93, allocations: 98.11 kB / 4.334 GB, free: 92.17 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000428/10.93, allocations: 116 kB / 4.334 GB, free: 92.06 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002992/10.94, allocations: 1.189 MB / 4.335 GB, free: 90.82 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.623e-05/10.94, allocations: 7.891 kB / 4.335 GB, free: 90.81 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/10.94, allocations: 44 kB / 4.335 GB, free: 90.77 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.99e-05/10.94, allocations: 49 kB / 4.335 GB, free: 90.72 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002057/10.94, allocations: 0.9336 MB / 4.336 GB, free: 89.78 MB / 0.8855 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.008845/10.95, allocations: 5.523 MB / 4.342 GB, free: 83.85 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/10.95, allocations: 0.8638 MB / 4.342 GB, free: 82.94 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005487/10.95, allocations: 0.6058 MB / 4.343 GB, free: 82.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/10.95, allocations: 43.12 kB / 4.343 GB, free: 82.15 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=70): time 3.477e-06/10.95, allocations: 0 / 4.343 GB, free: 82.15 MB / 0.8855 GB Notification: Performance of matching and sorting (n=70): time 0.003252/10.95, allocations: 1.388 MB / 4.344 GB, free: 80.71 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/10.95, allocations: 64.41 kB / 4.345 GB, free: 80.64 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001983/10.96, allocations: 1.05 MB / 4.346 GB, free: 79.58 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001586/10.96, allocations: 41.7 kB / 4.346 GB, free: 79.54 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006065/10.96, allocations: 0.7023 MB / 4.346 GB, free: 78.82 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002653/10.96, allocations: 244.4 kB / 4.347 GB, free: 78.58 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/10.96, allocations: 12 kB / 4.347 GB, free: 78.57 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001003/10.96, allocations: 334 kB / 4.347 GB, free: 78.24 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005044/10.96, allocations: 285.8 kB / 4.347 GB, free: 77.96 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006706/10.96, allocations: 0.5128 MB / 4.348 GB, free: 77.35 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005913/10.96, allocations: 361.7 kB / 4.348 GB, free: 77 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/10.96, allocations: 4 kB / 4.348 GB, free: 77 MB / 0.8855 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001848/10.96, allocations: 0.9697 MB / 4.349 GB, free: 76.01 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002918/10.96, allocations: 0.8971 MB / 4.35 GB, free: 75.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/10.96, allocations: 4 kB / 4.35 GB, free: 75.06 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003577/10.96, allocations: 101.5 kB / 4.35 GB, free: 74.96 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006976/10.96, allocations: 151.8 kB / 4.35 GB, free: 74.81 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009558/10.96, allocations: 1.769 MB / 4.352 GB, free: 72.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/10.96, allocations: 175.1 kB / 4.352 GB, free: 72.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-05/10.96, allocations: 32.06 kB / 4.352 GB, free: 72.77 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/10.96, allocations: 4 kB / 4.352 GB, free: 72.76 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00139/10.97, allocations: 0.8055 MB / 4.353 GB, free: 71.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/10.97, allocations: 3.953 kB / 4.353 GB, free: 71.95 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002499/10.97, allocations: 89.64 kB / 4.353 GB, free: 71.85 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005613/10.97, allocations: 156 kB / 4.353 GB, free: 71.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002463/10.97, allocations: 3.146 MB / 4.356 GB, free: 68.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/10.97, allocations: 155.3 kB / 4.356 GB, free: 68.13 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.909e-05/10.97, allocations: 35.98 kB / 4.356 GB, free: 68.09 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (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.0009982/10.97, allocations: 452.7 kB / 4.357 GB, free: 67.64 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000441/10.97, allocations: 146.2 kB / 4.357 GB, free: 67.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001926/10.97, allocations: 0.9537 MB / 4.358 GB, free: 66.52 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/10.97, allocations: 12 kB / 4.358 GB, free: 66.51 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/10.97, allocations: 0 / 4.358 GB, free: 66.51 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001316/10.98, allocations: 1.09 MB / 4.359 GB, free: 65.32 MB / 0.8855 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.004806/10.98, allocations: 2.451 MB / 4.361 GB, free: 62.78 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/10.98, allocations: 8.062 kB / 4.361 GB, free: 62.77 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007218/10.98, allocations: 159.7 kB / 4.361 GB, free: 62.61 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002267/10.98, allocations: 89.61 kB / 4.361 GB, free: 62.52 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.715e-05/10.98, allocations: 19.98 kB / 4.361 GB, free: 62.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007708/10.98, allocations: 1.734 MB / 4.363 GB, free: 60.69 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/10.98, allocations: 4.219 kB / 4.363 GB, free: 60.69 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002223/10.98, allocations: 1.612 MB / 4.365 GB, free: 58.95 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009305/10.99, allocations: 335.1 kB / 4.365 GB, free: 58.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003665/10.99, allocations: 16.19 kB / 4.365 GB, free: 58.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/10.99, allocations: 127.6 kB / 4.365 GB, free: 58.46 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/10.99, allocations: 56.38 kB / 4.365 GB, free: 58.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/10.99, allocations: 27.98 kB / 4.365 GB, free: 58.38 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00143/10.99, allocations: 0.828 MB / 4.366 GB, free: 57.55 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/10.99, allocations: 0 / 4.366 GB, free: 57.55 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004059/10.99, allocations: 0.9903 MB / 4.367 GB, free: 56.56 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 () * Number of clocked 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.005981/11, allocations: 4.647 MB / 4.372 GB, free: 51.86 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002782/11, allocations: 1.385 MB / 4.373 GB, free: 50.45 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/11, allocations: 0 / 4.373 GB, free: 50.45 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007223/11, allocations: 419.7 kB / 4.373 GB, free: 50.04 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004264/11.01, allocations: 0.8025 MB / 4.374 GB, free: 49.27 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01627/11.02, allocations: 9.721 MB / 4.384 GB, free: 39.19 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/11.02, allocations: 1.315 MB / 4.385 GB, free: 37.85 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001846/11.03, allocations: 349.8 kB / 4.385 GB, free: 37.52 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009309/11.03, allocations: 0.5735 MB / 4.386 GB, free: 36.95 MB / 0.8855 GB Notification: Performance of SimCode: time 1.754e-06/11.03, allocations: 4 kB / 4.386 GB, free: 36.94 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.724/11.75, allocations: 67.78 MB / 4.452 GB, free: 138.4 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002319/11.75, allocations: 275.8 kB / 4.452 GB, free: 138 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.596/16.35, allocations: 0 / 4.452 GB, free: 138 MB / 0.9011 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)