Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",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 1.18/1.18, allocations: 141.8 MB / 149.3 MB, free: 9.238 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009522/0.000952, allocations: 176.9 kB / 182.2 MB, free: 9.438 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.56/1.56, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0009384/0.0009383, allocations: 91.55 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001791/0.001791, allocations: 280.3 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.116e-05/2.118e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5/0.5, allocations: 82.78 MB / 0.7575 GB, free: 31.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9784/1.478, allocations: 371.2 MB / 1.12 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/1.479, allocations: 99.36 kB / 1.12 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.009/2.488, allocations: 245.5 MB / 1.36 GB, free: 91.83 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.405e-06/2.488, allocations: 0 / 1.36 GB, free: 91.83 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001146/2.488, allocations: 24 kB / 1.36 GB, free: 91.8 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002351/2.491, allocations: 1.196 MB / 1.361 GB, free: 90.56 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.162e-05/2.491, allocations: 12.03 kB / 1.361 GB, free: 90.55 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005138/2.491, allocations: 138.5 kB / 1.361 GB, free: 90.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01486/2.506, allocations: 7.719 MB / 1.369 GB, free: 82.58 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/2.506, allocations: 27.98 kB / 1.369 GB, free: 82.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/2.506, allocations: 44 kB / 1.369 GB, free: 82.51 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001093/2.507, allocations: 0.6286 MB / 1.369 GB, free: 81.88 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/2.509, allocations: 0.8616 MB / 1.37 GB, free: 80.98 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/2.509, allocations: 3.938 kB / 1.37 GB, free: 80.97 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.3e-05/2.509, allocations: 0 / 1.37 GB, free: 80.97 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.528e-05/2.509, allocations: 31.98 kB / 1.37 GB, free: 80.94 MB / 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.004485/2.513, allocations: 4.394 MB / 1.374 GB, free: 76.21 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000408/2.514, allocations: 368.2 kB / 1.375 GB, free: 75.84 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002606/2.514, allocations: 250.2 kB / 1.375 GB, free: 75.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003135/2.514, allocations: 425.8 kB / 1.375 GB, free: 75.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/2.514, allocations: 46.83 kB / 1.376 GB, free: 75.04 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 1.964e-06/2.514, allocations: 0 / 1.376 GB, free: 75.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.001154/2.515, allocations: 0.5344 MB / 1.376 GB, free: 74.49 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/2.516, allocations: 59.39 kB / 1.376 GB, free: 74.42 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007838/2.516, allocations: 0.7621 MB / 1.377 GB, free: 73.65 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.088e-05/2.516, allocations: 25.7 kB / 1.377 GB, free: 73.62 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002825/2.517, allocations: 0.4988 MB / 1.377 GB, free: 73.12 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/2.517, allocations: 141.9 kB / 1.377 GB, free: 72.98 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/2.517, allocations: 0 / 1.377 GB, free: 72.98 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.662e-05/2.517, allocations: 338 kB / 1.378 GB, free: 72.64 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/2.517, allocations: 205 kB / 1.378 GB, free: 72.44 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/2.517, allocations: 419.4 kB / 1.378 GB, free: 71.93 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004504/2.518, allocations: 313.2 kB / 1.379 GB, free: 71.62 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/2.518, allocations: 0 / 1.379 GB, free: 71.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001067/2.519, allocations: 0.7365 MB / 1.379 GB, free: 70.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004762/2.52, allocations: 2.186 MB / 1.382 GB, free: 68.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/2.52, allocations: 4 kB / 1.382 GB, free: 68.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001944/2.52, allocations: 56.83 kB / 1.382 GB, free: 68.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/2.52, allocations: 107.8 kB / 1.382 GB, free: 68.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004011/2.52, allocations: 0.6421 MB / 1.382 GB, free: 67.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007738/2.521, allocations: 91.39 kB / 1.382 GB, free: 67.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.113e-05/2.521, allocations: 28 kB / 1.382 GB, free: 67.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/2.521, allocations: 4 kB / 1.382 GB, free: 67.57 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008844/2.522, allocations: 0.5973 MB / 1.383 GB, free: 66.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/2.522, allocations: 8 kB / 1.383 GB, free: 66.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001341/2.522, allocations: 61.41 kB / 1.383 GB, free: 66.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/2.523, allocations: 115.8 kB / 1.383 GB, free: 66.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/2.524, allocations: 1.599 MB / 1.385 GB, free: 65.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006923/2.525, allocations: 79.59 kB / 1.385 GB, free: 64.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.6e-05/2.525, allocations: 27.98 kB / 1.385 GB, free: 64.96 MB / 0.698 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.0001884/2.525, allocations: 128.8 kB / 1.385 GB, free: 64.83 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008101/2.526, allocations: 0.5165 MB / 1.386 GB, free: 64.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/2.526, allocations: 90.95 kB / 1.386 GB, free: 64.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009532/2.527, allocations: 0.6008 MB / 1.386 GB, free: 63.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/2.527, allocations: 8 kB / 1.386 GB, free: 63.59 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/2.527, allocations: 3.938 kB / 1.386 GB, free: 63.59 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006914/2.528, allocations: 0.7852 MB / 1.387 GB, free: 62.71 MB / 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 postOpt removeSimpleEquations (simulation): time 0.00208/2.53, allocations: 1.537 MB / 1.388 GB, free: 61.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/2.53, allocations: 8 kB / 1.388 GB, free: 61.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003118/2.53, allocations: 75.89 kB / 1.389 GB, free: 61.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.412e-05/2.53, allocations: 28.84 kB / 1.389 GB, free: 60.99 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/2.53, allocations: 8 kB / 1.389 GB, free: 60.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002681/2.53, allocations: 0.5679 MB / 1.389 GB, free: 60.39 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/2.53, allocations: 4.156 kB / 1.389 GB, free: 60.38 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/2.531, allocations: 0.9592 MB / 1.39 GB, free: 59.37 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003936/2.532, allocations: 263.8 kB / 1.39 GB, free: 59.09 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.148e-05/2.532, allocations: 0 / 1.39 GB, free: 59.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005811/2.533, allocations: 59.83 kB / 1.39 GB, free: 59.03 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/2.533, allocations: 31.97 kB / 1.39 GB, free: 59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-05/2.533, allocations: 27.92 kB / 1.39 GB, free: 58.97 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007032/2.533, allocations: 0.5927 MB / 1.391 GB, free: 58.39 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/2.533, allocations: 0 / 1.391 GB, free: 58.39 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002141/2.536, allocations: 0.565 MB / 1.392 GB, free: 57.82 MB / 0.698 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.002133/2.538, allocations: 2.047 MB / 1.394 GB, free: 55.72 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001503/2.539, allocations: 0.95 MB / 1.394 GB, free: 54.76 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/2.539, allocations: 0 / 1.394 GB, free: 54.76 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002728/2.539, allocations: 227.7 kB / 1.395 GB, free: 54.54 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002602/2.542, allocations: 0.5417 MB / 1.395 GB, free: 54.01 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003358/2.545, allocations: 1.911 MB / 1.397 GB, free: 52.04 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006489/2.546, allocations: 1.244 MB / 1.398 GB, free: 50.77 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001667/2.548, allocations: 0.6614 MB / 1.399 GB, free: 50.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003934/2.548, allocations: 339.3 kB / 1.399 GB, free: 49.77 MB / 0.698 GB Notification: Performance of SimCode: time 2.304e-06/2.548, allocations: 0 / 1.399 GB, free: 49.77 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05741/2.606, allocations: 28.16 MB / 1.427 GB, free: 21.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/2.606, allocations: 214.1 kB / 1.427 GB, free: 21.51 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.902/5.508, allocations: 0 / 1.427 GB, free: 21.51 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)