Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8679/0.8679, allocations: 127.3 MB / 139.8 MB, free: 15.42 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001274/0.001274, allocations: 184.9 kB / 169.7 MB, free: 1.742 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.02/2.02, allocations: 205.1 MB / 404.5 MB, free: 1.66 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009212/0.0009209, allocations: 97.73 kB / 481.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.516e-05/3.517e-05, allocations: 4 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1878, allocations: 76.76 MB / 0.6282 GB, free: 9.934 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.37/1.558, allocations: 374.6 MB / 0.9941 GB, free: 139.4 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/1.558, allocations: 96.81 kB / 0.9942 GB, free: 139.4 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.842/4.401, allocations: 0.768 GB / 1.762 GB, free: 63.69 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.003e-06/4.401, allocations: 1.656 kB / 1.762 GB, free: 63.69 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001983/4.401, allocations: 65.06 kB / 1.762 GB, free: 63.68 MB / 0.6511 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.00444/4.405, allocations: 2.157 MB / 1.764 GB, free: 62.72 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/4.405, allocations: 10.56 kB / 1.764 GB, free: 62.72 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002708/4.406, allocations: 198.5 kB / 1.765 GB, free: 62.68 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008381/4.406, allocations: 262 kB / 1.765 GB, free: 62.56 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08502/4.492, allocations: 43.79 MB / 1.808 GB, free: 59.32 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/4.492, allocations: 110.9 kB / 1.808 GB, free: 59.28 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002378/4.492, allocations: 155.5 kB / 1.808 GB, free: 59.23 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002317/4.494, allocations: 1.352 MB / 1.809 GB, free: 58.54 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.823e-05/4.494, allocations: 11.25 kB / 1.809 GB, free: 58.54 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/4.494, allocations: 57.34 kB / 1.809 GB, free: 58.49 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.707e-05/4.494, allocations: 46.56 kB / 1.809 GB, free: 58.49 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001455/4.496, allocations: 0.9404 MB / 1.81 GB, free: 58.11 MB / 0.6511 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.007555/4.504, allocations: 7.736 MB / 1.818 GB, free: 52.19 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007573/4.504, allocations: 410.6 kB / 1.818 GB, free: 52.03 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003212/4.505, allocations: 220.1 kB / 1.818 GB, free: 51.95 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006613/4.505, allocations: 1.157 MB / 1.819 GB, free: 50.62 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/4.505, allocations: 38.19 kB / 1.819 GB, free: 50.57 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=49): time 3.597e-06/4.505, allocations: 0 / 1.819 GB, free: 50.57 MB / 0.6511 GB Notification: Performance of matching and sorting (n=49): time 0.001051/4.506, allocations: 0.5608 MB / 1.82 GB, free: 50.32 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/4.506, allocations: 58.77 kB / 1.82 GB, free: 50.25 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001752/4.508, allocations: 1.467 MB / 1.822 GB, free: 49.63 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.553e-05/4.508, allocations: 40.08 kB / 1.822 GB, free: 49.59 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000648/4.509, allocations: 0.9615 MB / 1.823 GB, free: 48.84 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/4.509, allocations: 186 kB / 1.823 GB, free: 48.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/4.509, allocations: 15.81 kB / 1.823 GB, free: 48.69 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.715e-05/4.509, allocations: 343.1 kB / 1.823 GB, free: 48.37 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003033/4.51, allocations: 195.7 kB / 1.823 GB, free: 48.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004863/4.51, allocations: 0.591 MB / 1.824 GB, free: 47.72 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004146/4.51, allocations: 315.6 kB / 1.824 GB, free: 47.61 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/4.51, allocations: 7.875 kB / 1.824 GB, free: 47.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001268/4.512, allocations: 0.9205 MB / 1.825 GB, free: 47.21 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/4.512, allocations: 9.281 kB / 1.825 GB, free: 47.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/4.512, allocations: 12.53 kB / 1.825 GB, free: 47.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.23e-05/4.512, allocations: 19.62 kB / 1.825 GB, free: 47.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007905/4.513, allocations: 241.8 kB / 1.825 GB, free: 47.19 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.001e-05/4.513, allocations: 19.22 kB / 1.825 GB, free: 47.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/4.514, allocations: 249.7 kB / 1.826 GB, free: 47.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.973e-05/4.514, allocations: 44.62 kB / 1.826 GB, free: 47.09 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 106 * 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.0001501/4.514, allocations: 165.7 kB / 1.826 GB, free: 46.94 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/4.515, allocations: 189.1 kB / 1.826 GB, free: 46.84 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/4.516, allocations: 0.6885 MB / 1.827 GB, free: 46.54 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/4.516, allocations: 6.75 kB / 1.827 GB, free: 46.54 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/4.516, allocations: 2.078 kB / 1.827 GB, free: 46.54 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005467/4.516, allocations: 0.5529 MB / 1.827 GB, free: 46.16 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002899/4.519, allocations: 2.039 MB / 1.829 GB, free: 45.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/4.519, allocations: 0 / 1.829 GB, free: 45.13 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005661/4.52, allocations: 137.9 kB / 1.829 GB, free: 45.12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.728e-06/4.52, allocations: 6.781 kB / 1.829 GB, free: 45.12 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/4.52, allocations: 16.41 kB / 1.829 GB, free: 45.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/4.52, allocations: 4.406 kB / 1.829 GB, free: 45.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/4.52, allocations: 0 / 1.829 GB, free: 45.12 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/4.521, allocations: 1.093 MB / 1.83 GB, free: 44.38 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006773/4.522, allocations: 365.9 kB / 1.831 GB, free: 44.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002048/4.522, allocations: 16.39 kB / 1.831 GB, free: 44.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009228/4.523, allocations: 112.8 kB / 1.831 GB, free: 44.09 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/4.523, allocations: 45.56 kB / 1.831 GB, free: 44.08 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.632e-05/4.523, allocations: 21.27 kB / 1.831 GB, free: 44.08 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001571/4.525, allocations: 1.202 MB / 1.832 GB, free: 43.56 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.41e-07/4.525, allocations: 1.844 kB / 1.832 GB, free: 43.56 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002044/4.527, allocations: 0.6595 MB / 1.833 GB, free: 43.39 MB / 0.6511 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002784/4.529, allocations: 2.998 MB / 1.836 GB, free: 41.39 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008928/4.53, allocations: 0.5327 MB / 1.836 GB, free: 41.21 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/4.53, allocations: 0 / 1.836 GB, free: 41.21 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003138/4.531, allocations: 237.1 kB / 1.836 GB, free: 41.12 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005067/4.536, allocations: 1.145 MB / 1.837 GB, free: 40.86 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005417/4.541, allocations: 2.705 MB / 1.84 GB, free: 39.59 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000902/4.542, allocations: 1.435 MB / 1.842 GB, free: 38.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001893/4.544, allocations: 347 kB / 1.842 GB, free: 38.73 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009921/4.545, allocations: 0.7522 MB / 1.843 GB, free: 38.12 MB / 0.6511 GB Notification: Performance of SimCode: time 1.783e-06/4.545, allocations: 0 / 1.843 GB, free: 38.12 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1067/4.652, allocations: 60.96 MB / 1.902 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001923/4.652, allocations: 210.3 kB / 1.902 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.379/9.031, allocations: 7.375 kB / 1.902 GB, free: 11.61 MB / 0.6823 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)