Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5171/0.5171, allocations: 90.91 MB / 99.34 MB, free: 2.188 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.6/1.6, allocations: 221.5 MB / 343.2 MB, free: 1.609 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 95.03 kB / 415.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.962e-05/1.936e-05, allocations: 4 kB / 494.6 MB, free: 52.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1936, allocations: 72.31 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.281/1.475, allocations: 364.2 MB / 0.9093 GB, free: 116 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004345/1.475, allocations: 90.31 kB / 0.9094 GB, free: 116 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.9156/2.391, allocations: 247.2 MB / 1.151 GB, free: 107.3 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.385e-06/2.391, allocations: 0 / 1.151 GB, free: 107.3 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002363/2.391, allocations: 39.7 kB / 1.151 GB, free: 107.3 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003519/2.395, allocations: 1.199 MB / 1.152 GB, free: 106 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/2.395, allocations: 8.031 kB / 1.152 GB, free: 106 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008407/2.396, allocations: 142.5 kB / 1.152 GB, free: 105.9 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01584/2.411, allocations: 7.749 MB / 1.16 GB, free: 98.12 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.473e-05/2.412, allocations: 24 kB / 1.16 GB, free: 98.1 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002407/2.412, allocations: 44 kB / 1.16 GB, free: 98.06 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001238/2.413, allocations: 0.6364 MB / 1.16 GB, free: 97.42 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/2.414, allocations: 0.8537 MB / 1.161 GB, free: 96.52 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.167e-05/2.414, allocations: 7.844 kB / 1.161 GB, free: 96.52 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.518e-05/2.415, allocations: 4 kB / 1.161 GB, free: 96.51 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.325e-05/2.415, allocations: 27.98 kB / 1.161 GB, free: 96.48 MB / 0.5886 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.004973/2.42, allocations: 4.406 MB / 1.166 GB, free: 91.78 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004126/2.42, allocations: 366 kB / 1.166 GB, free: 91.41 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002346/2.42, allocations: 241.3 kB / 1.166 GB, free: 91.18 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003011/2.421, allocations: 437.5 kB / 1.167 GB, free: 90.66 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/2.421, allocations: 38.83 kB / 1.167 GB, free: 90.61 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=40): time 3.216e-06/2.421, allocations: 4 kB / 1.167 GB, free: 90.61 MB / 0.5886 GB Notification: Performance of matching and sorting (n=40): time 0.001242/2.422, allocations: 0.5306 MB / 1.167 GB, free: 90.07 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/2.422, allocations: 55.41 kB / 1.167 GB, free: 90 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/2.423, allocations: 0.7779 MB / 1.168 GB, free: 89.22 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.284e-05/2.423, allocations: 25.7 kB / 1.168 GB, free: 89.19 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000296/2.423, allocations: 0.5105 MB / 1.168 GB, free: 88.67 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/2.423, allocations: 138 kB / 1.169 GB, free: 88.54 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.095e-05/2.424, allocations: 4 kB / 1.169 GB, free: 88.53 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.177e-05/2.424, allocations: 330 kB / 1.169 GB, free: 88.2 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/2.424, allocations: 205 kB / 1.169 GB, free: 88 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003218/2.424, allocations: 415.3 kB / 1.17 GB, free: 87.5 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004663/2.425, allocations: 309.3 kB / 1.17 GB, free: 87.2 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/2.425, allocations: 4 kB / 1.17 GB, free: 87.19 MB / 0.5886 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001192/2.426, allocations: 0.7476 MB / 1.171 GB, free: 86.44 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004397/2.426, allocations: 2.178 MB / 1.173 GB, free: 84.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/2.426, allocations: 4 kB / 1.173 GB, free: 84.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002129/2.427, allocations: 56.83 kB / 1.173 GB, free: 84.03 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/2.427, allocations: 123.8 kB / 1.173 GB, free: 83.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003848/2.427, allocations: 0.6342 MB / 1.173 GB, free: 83.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009584/2.428, allocations: 95.38 kB / 1.174 GB, free: 83.15 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.288e-05/2.428, allocations: 31.98 kB / 1.174 GB, free: 83.12 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/2.428, allocations: 4 kB / 1.174 GB, free: 83.12 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00091/2.429, allocations: 0.5972 MB / 1.174 GB, free: 82.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/2.429, allocations: 4.688 kB / 1.174 GB, free: 82.51 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001433/2.429, allocations: 68.67 kB / 1.174 GB, free: 82.45 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/2.43, allocations: 115.8 kB / 1.174 GB, free: 82.33 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/2.431, allocations: 1.594 MB / 1.176 GB, free: 80.63 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008099/2.432, allocations: 79.53 kB / 1.176 GB, free: 80.55 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.725e-05/2.432, allocations: 31.98 kB / 1.176 GB, free: 80.52 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001899/2.432, allocations: 116.8 kB / 1.176 GB, free: 80.4 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008928/2.433, allocations: 0.5327 MB / 1.177 GB, free: 79.86 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/2.433, allocations: 94.81 kB / 1.177 GB, free: 79.76 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/2.434, allocations: 0.5938 MB / 1.177 GB, free: 79.15 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/2.434, allocations: 4 kB / 1.177 GB, free: 79.15 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/2.434, allocations: 4 kB / 1.177 GB, free: 79.14 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006785/2.435, allocations: 0.7776 MB / 1.178 GB, free: 78.28 MB / 0.5886 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 postOpt removeSimpleEquations (simulation): time 0.002298/2.437, allocations: 1.547 MB / 1.18 GB, free: 76.67 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/2.437, allocations: 0 / 1.18 GB, free: 76.67 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003154/2.438, allocations: 79.89 kB / 1.18 GB, free: 76.59 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.942e-05/2.438, allocations: 32.84 kB / 1.18 GB, free: 76.55 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/2.438, allocations: 7.984 kB / 1.18 GB, free: 76.55 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002515/2.438, allocations: 0.5681 MB / 1.18 GB, free: 75.95 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/2.438, allocations: 0 / 1.18 GB, free: 75.95 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/2.439, allocations: 0.9515 MB / 1.181 GB, free: 74.95 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004786/2.44, allocations: 256 kB / 1.181 GB, free: 74.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/2.44, allocations: 3.984 kB / 1.181 GB, free: 74.67 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006543/2.441, allocations: 63.73 kB / 1.181 GB, free: 74.61 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/2.441, allocations: 35.95 kB / 1.182 GB, free: 74.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.792e-05/2.441, allocations: 23.98 kB / 1.182 GB, free: 74.55 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0006887/2.441, allocations: 0.6005 MB / 1.182 GB, free: 73.96 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/2.441, allocations: 0 / 1.182 GB, free: 73.96 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002041/2.443, allocations: 0.5724 MB / 1.183 GB, free: 73.39 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002202/2.446, allocations: 2.057 MB / 1.185 GB, free: 71.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001464/2.447, allocations: 0.952 MB / 1.186 GB, free: 70.34 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/2.447, allocations: 3.938 kB / 1.186 GB, free: 70.33 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002746/2.447, allocations: 219.8 kB / 1.186 GB, free: 70.12 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002603/2.45, allocations: 0.5263 MB / 1.186 GB, free: 69.59 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003829/2.454, allocations: 1.949 MB / 1.188 GB, free: 67.59 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006828/2.455, allocations: 1.249 MB / 1.189 GB, free: 66.31 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001872/2.457, allocations: 0.6781 MB / 1.19 GB, free: 65.63 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004753/2.457, allocations: 347.3 kB / 1.19 GB, free: 65.29 MB / 0.5886 GB Notification: Performance of SimCode: time 8.21e-07/2.457, allocations: 0 / 1.19 GB, free: 65.29 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06543/2.522, allocations: 28.36 MB / 1.218 GB, free: 37.13 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003073/2.523, allocations: 198.2 kB / 1.218 GB, free: 36.87 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.133/5.656, allocations: 0 / 1.218 GB, free: 36.87 MB / 0.5886 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)