Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.697/1.697, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001211/0.001211, allocations: 180.4 kB / 361.4 MB, free: 6.852 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.812/1.812, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.000851/0.0008511, allocations: 91.81 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.25e-05/3.254e-05, allocations: 8 kB / 0.8518 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7572/0.7573, allocations: 115.3 MB / 0.9644 GB, free: 79.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.138/1.895, allocations: 406.6 MB / 1.362 GB, free: 160.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/1.895, allocations: 91.55 kB / 1.362 GB, free: 160.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.482/3.377, allocations: 431.8 MB / 1.783 GB, free: 188.3 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.974e-06/3.377, allocations: 0 / 1.783 GB, free: 188.3 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001601/3.377, allocations: 26.73 kB / 1.783 GB, free: 188.3 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002896/3.38, allocations: 1.251 MB / 1.785 GB, free: 187 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/3.38, allocations: 12.03 kB / 1.785 GB, free: 187 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006183/3.381, allocations: 135.2 kB / 1.785 GB, free: 186.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02441/3.405, allocations: 12.64 MB / 1.797 GB, free: 174.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.743e-05/3.406, allocations: 24 kB / 1.797 GB, free: 174.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002038/3.406, allocations: 44 kB / 1.797 GB, free: 174.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009671/3.407, allocations: 451.9 kB / 1.798 GB, free: 173.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/3.408, allocations: 0.6227 MB / 1.798 GB, free: 173 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/3.408, allocations: 7.906 kB / 1.798 GB, free: 173 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.701e-05/3.408, allocations: 4 kB / 1.798 GB, free: 173 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.772e-05/3.408, allocations: 23.98 kB / 1.798 GB, free: 173 MB / 0.9323 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.00482/3.413, allocations: 3.384 MB / 1.801 GB, free: 169.4 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005692/3.413, allocations: 323.6 kB / 1.802 GB, free: 169.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002879/3.414, allocations: 144.8 kB / 1.802 GB, free: 168.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006055/3.414, allocations: 0.6648 MB / 1.803 GB, free: 168.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/3.414, allocations: 38.56 kB / 1.803 GB, free: 168.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=31): time 3.116e-06/3.414, allocations: 4 kB / 1.803 GB, free: 168.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=31): time 0.001193/3.416, allocations: 345.5 kB / 1.803 GB, free: 167.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/3.416, allocations: 59.34 kB / 1.803 GB, free: 167.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/3.417, allocations: 0.6375 MB / 1.804 GB, free: 167 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.728e-05/3.417, allocations: 25.7 kB / 1.804 GB, free: 167 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004606/3.417, allocations: 0.5028 MB / 1.804 GB, free: 166.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/3.418, allocations: 106.5 kB / 1.804 GB, free: 166.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.06e-05/3.418, allocations: 0 / 1.804 GB, free: 166.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.516e-05/3.418, allocations: 330 kB / 1.805 GB, free: 166 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/3.418, allocations: 109.1 kB / 1.805 GB, free: 165.9 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003383/3.418, allocations: 340 kB / 1.805 GB, free: 165.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004899/3.419, allocations: 187.8 kB / 1.805 GB, free: 165.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/3.419, allocations: 0 / 1.805 GB, free: 165.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001089/3.42, allocations: 483.9 kB / 1.806 GB, free: 164.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/3.42, allocations: 8 kB / 1.806 GB, free: 164.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/3.42, allocations: 4.688 kB / 1.806 GB, free: 164.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.965e-05/3.42, allocations: 15.94 kB / 1.806 GB, free: 164.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004239/3.42, allocations: 119.8 kB / 1.806 GB, free: 164.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.058e-05/3.421, allocations: 19.88 kB / 1.806 GB, free: 164.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/3.422, allocations: 79.39 kB / 1.806 GB, free: 164.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.611e-05/3.422, allocations: 31.98 kB / 1.806 GB, free: 164.6 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * 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.0001735/3.422, allocations: 120.8 kB / 1.806 GB, free: 164.4 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008509/3.423, allocations: 344.5 kB / 1.806 GB, free: 164.1 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/3.423, allocations: 82.97 kB / 1.806 GB, free: 164 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000929/3.424, allocations: 427.4 kB / 1.807 GB, free: 163.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/3.424, allocations: 7.953 kB / 1.807 GB, free: 163.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/3.424, allocations: 0 / 1.807 GB, free: 163.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005763/3.425, allocations: 399.8 kB / 1.807 GB, free: 163.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002318/3.427, allocations: 1.272 MB / 1.808 GB, free: 161.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/3.427, allocations: 0 / 1.808 GB, free: 161.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003384/3.427, allocations: 75.89 kB / 1.808 GB, free: 161.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/3.427, allocations: 7.938 kB / 1.809 GB, free: 161.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/3.427, allocations: 8.156 kB / 1.809 GB, free: 161.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/3.427, allocations: 15.92 kB / 1.809 GB, free: 161.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/3.427, allocations: 0 / 1.809 GB, free: 161.7 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000962/3.428, allocations: 0.7308 MB / 1.809 GB, free: 160.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004332/3.429, allocations: 224 kB / 1.809 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/3.429, allocations: 3.953 kB / 1.809 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005886/3.429, allocations: 59.84 kB / 1.81 GB, free: 160.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/3.43, allocations: 27.91 kB / 1.81 GB, free: 160.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.197e-05/3.43, allocations: 23.98 kB / 1.81 GB, free: 160.6 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0006265/3.43, allocations: 495.1 kB / 1.81 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.01e-07/3.43, allocations: 0 / 1.81 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001468/3.432, allocations: 363.2 kB / 1.81 GB, free: 159.7 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002108/3.434, allocations: 2.093 MB / 1.812 GB, free: 157.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.000517/3.434, allocations: 327.5 kB / 1.813 GB, free: 157.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/3.434, allocations: 0 / 1.813 GB, free: 157.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002048/3.435, allocations: 161.2 kB / 1.813 GB, free: 157.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002263/3.437, allocations: 483.9 kB / 1.813 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002918/3.44, allocations: 1.38 MB / 1.815 GB, free: 155.2 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004885/3.44, allocations: 1.059 MB / 1.816 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.000777/3.441, allocations: 180.4 kB / 1.816 GB, free: 154 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004354/3.442, allocations: 359.2 kB / 1.816 GB, free: 153.6 MB / 0.9323 GB Notification: Performance of SimCode: time 9.22e-07/3.442, allocations: 0 / 1.816 GB, free: 153.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04795/3.49, allocations: 25.2 MB / 1.841 GB, free: 128.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001463/3.49, allocations: 196.5 kB / 1.841 GB, free: 128.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.751/6.241, allocations: 4 kB / 1.841 GB, free: 128.4 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)