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.757/1.757, allocations: 289.7 MB / 302.2 MB, free: 2.172 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.001216/0.001216, allocations: 176.3 kB / 371.6 MB, free: 3.402 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.693/1.693, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0008886/0.0008888, allocations: 85.83 kB / 0.745 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.523e-05/5.525e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3253, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.494/7.819, allocations: 2.335 GB / 3.315 GB, free: 222.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/7.819, allocations: 93.75 kB / 3.315 GB, free: 222.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.347/12.17, allocations: 1.005 GB / 4.321 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.046e-06/12.17, allocations: 0 / 4.321 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001769/12.17, allocations: 52.66 kB / 4.321 GB, free: 114.8 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.00605/12.17, allocations: 1.868 MB / 4.322 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 8.348e-05/12.17, allocations: 11.5 kB / 4.322 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003221/12.17, allocations: 171.4 kB / 4.323 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002109/12.18, allocations: 354.4 kB / 4.323 GB, free: 114 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003851/12.18, allocations: 1.584 MB / 4.324 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.409e-05/12.18, allocations: 85.88 kB / 4.325 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001908/12.18, allocations: 122.5 kB / 4.325 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002215/12.18, allocations: 1.123 MB / 4.326 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.7e-05/12.18, allocations: 6.047 kB / 4.326 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/12.18, allocations: 47.25 kB / 4.326 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.529e-05/12.18, allocations: 45.78 kB / 4.326 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/12.18, allocations: 0.848 MB / 4.327 GB, free: 113.5 MB / 0.9636 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.007869/12.19, allocations: 5.502 MB / 4.332 GB, free: 110.9 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/12.19, allocations: 0.8288 MB / 4.333 GB, free: 110.7 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004879/12.19, allocations: 376 kB / 4.333 GB, free: 110.7 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005884/12.19, allocations: 0.6099 MB / 4.334 GB, free: 110.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/12.19, allocations: 47.56 kB / 4.334 GB, free: 110 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=70): time 3.727e-06/12.19, allocations: 0 / 4.334 GB, free: 110 MB / 0.9636 GB Notification: Performance of matching and sorting (n=70): time 0.002159/12.2, allocations: 0.8232 MB / 4.335 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/12.2, allocations: 61.09 kB / 4.335 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/12.2, allocations: 1.032 MB / 4.336 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.395e-05/12.2, allocations: 45.08 kB / 4.336 GB, free: 109.6 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005647/12.2, allocations: 0.689 MB / 4.336 GB, free: 109.4 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002403/12.2, allocations: 243.1 kB / 4.337 GB, free: 109.3 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/12.2, allocations: 15.72 kB / 4.337 GB, free: 109.3 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001099/12.2, allocations: 331.5 kB / 4.337 GB, free: 109 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003779/12.2, allocations: 243.4 kB / 4.337 GB, free: 109 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006234/12.2, allocations: 493.2 kB / 4.338 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005295/12.2, allocations: 327 kB / 4.338 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/12.2, allocations: 0 / 4.338 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001543/12.2, allocations: 0.9028 MB / 4.339 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002956/12.2, allocations: 0.9041 MB / 4.34 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/12.2, allocations: 0 / 4.34 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003575/12.2, allocations: 104.9 kB / 4.34 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007697/12.2, allocations: 157.9 kB / 4.34 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000942/12.2, allocations: 1.756 MB / 4.342 GB, free: 106.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/12.21, allocations: 164.2 kB / 4.342 GB, free: 106 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/12.21, allocations: 36.67 kB / 4.342 GB, free: 106 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/12.21, allocations: 3.312 kB / 4.342 GB, free: 106 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001393/12.21, allocations: 0.7259 MB / 4.343 GB, free: 106 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/12.21, allocations: 3.094 kB / 4.343 GB, free: 106 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002559/12.21, allocations: 89.52 kB / 4.343 GB, free: 106 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005876/12.21, allocations: 153.7 kB / 4.343 GB, free: 106 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002481/12.21, allocations: 3.124 MB / 4.346 GB, free: 103.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/12.21, allocations: 162.3 kB / 4.346 GB, free: 103.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.955e-05/12.21, allocations: 30.61 kB / 4.346 GB, free: 103.2 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 () * 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.0002872/12.21, allocations: 150.5 kB / 4.346 GB, free: 103.1 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002509/12.21, allocations: 147.2 kB / 4.346 GB, free: 103.1 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001798/12.22, allocations: 0.8979 MB / 4.347 GB, free: 103 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/12.22, allocations: 13.03 kB / 4.347 GB, free: 103 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/12.22, allocations: 0 / 4.347 GB, free: 103 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001271/12.22, allocations: 1.016 MB / 4.348 GB, free: 102.5 MB / 0.9636 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.004265/12.22, allocations: 2.388 MB / 4.351 GB, free: 102 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/12.22, allocations: 3.219 kB / 4.351 GB, free: 102 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007314/12.22, allocations: 159.7 kB / 4.351 GB, free: 102 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002597/12.22, allocations: 95.08 kB / 4.351 GB, free: 102 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.135e-05/12.22, allocations: 20.41 kB / 4.351 GB, free: 102 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008921/12.22, allocations: 1.73 MB / 4.353 GB, free: 100.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/12.22, allocations: 6.5 kB / 4.353 GB, free: 100.4 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00209/12.23, allocations: 1.504 MB / 4.354 GB, free: 99.88 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008249/12.23, allocations: 329.1 kB / 4.354 GB, free: 99.72 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/12.23, allocations: 19.92 kB / 4.354 GB, free: 99.71 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/12.23, allocations: 123.5 kB / 4.354 GB, free: 99.71 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/12.23, allocations: 50.86 kB / 4.355 GB, free: 99.71 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.357e-05/12.23, allocations: 26.45 kB / 4.355 GB, free: 99.71 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001235/12.23, allocations: 0.8058 MB / 4.355 GB, free: 99.59 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.6e-07/12.23, allocations: 3.094 kB / 4.355 GB, free: 99.59 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003439/12.23, allocations: 0.9866 MB / 4.356 GB, free: 99.53 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 () * 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.006059/12.24, allocations: 4.555 MB / 4.361 GB, free: 97.43 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00279/12.24, allocations: 1.335 MB / 4.362 GB, free: 97.18 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/12.24, allocations: 0 / 4.362 GB, free: 97.18 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0006938/12.24, allocations: 374.4 kB / 4.362 GB, free: 97.16 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004622/12.25, allocations: 0.7952 MB / 4.363 GB, free: 97.15 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006105/12.25, allocations: 2.447 MB / 4.366 GB, free: 96.45 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001186/12.25, allocations: 1.321 MB / 4.367 GB, free: 95.73 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002679/12.26, allocations: 467.7 kB / 4.367 GB, free: 95.72 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009036/12.26, allocations: 0.5491 MB / 4.368 GB, free: 95.71 MB / 0.9636 GB Notification: Performance of SimCode: time 2.785e-06/12.26, allocations: 0 / 4.368 GB, free: 95.71 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1759/12.43, allocations: 74.25 MB / 4.44 GB, free: 92.62 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002756/12.43, allocations: 232.9 kB / 4.441 GB, free: 92.31 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.863/17.3, allocations: 3.938 kB / 4.441 GB, free: 92.3 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)