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.6998/0.6998, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 184 kB / 187.3 MB, free: 11.88 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.237/1.237, allocations: 221.3 MB / 441.4 MB, free: 4.582 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.000867/0.0008668, allocations: 96.78 kB / 0.5124 GB, free: 24.31 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001657/0.001657, allocations: 272.2 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.825e-05/2.827e-05, allocations: 8 kB / 0.6835 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3471, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6192/0.9663, allocations: 385.7 MB / 1.141 GB, free: 4.668 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001928/0.9665, allocations: 93.31 kB / 1.141 GB, free: 4.621 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 2.342/3.309, allocations: 0.8092 GB / 1.95 GB, free: 30.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.593e-06/3.309, allocations: 0 / 1.95 GB, free: 30.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002482/3.309, allocations: 59.92 kB / 1.95 GB, free: 30.75 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.00426/3.314, allocations: 2.162 MB / 1.952 GB, free: 28.53 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/3.314, allocations: 12.03 kB / 1.953 GB, free: 28.52 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004121/3.314, allocations: 198.6 kB / 1.953 GB, free: 28.31 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009201/3.315, allocations: 264.6 kB / 1.953 GB, free: 28.05 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0408/3.356, allocations: 24.68 MB / 1.977 GB, free: 3.195 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-05/3.356, allocations: 106.7 kB / 1.977 GB, free: 3.09 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003605/3.356, allocations: 140 kB / 1.977 GB, free: 2.953 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002599/3.359, allocations: 1.392 MB / 1.979 GB, free: 1.484 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.685e-05/3.359, allocations: 2.625 kB / 1.979 GB, free: 1.484 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/3.359, allocations: 71.97 kB / 1.979 GB, free: 1.414 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.49e-05/3.359, allocations: 39.94 kB / 1.979 GB, free: 1.375 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/3.361, allocations: 0.955 MB / 1.98 GB, free: 424 kB / 0.698 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.007917/3.369, allocations: 7.554 MB / 1.987 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007242/3.369, allocations: 448.8 kB / 1.987 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003829/3.37, allocations: 286.5 kB / 1.988 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008281/3.371, allocations: 1.16 MB / 1.989 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/3.371, allocations: 47.08 kB / 1.989 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=59): time 2.244e-06/3.371, allocations: 0 / 1.989 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59): time 0.001138/3.372, allocations: 0.649 MB / 1.99 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/3.372, allocations: 59.97 kB / 1.99 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00186/3.374, allocations: 1.511 MB / 1.991 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.807e-05/3.374, allocations: 41.7 kB / 1.991 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006827/3.374, allocations: 0.9396 MB / 1.992 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/3.375, allocations: 212.9 kB / 1.992 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/3.375, allocations: 21.86 kB / 1.992 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001141/3.375, allocations: 334 kB / 1.993 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003739/3.375, allocations: 237.9 kB / 1.993 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006109/3.376, allocations: 0.6054 MB / 1.993 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004829/3.376, allocations: 353.1 kB / 1.994 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/3.376, allocations: 0 / 1.994 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.3735/3.75, allocations: 0.979 MB / 1.995 GB, free: 74.29 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/3.75, allocations: 11.25 kB / 1.995 GB, free: 74.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/3.75, allocations: 9.906 kB / 1.995 GB, free: 74.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.485e-05/3.75, allocations: 21.03 kB / 1.995 GB, free: 74.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008978/3.751, allocations: 229.8 kB / 1.995 GB, free: 74.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.847e-05/3.751, allocations: 22.34 kB / 1.995 GB, free: 74.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/3.753, allocations: 239 kB / 1.995 GB, free: 74.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.803e-05/3.753, allocations: 49.89 kB / 1.995 GB, free: 74.29 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 () * 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.0001788/3.753, allocations: 173.4 kB / 1.995 GB, free: 74.18 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002403/3.753, allocations: 192.2 kB / 1.996 GB, free: 74.18 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/3.755, allocations: 0.7859 MB / 1.996 GB, free: 74.13 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/3.755, allocations: 14.06 kB / 1.996 GB, free: 74.13 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/3.755, allocations: 0.6875 kB / 1.996 GB, free: 74.13 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008276/3.756, allocations: 0.7059 MB / 1.997 GB, free: 73.88 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003759/3.759, allocations: 2.375 MB / 1.999 GB, free: 73.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/3.759, allocations: 2.719 kB / 1.999 GB, free: 73.47 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007395/3.76, allocations: 182.2 kB / 2 GB, free: 73.47 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/3.76, allocations: 5.219 kB / 2 GB, free: 73.47 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.302e-05/3.76, allocations: 16 kB / 2 GB, free: 73.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.846e-06/3.76, allocations: 5.953 kB / 2 GB, free: 73.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/3.76, allocations: 4.969 kB / 2 GB, free: 73.47 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/3.762, allocations: 1.383 MB / 2.001 GB, free: 72.95 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006913/3.763, allocations: 399.1 kB / 2.001 GB, free: 72.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002009/3.763, allocations: 16.12 kB / 2.001 GB, free: 72.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/3.764, allocations: 135.3 kB / 2.001 GB, free: 72.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.752e-05/3.764, allocations: 59.22 kB / 2.002 GB, free: 72.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-05/3.764, allocations: 33.77 kB / 2.002 GB, free: 72.75 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00146/3.766, allocations: 1.198 MB / 2.003 GB, free: 72.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/3.766, allocations: 0 / 2.003 GB, free: 72.59 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001699/3.767, allocations: 0.69 MB / 2.003 GB, free: 72.57 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 () * 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.002841/3.77, allocations: 3.292 MB / 2.007 GB, free: 71 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000953/3.771, allocations: 0.6475 MB / 2.007 GB, free: 70.99 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/3.771, allocations: 0 / 2.007 GB, free: 70.99 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003807/3.772, allocations: 318 kB / 2.008 GB, free: 70.98 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005069/3.777, allocations: 1.252 MB / 2.009 GB, free: 70.97 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004148/3.781, allocations: 2.828 MB / 2.012 GB, free: 70.19 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006538/3.781, allocations: 1.445 MB / 2.013 GB, free: 69.46 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00131/3.783, allocations: 393.4 kB / 2.013 GB, free: 69.44 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007096/3.783, allocations: 0.7486 MB / 2.014 GB, free: 69.44 MB / 0.7136 GB Notification: Performance of SimCode: time 8.12e-07/3.783, allocations: 7.703 kB / 2.014 GB, free: 69.44 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0782/3.862, allocations: 63.48 MB / 2.076 GB, free: 66.68 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000128/3.862, allocations: 211.1 kB / 2.076 GB, free: 66.46 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.639/7.501, allocations: 2.156 kB / 2.076 GB, free: 66.46 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)