Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.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.HexElementSensible,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.776/1.776, allocations: 292.6 MB / 307.5 MB, free: 5.16 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.001269/0.001269, allocations: 173.1 kB / 377.1 MB, free: 1.516 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.808/1.808, allocations: 205.4 MB / 0.6366 GB, free: 8.609 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.0009921/0.0009923, allocations: 91.75 kB / 0.7509 GB, free: 62.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003747/0.0003747, allocations: 12 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.295, allocations: 116.3 MB / 0.9884 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.676/6.971, allocations: 2.335 GB / 3.324 GB, free: 247.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/6.971, allocations: 99.33 kB / 3.324 GB, free: 247.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.968/10.94, allocations: 1.007 GB / 4.331 GB, free: 113.2 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.804e-06/10.94, allocations: 0 / 4.331 GB, free: 113.2 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001768/10.94, allocations: 52.38 kB / 4.331 GB, free: 113.2 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.006518/10.95, allocations: 2.175 MB / 4.333 GB, free: 112.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 7.882e-05/10.95, allocations: 11.38 kB / 4.333 GB, free: 112.4 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003201/10.95, allocations: 167.3 kB / 4.333 GB, free: 112.4 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001883/10.95, allocations: 348.2 kB / 4.334 GB, free: 112.3 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003703/10.95, allocations: 1.603 MB / 4.335 GB, free: 112 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.155e-05/10.95, allocations: 83.25 kB / 4.335 GB, free: 111.9 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001754/10.95, allocations: 120.2 kB / 4.335 GB, free: 111.9 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/10.95, allocations: 1.179 MB / 4.336 GB, free: 111.8 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.446e-05/10.95, allocations: 6.531 kB / 4.336 GB, free: 111.8 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/10.95, allocations: 46.19 kB / 4.336 GB, free: 111.8 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.911e-05/10.95, allocations: 51 kB / 4.337 GB, free: 111.8 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/10.96, allocations: 0.936 MB / 4.337 GB, free: 111.8 MB / 0.9636 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.007025/10.96, allocations: 5.504 MB / 4.343 GB, free: 109.2 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/10.96, allocations: 0.8768 MB / 4.344 GB, free: 109 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005159/10.96, allocations: 0.6057 MB / 4.344 GB, free: 108.3 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/10.96, allocations: 45.09 kB / 4.344 GB, free: 108.3 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=70): time 3.096e-06/10.96, allocations: 0 / 4.344 GB, free: 108.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=70): time 0.003112/10.97, allocations: 1.405 MB / 4.346 GB, free: 108 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/10.97, allocations: 57.69 kB / 4.346 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001491/10.97, allocations: 1.047 MB / 4.347 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001105/10.97, allocations: 45.58 kB / 4.347 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004959/10.97, allocations: 0.6868 MB / 4.347 GB, free: 107.5 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/10.97, allocations: 247.1 kB / 4.348 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/10.97, allocations: 13 kB / 4.348 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.494e-05/10.97, allocations: 338.7 kB / 4.348 GB, free: 107.1 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004873/10.97, allocations: 277.3 kB / 4.348 GB, free: 107.1 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006359/10.97, allocations: 0.5235 MB / 4.349 GB, free: 106.9 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000591/10.97, allocations: 352.8 kB / 4.349 GB, free: 106.9 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/10.97, allocations: 2.688 kB / 4.349 GB, free: 106.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001785/10.97, allocations: 0.9715 MB / 4.35 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002604/10.97, allocations: 0.9061 MB / 4.351 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/10.97, allocations: 2.531 kB / 4.351 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003486/10.97, allocations: 107.2 kB / 4.351 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007274/10.98, allocations: 160.5 kB / 4.351 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008484/10.98, allocations: 1.759 MB / 4.353 GB, free: 104.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/10.98, allocations: 171.2 kB / 4.353 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.889e-05/10.98, allocations: 28.44 kB / 4.353 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/10.98, allocations: 6.688 kB / 4.353 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001418/10.98, allocations: 0.7986 MB / 4.354 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/10.98, allocations: 3.188 kB / 4.354 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002477/10.98, allocations: 99.59 kB / 4.354 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005777/10.98, allocations: 146.7 kB / 4.354 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002356/10.98, allocations: 3.158 MB / 4.357 GB, free: 101.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/10.98, allocations: 150.8 kB / 4.357 GB, free: 101.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.414e-05/10.98, allocations: 25.53 kB / 4.357 GB, free: 101.4 MB / 0.9636 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.001019/10.99, allocations: 441 kB / 4.358 GB, free: 101.2 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002443/10.99, allocations: 148.6 kB / 4.358 GB, free: 101.1 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/10.99, allocations: 0.984 MB / 4.359 GB, free: 101 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/10.99, allocations: 9.938 kB / 4.359 GB, free: 101 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/10.99, allocations: 0 / 4.359 GB, free: 101 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00127/10.99, allocations: 1.086 MB / 4.36 GB, free: 100.5 MB / 0.9636 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.004223/10.99, allocations: 2.451 MB / 4.362 GB, free: 100.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/10.99, allocations: 3.75 kB / 4.362 GB, free: 100.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007321/10.99, allocations: 162 kB / 4.363 GB, free: 100.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002267/10.99, allocations: 92.64 kB / 4.363 GB, free: 100.1 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.211e-05/10.99, allocations: 17.12 kB / 4.363 GB, free: 100.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007015/10.99, allocations: 1.737 MB / 4.364 GB, free: 98.44 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/10.99, allocations: 2.656 kB / 4.364 GB, free: 98.44 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002247/11, allocations: 1.622 MB / 4.366 GB, free: 97.93 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008006/11, allocations: 325.8 kB / 4.366 GB, free: 97.76 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/11, allocations: 19.17 kB / 4.366 GB, free: 97.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/11, allocations: 126.1 kB / 4.366 GB, free: 97.75 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/11, allocations: 46.84 kB / 4.366 GB, free: 97.75 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.878e-05/11, allocations: 31.58 kB / 4.367 GB, free: 97.75 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001097/11, allocations: 0.8203 MB / 4.367 GB, free: 97.64 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.61e-07/11, allocations: 2.5 kB / 4.367 GB, free: 97.64 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003087/11, allocations: 0.9854 MB / 4.368 GB, free: 97.57 MB / 0.9636 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.005601/11.01, allocations: 4.661 MB / 4.373 GB, free: 95.48 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002696/11.01, allocations: 1.394 MB / 4.374 GB, free: 95.24 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/11.01, allocations: 3.188 kB / 4.374 GB, free: 95.24 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0007664/11.01, allocations: 419.5 kB / 4.375 GB, free: 95.23 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003849/11.02, allocations: 0.797 MB / 4.375 GB, free: 95.23 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/11.03, allocations: 9.717 MB / 4.385 GB, free: 90.88 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007886/11.03, allocations: 1.314 MB / 4.386 GB, free: 90.16 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001738/11.03, allocations: 351.1 kB / 4.386 GB, free: 90.14 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006977/11.03, allocations: 0.5797 MB / 4.387 GB, free: 90.13 MB / 0.9636 GB Notification: Performance of SimCode: time 1.112e-06/11.03, allocations: 0 / 4.387 GB, free: 90.13 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1304/11.16, allocations: 67.7 MB / 4.453 GB, free: 87.38 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/11.16, allocations: 273.9 kB / 4.453 GB, free: 87.02 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.509/15.67, allocations: 0 / 4.453 GB, free: 87.02 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)