Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",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.475/1.475, allocations: 249.3 MB / 261.8 MB, free: 5.934 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.001224/0.001224, allocations: 178.4 kB / 321.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.0009112/0.0009111, allocations: 88.8 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.213e-05/4.23e-05, allocations: 4 kB / 0.788 GB, free: 97.04 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2893, allocations: 106.3 MB / 0.8919 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.568/1.857, allocations: 405.6 MB / 1.288 GB, free: 322.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/1.858, allocations: 93.19 kB / 1.288 GB, free: 322.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.916/4.773, allocations: 0.7718 GB / 2.06 GB, free: 122 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.783e-06/4.773, allocations: 0 / 2.06 GB, free: 122 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003807/4.774, allocations: 57.48 kB / 2.06 GB, free: 122 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.006737/4.781, allocations: 2.16 MB / 2.062 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/4.781, allocations: 10.62 kB / 2.062 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006658/4.781, allocations: 204.9 kB / 2.062 GB, free: 121 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/4.783, allocations: 260.1 kB / 2.062 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04807/4.831, allocations: 23.52 MB / 2.085 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/4.831, allocations: 111.5 kB / 2.085 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006287/4.832, allocations: 140.9 kB / 2.086 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003918/4.836, allocations: 1.39 MB / 2.087 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.993e-05/4.836, allocations: 0 / 2.087 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001885/4.836, allocations: 58.22 kB / 2.087 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-05/4.836, allocations: 42.56 kB / 2.087 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002215/4.838, allocations: 0.9518 MB / 2.088 GB, free: 119.4 MB / 0.8698 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.01215/4.85, allocations: 7.535 MB / 2.095 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008773/4.851, allocations: 456.3 kB / 2.096 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004253/4.852, allocations: 285 kB / 2.096 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008256/4.853, allocations: 1.158 MB / 2.097 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/4.853, allocations: 42.03 kB / 2.097 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=59): time 3.557e-06/4.853, allocations: 3.125 kB / 2.097 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=59): time 0.001397/4.854, allocations: 0.6492 MB / 2.098 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/4.854, allocations: 59.75 kB / 2.098 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002415/4.857, allocations: 1.503 MB / 2.099 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.996e-05/4.857, allocations: 50.38 kB / 2.099 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006783/4.857, allocations: 0.9334 MB / 2.1 GB, free: 113 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/4.858, allocations: 225.9 kB / 2.101 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/4.858, allocations: 16.5 kB / 2.101 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.294e-05/4.858, allocations: 342.1 kB / 2.101 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003505/4.858, allocations: 232.4 kB / 2.101 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005852/4.859, allocations: 0.607 MB / 2.102 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000501/4.859, allocations: 346.7 kB / 2.102 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/4.859, allocations: 5.625 kB / 2.102 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001722/4.861, allocations: 0.9831 MB / 2.103 GB, free: 112 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/4.861, allocations: 12.12 kB / 2.103 GB, free: 112 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/4.861, allocations: 10.62 kB / 2.103 GB, free: 112 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.049e-05/4.861, allocations: 15.72 kB / 2.103 GB, free: 112 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007401/4.862, allocations: 237.1 kB / 2.103 GB, free: 112 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.606e-05/4.862, allocations: 21.44 kB / 2.103 GB, free: 112 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001929/4.864, allocations: 227.8 kB / 2.104 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/4.864, allocations: 50.11 kB / 2.104 GB, free: 111.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002475/4.864, allocations: 168.4 kB / 2.104 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004993/4.865, allocations: 198.8 kB / 2.104 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/4.866, allocations: 0.7844 MB / 2.105 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-05/4.866, allocations: 6.094 kB / 2.105 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/4.866, allocations: 7.344 kB / 2.105 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008019/4.867, allocations: 0.7025 MB / 2.105 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005441/4.873, allocations: 2.361 MB / 2.108 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/4.873, allocations: 7.219 kB / 2.108 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000729/4.873, allocations: 181.9 kB / 2.108 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.518e-05/4.873, allocations: 3.938 kB / 2.108 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.334e-05/4.873, allocations: 14.97 kB / 2.108 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/4.873, allocations: 9.75 kB / 2.108 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/4.873, allocations: 3.281 kB / 2.108 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/4.875, allocations: 1.389 MB / 2.109 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/4.876, allocations: 396.4 kB / 2.11 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005414/4.877, allocations: 14.16 kB / 2.11 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001566/4.879, allocations: 131.1 kB / 2.11 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/4.879, allocations: 55.34 kB / 2.11 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-05/4.879, allocations: 37.75 kB / 2.11 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002015/4.881, allocations: 1.194 MB / 2.111 GB, free: 110 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.7e-07/4.881, allocations: 1.969 kB / 2.111 GB, free: 110 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002522/4.883, allocations: 0.6949 MB / 2.112 GB, free: 109.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.dynBal.U) * 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: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003554/4.887, allocations: 3.262 MB / 2.115 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001104/4.888, allocations: 0.6521 MB / 2.116 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/4.888, allocations: 0 / 2.116 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004241/4.888, allocations: 322.9 kB / 2.116 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006403/4.895, allocations: 1.242 MB / 2.117 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006448/4.901, allocations: 2.84 MB / 2.12 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009393/4.902, allocations: 1.442 MB / 2.121 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001841/4.904, allocations: 378.6 kB / 2.122 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009885/4.905, allocations: 0.7538 MB / 2.122 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of SimCode: time 8.92e-07/4.905, allocations: 0 / 2.122 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09827/5.003, allocations: 63.19 MB / 2.184 GB, free: 69.52 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/5.004, allocations: 216.5 kB / 2.184 GB, free: 69.29 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.642/9.646, allocations: 0 / 2.184 GB, free: 69.29 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)