Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8693/0.8693, allocations: 143.4 MB / 158.3 MB, free: 5.785 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 177.1 kB / 191.5 MB, free: 5.754 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.621/1.621, allocations: 223.2 MB / 447.7 MB, free: 6.496 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 107.9 kB / 0.5188 GB, free: 2.844 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001878/0.001878, allocations: 279.6 kB / 0.6005 GB, free: 48.96 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005787/0.0005787, allocations: 12 kB / 0.6929 GB, free: 2.207 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4638/0.4644, allocations: 82.77 MB / 0.7738 GB, free: 26.19 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.869/1.333, allocations: 385.7 MB / 1.15 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/1.334, allocations: 109.5 kB / 1.151 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.769/4.103, allocations: 0.8115 GB / 1.962 GB, free: 9.293 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.565e-06/4.103, allocations: 3.938 kB / 1.962 GB, free: 9.289 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002691/4.103, allocations: 63.36 kB / 1.962 GB, free: 9.23 MB / 0.698 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.007099/4.111, allocations: 2.553 MB / 1.965 GB, free: 6.629 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/4.111, allocations: 12.03 kB / 1.965 GB, free: 6.617 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006348/4.111, allocations: 202.6 kB / 1.965 GB, free: 6.41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009945/4.112, allocations: 265.1 kB / 1.965 GB, free: 6.148 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5416/4.654, allocations: 24.81 MB / 1.989 GB, free: 70.28 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002035/4.654, allocations: 103.9 kB / 1.989 GB, free: 70.27 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006461/4.655, allocations: 145.3 kB / 1.99 GB, free: 70.27 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006578/4.661, allocations: 1.485 MB / 1.991 GB, free: 70.05 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.947e-05/4.662, allocations: 5.188 kB / 1.991 GB, free: 70.05 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002673/4.662, allocations: 59.55 kB / 1.991 GB, free: 70.05 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001273/4.662, allocations: 39.09 kB / 1.991 GB, free: 70.05 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004785/4.667, allocations: 1.111 MB / 1.992 GB, free: 70.03 MB / 0.7136 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.01638/4.683, allocations: 7.561 MB / 2 GB, free: 65.98 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/4.685, allocations: 0.5136 MB / 2 GB, free: 65.95 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001142/4.686, allocations: 1.162 MB / 2.001 GB, free: 64.64 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/4.686, allocations: 44.94 kB / 2.001 GB, free: 64.6 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=59): time 4.599e-06/4.686, allocations: 1.469 kB / 2.001 GB, free: 64.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59): time 0.004426/4.691, allocations: 1.039 MB / 2.002 GB, free: 64.47 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/4.691, allocations: 61.88 kB / 2.002 GB, free: 64.41 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00477/4.696, allocations: 1.527 MB / 2.004 GB, free: 64.21 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002925/4.696, allocations: 41.83 kB / 2.004 GB, free: 64.18 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001093/4.697, allocations: 0.9366 MB / 2.005 GB, free: 63.93 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004179/4.698, allocations: 218.2 kB / 2.005 GB, free: 63.82 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.915e-05/4.698, allocations: 17.81 kB / 2.005 GB, free: 63.82 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001052/4.698, allocations: 346.2 kB / 2.005 GB, free: 63.52 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/4.699, allocations: 306.4 kB / 2.006 GB, free: 63.52 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/4.7, allocations: 0.6763 MB / 2.006 GB, free: 63.07 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/4.702, allocations: 426.2 kB / 2.007 GB, free: 63.07 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/4.702, allocations: 3.812 kB / 2.007 GB, free: 63.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.003923/4.706, allocations: 1.123 MB / 2.008 GB, free: 62.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.415e-05/4.706, allocations: 10.34 kB / 2.008 GB, free: 62.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.195e-05/4.706, allocations: 10.41 kB / 2.008 GB, free: 62.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.797e-05/4.706, allocations: 20.42 kB / 2.008 GB, free: 62.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/4.707, allocations: 232.7 kB / 2.008 GB, free: 62.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-05/4.707, allocations: 19.34 kB / 2.008 GB, free: 62.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003609/4.711, allocations: 236 kB / 2.008 GB, free: 62.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002514/4.711, allocations: 52.09 kB / 2.008 GB, free: 62.89 MB / 0.7136 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 () * Number of clocked 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.001632/4.713, allocations: 439.2 kB / 2.009 GB, free: 62.78 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000809/4.714, allocations: 189.1 kB / 2.009 GB, free: 62.68 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003348/4.717, allocations: 0.9217 MB / 2.01 GB, free: 62.61 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-05/4.717, allocations: 8.969 kB / 2.01 GB, free: 62.61 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/4.717, allocations: 0 / 2.01 GB, free: 62.61 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002265/4.72, allocations: 0.8505 MB / 2.011 GB, free: 62.34 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008436/4.728, allocations: 2.514 MB / 2.013 GB, free: 61.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.626e-05/4.728, allocations: 2.094 kB / 2.013 GB, free: 61.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001623/4.73, allocations: 179.1 kB / 2.013 GB, free: 61.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.888e-05/4.73, allocations: 9.109 kB / 2.013 GB, free: 61.91 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.577e-05/4.73, allocations: 18.62 kB / 2.013 GB, free: 61.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.586e-05/4.73, allocations: 5.203 kB / 2.013 GB, free: 61.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.404e-05/4.73, allocations: 4.844 kB / 2.013 GB, free: 61.91 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004904/4.735, allocations: 1.591 MB / 2.015 GB, free: 61.39 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001903/4.737, allocations: 403.6 kB / 2.015 GB, free: 61.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007676/4.738, allocations: 11.52 kB / 2.015 GB, free: 61.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003007/4.741, allocations: 134.8 kB / 2.015 GB, free: 61.19 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002255/4.741, allocations: 55.58 kB / 2.016 GB, free: 61.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001614/4.741, allocations: 38.47 kB / 2.016 GB, free: 61.18 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003451/4.745, allocations: 1.222 MB / 2.017 GB, free: 61.04 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.042e-06/4.745, allocations: 0 / 2.017 GB, free: 61.04 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004317/4.749, allocations: 0.6946 MB / 2.017 GB, free: 61.02 MB / 0.7136 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 () * 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: 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.00716/4.756, allocations: 3.494 MB / 2.021 GB, free: 59.44 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002589/4.759, allocations: 0.7928 MB / 2.022 GB, free: 59.43 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/4.759, allocations: 1.656 kB / 2.022 GB, free: 59.43 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001059/4.76, allocations: 390.9 kB / 2.022 GB, free: 59.43 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009215/4.769, allocations: 1.248 MB / 2.023 GB, free: 59.41 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02341/4.793, allocations: 17.7 MB / 2.04 GB, free: 48.19 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008724/4.794, allocations: 1.449 MB / 2.042 GB, free: 47.46 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002128/4.796, allocations: 380.5 kB / 2.042 GB, free: 47.44 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001084/4.797, allocations: 0.7564 MB / 2.043 GB, free: 47.44 MB / 0.7136 GB Notification: Performance of SimCode: time 7.304e-06/4.797, allocations: 1.719 kB / 2.043 GB, free: 47.44 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09766/4.894, allocations: 63.21 MB / 2.105 GB, free: 44.37 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/4.895, allocations: 260.2 kB / 2.105 GB, free: 44.12 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.222/9.116, allocations: 0 / 2.105 GB, free: 44.12 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)