Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",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.7156/0.7156, allocations: 127.4 MB / 134.9 MB, free: 3.727 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.001067/0.001067, allocations: 180.9 kB / 164.7 MB, free: 6.516 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.825/1.825, allocations: 205.2 MB / 399.5 MB, free: 5.922 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.001056/0.001056, allocations: 86.41 kB / 476.7 MB, free: 8.648 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.045e-05/3.074e-05, allocations: 7.984 kB / 0.5467 GB, free: 60.38 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.215, allocations: 76.76 MB / 0.6216 GB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.491/1.706, allocations: 360.8 MB / 0.9739 GB, free: 158.8 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000416/1.706, allocations: 96.75 kB / 0.974 GB, free: 158.8 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.9881/2.695, allocations: 233.6 MB / 1.202 GB, free: 168.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.274e-06/2.695, allocations: 0 / 1.202 GB, free: 168.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.669e-05/2.695, allocations: 33.45 kB / 1.202 GB, free: 168.7 MB / 0.6355 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.001916/2.697, allocations: 1.183 MB / 1.203 GB, free: 167.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/2.697, allocations: 15.03 kB / 1.203 GB, free: 167.9 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000406/2.697, allocations: 127.8 kB / 1.204 GB, free: 167.8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01519/2.712, allocations: 7.512 MB / 1.211 GB, free: 164.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.148e-05/2.712, allocations: 26.34 kB / 1.211 GB, free: 164.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/2.713, allocations: 41.78 kB / 1.211 GB, free: 164.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001103/2.714, allocations: 0.6226 MB / 1.212 GB, free: 164 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/2.715, allocations: 0.8354 MB / 1.212 GB, free: 163.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/2.715, allocations: 0 / 1.212 GB, free: 163.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.032e-05/2.715, allocations: 3.938 kB / 1.212 GB, free: 163.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.559e-05/2.715, allocations: 22.69 kB / 1.212 GB, free: 163.5 MB / 0.6355 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.005096/2.72, allocations: 4.773 MB / 1.217 GB, free: 159.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004125/2.721, allocations: 319 kB / 1.217 GB, free: 159 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/2.721, allocations: 183.9 kB / 1.217 GB, free: 158.9 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/2.721, allocations: 92.84 kB / 1.218 GB, free: 158.8 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/2.721, allocations: 38.44 kB / 1.218 GB, free: 158.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=31): time 2.815e-06/2.721, allocations: 2.5 kB / 1.218 GB, free: 158.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31): time 0.002689/2.724, allocations: 0.5999 MB / 1.218 GB, free: 158.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/2.724, allocations: 62.61 kB / 1.218 GB, free: 158.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009116/2.725, allocations: 0.7532 MB / 1.219 GB, free: 158 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.219e-05/2.725, allocations: 30.67 kB / 1.219 GB, free: 158 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003259/2.725, allocations: 0.5134 MB / 1.22 GB, free: 157.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/2.725, allocations: 113.2 kB / 1.22 GB, free: 157.4 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/2.725, allocations: 0 / 1.22 GB, free: 157.4 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.062e-05/2.725, allocations: 325.9 kB / 1.22 GB, free: 157.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/2.726, allocations: 182.6 kB / 1.22 GB, free: 157 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003353/2.726, allocations: 396.5 kB / 1.221 GB, free: 156.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000462/2.726, allocations: 271.3 kB / 1.221 GB, free: 156.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/2.726, allocations: 3.375 kB / 1.221 GB, free: 156.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002355/2.729, allocations: 0.7907 MB / 1.222 GB, free: 156.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006305/2.729, allocations: 2.174 MB / 1.224 GB, free: 153.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/2.729, allocations: 6.312 kB / 1.224 GB, free: 153.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002284/2.73, allocations: 58.23 kB / 1.224 GB, free: 153.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003531/2.73, allocations: 104.7 kB / 1.224 GB, free: 153.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004805/2.73, allocations: 0.617 MB / 1.224 GB, free: 153.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009412/2.731, allocations: 85.25 kB / 1.225 GB, free: 153.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.627e-05/2.732, allocations: 30.69 kB / 1.225 GB, free: 153.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/2.732, allocations: 3.938 kB / 1.225 GB, free: 153.2 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008687/2.732, allocations: 0.5098 MB / 1.225 GB, free: 153 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/2.732, allocations: 7.125 kB / 1.225 GB, free: 153 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001282/2.733, allocations: 41.39 kB / 1.225 GB, free: 152.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002962/2.733, allocations: 102.9 kB / 1.225 GB, free: 152.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/2.734, allocations: 1.413 MB / 1.227 GB, free: 151.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006624/2.735, allocations: 79.8 kB / 1.227 GB, free: 151.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.286e-05/2.735, allocations: 30.11 kB / 1.227 GB, free: 151.5 MB / 0.6355 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 (59): * Single equations (assignments): 58 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001687/2.735, allocations: 116.6 kB / 1.227 GB, free: 151.3 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00166/2.737, allocations: 0.5446 MB / 1.227 GB, free: 151.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/2.737, allocations: 79.19 kB / 1.227 GB, free: 151 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001851/2.739, allocations: 0.5889 MB / 1.228 GB, free: 150.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/2.739, allocations: 0 / 1.228 GB, free: 150.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/2.739, allocations: 3.875 kB / 1.228 GB, free: 150.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001661/2.74, allocations: 0.7872 MB / 1.229 GB, free: 150.1 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/2.741, allocations: 0.6662 MB / 1.229 GB, free: 149.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/2.741, allocations: 0 / 1.229 GB, free: 149.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002837/2.742, allocations: 64.86 kB / 1.229 GB, free: 149.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001337/2.742, allocations: 56.62 kB / 1.23 GB, free: 149.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.063e-05/2.742, allocations: 11.95 kB / 1.23 GB, free: 149.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002582/2.745, allocations: 1.642 MB / 1.231 GB, free: 148 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/2.745, allocations: 0 / 1.231 GB, free: 148 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/2.746, allocations: 0.8682 MB / 1.232 GB, free: 147.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004174/2.747, allocations: 236.4 kB / 1.232 GB, free: 147.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.985e-05/2.747, allocations: 3.875 kB / 1.232 GB, free: 147.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005374/2.748, allocations: 46.88 kB / 1.232 GB, free: 147.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.752e-05/2.748, allocations: 23.42 kB / 1.232 GB, free: 147.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/2.748, allocations: 15.05 kB / 1.232 GB, free: 147.3 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007431/2.748, allocations: 0.5906 MB / 1.233 GB, free: 147 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.62e-07/2.748, allocations: 4 kB / 1.233 GB, free: 146.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002406/2.751, allocations: 0.5574 MB / 1.233 GB, free: 146.8 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (28): * Single equations (assignments): 27 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002975/2.754, allocations: 1.685 MB / 1.235 GB, free: 145.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001332/2.755, allocations: 0.8393 MB / 1.236 GB, free: 145.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/2.755, allocations: 2 kB / 1.236 GB, free: 145.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002883/2.755, allocations: 286.6 kB / 1.236 GB, free: 145.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/2.758, allocations: 0.5064 MB / 1.237 GB, free: 144.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/2.761, allocations: 1.823 MB / 1.238 GB, free: 143.9 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007162/2.762, allocations: 1.236 MB / 1.24 GB, free: 142.9 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001635/2.764, allocations: 0.6393 MB / 1.24 GB, free: 142.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003771/2.764, allocations: 322.3 kB / 1.241 GB, free: 142.3 MB / 0.6355 GB Notification: Performance of SimCode: time 8.42e-07/2.764, allocations: 3.969 kB / 1.241 GB, free: 142.3 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05469/2.819, allocations: 27.59 MB / 1.268 GB, free: 115.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/2.819, allocations: 207.1 kB / 1.268 GB, free: 115.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.006/5.825, allocations: 32 / 1.268 GB, free: 115.2 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)