Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolumes.Validation.MixingVolume,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume",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.7662/0.7662, allocations: 128.7 MB / 143.7 MB, free: 2.32 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001107/0.001106, allocations: 182.4 kB / 173.7 MB, free: 6.133 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.902/1.902, allocations: 205.4 MB / 409 MB, free: 10.5 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.001226/0.001226, allocations: 83.69 kB / 486.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003644, allocations: 11.31 kB / 0.5604 GB, free: 97.43 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1809, allocations: 76.78 MB / 0.6354 GB, free: 30.47 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.707/4.888, allocations: 2.163 GB / 2.799 GB, free: 212.4 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/4.888, allocations: 96.2 kB / 2.799 GB, free: 212.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.703/9.591, allocations: 1.332 GB / 4.13 GB, free: 75.31 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.046e-06/9.591, allocations: 0 / 4.13 GB, free: 75.31 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001863/9.591, allocations: 58.45 kB / 4.13 GB, free: 75.3 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.0079/9.599, allocations: 2.499 MB / 4.133 GB, free: 74.28 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/9.599, allocations: 7.375 kB / 4.133 GB, free: 74.28 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005923/9.6, allocations: 227.3 kB / 4.133 GB, free: 74.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003796/9.604, allocations: 0.5042 MB / 4.134 GB, free: 74.12 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004585/9.608, allocations: 1.488 MB / 4.135 GB, free: 73.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00019/9.609, allocations: 180.4 kB / 4.135 GB, free: 73.63 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002777/9.609, allocations: 154.2 kB / 4.135 GB, free: 73.63 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005309/9.614, allocations: 1.998 MB / 4.137 GB, free: 73.45 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.409e-05/9.614, allocations: 10.12 kB / 4.137 GB, free: 73.44 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001599/9.614, allocations: 57.91 kB / 4.137 GB, free: 73.44 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.369e-05/9.614, allocations: 61.67 kB / 4.137 GB, free: 73.44 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004422/9.619, allocations: 1.677 MB / 4.139 GB, free: 73.42 MB / 0.698 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.0103/9.629, allocations: 7.663 MB / 4.147 GB, free: 69.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00345/9.633, allocations: 1.277 MB / 4.148 GB, free: 69.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000541/9.633, allocations: 320.5 kB / 4.148 GB, free: 68.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/9.633, allocations: 54.17 kB / 4.148 GB, free: 68.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=104): time 3.396e-06/9.633, allocations: 0 / 4.148 GB, free: 68.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=110): time 0.01279/9.646, allocations: 4.023 MB / 4.152 GB, free: 68.21 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/9.646, allocations: 62.56 kB / 4.152 GB, free: 68.15 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001638/9.648, allocations: 1.071 MB / 4.153 GB, free: 67.99 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001674/9.648, allocations: 50.64 kB / 4.153 GB, free: 67.96 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005483/9.649, allocations: 0.8015 MB / 4.154 GB, free: 67.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003517/9.649, allocations: 398.1 kB / 4.154 GB, free: 67.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.029e-05/9.649, allocations: 20.78 kB / 4.154 GB, free: 67.41 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001296/9.649, allocations: 356 kB / 4.155 GB, free: 67.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/9.65, allocations: 0.5457 MB / 4.155 GB, free: 67.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001404/9.652, allocations: 0.9091 MB / 4.156 GB, free: 66.69 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/9.653, allocations: 0.6616 MB / 4.157 GB, free: 66.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/9.653, allocations: 3.688 kB / 4.157 GB, free: 66.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003542/9.657, allocations: 1.622 MB / 4.158 GB, free: 66.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008813/9.658, allocations: 3.045 MB / 4.161 GB, free: 63.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/9.658, allocations: 6.938 kB / 4.161 GB, free: 63.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.845e-05/9.658, allocations: 14.97 kB / 4.161 GB, free: 63.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/9.659, allocations: 338.5 kB / 4.162 GB, free: 63.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.676e-05/9.659, allocations: 23.75 kB / 4.162 GB, free: 63.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002553/9.662, allocations: 220.6 kB / 4.162 GB, free: 63.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/9.662, allocations: 52.05 kB / 4.162 GB, free: 63.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/9.662, allocations: 3.469 kB / 4.162 GB, free: 63.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002066/9.664, allocations: 1.237 MB / 4.163 GB, free: 63.28 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/9.664, allocations: 7.938 kB / 4.163 GB, free: 63.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/9.664, allocations: 17.08 kB / 4.163 GB, free: 63.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/9.665, allocations: 289.8 kB / 4.164 GB, free: 63.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.726e-05/9.665, allocations: 21.66 kB / 4.164 GB, free: 63.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/9.667, allocations: 176.6 kB / 4.164 GB, free: 63.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-05/9.667, allocations: 55.66 kB / 4.164 GB, free: 63.26 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 155 * 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.001227/9.669, allocations: 0.5026 MB / 4.164 GB, free: 63.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002896/9.669, allocations: 168.9 kB / 4.164 GB, free: 62.98 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002975/9.672, allocations: 1.43 MB / 4.166 GB, free: 62.89 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/9.672, allocations: 14.56 kB / 4.166 GB, free: 62.89 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/9.672, allocations: 0 / 4.166 GB, free: 62.89 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002457/9.674, allocations: 1.338 MB / 4.167 GB, free: 62.62 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006504/9.681, allocations: 3.117 MB / 4.17 GB, free: 62.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/9.681, allocations: 0 / 4.17 GB, free: 62.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001683/9.683, allocations: 313.4 kB / 4.17 GB, free: 62.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.407e-05/9.683, allocations: 10.75 kB / 4.17 GB, free: 62.23 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.261e-05/9.683, allocations: 33.55 kB / 4.171 GB, free: 62.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.205e-06/9.683, allocations: 7.531 kB / 4.171 GB, free: 62.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/9.683, allocations: 8.734 kB / 4.171 GB, free: 62.22 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004387/9.687, allocations: 2.302 MB / 4.173 GB, free: 61.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/9.688, allocations: 357.1 kB / 4.173 GB, free: 61.62 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/9.689, allocations: 23.53 kB / 4.173 GB, free: 61.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/9.69, allocations: 201.7 kB / 4.173 GB, free: 61.61 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/9.69, allocations: 76.09 kB / 4.173 GB, free: 61.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.295e-05/9.691, allocations: 39.14 kB / 4.173 GB, free: 61.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001203/9.692, allocations: 0.8311 MB / 4.174 GB, free: 61.49 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/9.692, allocations: 0 / 4.174 GB, free: 61.49 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003775/9.696, allocations: 1.076 MB / 4.175 GB, free: 61.48 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,entFloRat.h_out,entFloRat1.h_out,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],entFloRat2.h_out) * 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 (110): * Single equations (assignments): 110 * 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 Backend phase and start with SimCode phase: time 0.009957/9.706, allocations: 6.212 MB / 4.181 GB, free: 58.96 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004204/9.71, allocations: 1.986 MB / 4.183 GB, free: 58.94 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.677e-06/9.71, allocations: 0 / 4.183 GB, free: 58.94 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00131/9.711, allocations: 0.6503 MB / 4.184 GB, free: 58.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004869/9.716, allocations: 0.9461 MB / 4.185 GB, free: 58.91 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02315/9.739, allocations: 16.03 MB / 4.201 GB, free: 49.79 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/9.74, allocations: 1.493 MB / 4.202 GB, free: 49.04 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002683/9.743, allocations: 0.5681 MB / 4.203 GB, free: 48.96 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009835/9.744, allocations: 0.7249 MB / 4.203 GB, free: 48.95 MB / 0.698 GB Notification: Performance of SimCode: time 8.72e-07/9.744, allocations: 0 / 4.203 GB, free: 48.95 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1414/9.885, allocations: 88.84 MB / 4.29 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/9.886, allocations: 232.1 kB / 4.29 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.055/14.94, allocations: 2.734 kB / 4.29 GB, free: 4.004 MB / 0.7136 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)