Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.Validation.MixingVolumeInitialization,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",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 0.8879/0.8879, allocations: 143.4 MB / 158.3 MB, free: 5.629 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.001326/0.001326, allocations: 175.8 kB / 191.5 MB, free: 5.656 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.625/1.625, allocations: 223.2 MB / 447.7 MB, free: 4.84 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.001129/0.001129, allocations: 88.33 kB / 0.5187 GB, free: 1.207 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002056/0.002056, allocations: 276.4 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004593/0.0004593, allocations: 19.62 kB / 0.6929 GB, free: 59.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2151, allocations: 82.79 MB / 0.7738 GB, free: 13.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.555/5.77, allocations: 1.909 GB / 2.683 GB, free: 167.9 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/5.77, allocations: 94.45 kB / 2.683 GB, free: 167.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.032/7.803, allocations: 475.7 MB / 3.147 GB, free: 137.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.564e-06/7.803, allocations: 2.812 kB / 3.147 GB, free: 137.7 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001006/7.803, allocations: 31.5 kB / 3.147 GB, free: 137.7 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.006128/7.809, allocations: 1.627 MB / 3.149 GB, free: 137.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.433e-05/7.809, allocations: 17.55 kB / 3.149 GB, free: 137.1 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003176/7.809, allocations: 114 kB / 3.149 GB, free: 137.1 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002181/7.812, allocations: 294.3 kB / 3.149 GB, free: 137 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002437/7.814, allocations: 0.8249 MB / 3.15 GB, free: 136.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.092e-05/7.814, allocations: 57.8 kB / 3.15 GB, free: 136.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/7.814, allocations: 69.09 kB / 3.15 GB, free: 136.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002252/7.816, allocations: 0.9788 MB / 3.151 GB, free: 136.6 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/7.817, allocations: 0 / 3.151 GB, free: 136.6 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-05/7.817, allocations: 25.58 kB / 3.151 GB, free: 136.6 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001642/7.817, allocations: 73.09 kB / 3.151 GB, free: 136.6 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002242/7.819, allocations: 0.979 MB / 3.152 GB, free: 136.6 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006773/7.826, allocations: 3.59 MB / 3.156 GB, free: 135.4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009969/7.827, allocations: 0.6462 MB / 3.157 GB, free: 135.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002451/7.827, allocations: 196.2 kB / 3.157 GB, free: 135.1 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/7.827, allocations: 50.28 kB / 3.157 GB, free: 135.1 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=62): time 4.449e-06/7.827, allocations: 3.031 kB / 3.157 GB, free: 135.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=62): time 0.00186/7.829, allocations: 1.004 MB / 3.158 GB, free: 135 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/7.829, allocations: 114.6 kB / 3.158 GB, free: 134.9 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009506/7.83, allocations: 0.6985 MB / 3.159 GB, free: 134.8 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.742e-05/7.83, allocations: 39.48 kB / 3.159 GB, free: 134.7 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/7.83, allocations: 420.2 kB / 3.159 GB, free: 134.6 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/7.831, allocations: 217.9 kB / 3.159 GB, free: 134.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/7.831, allocations: 14.62 kB / 3.159 GB, free: 134.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.113e-05/7.831, allocations: 340.6 kB / 3.16 GB, free: 134.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004679/7.831, allocations: 320 kB / 3.16 GB, free: 134.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005335/7.832, allocations: 454.3 kB / 3.16 GB, free: 134.1 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005216/7.832, allocations: 388.7 kB / 3.161 GB, free: 134.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/7.832, allocations: 3.375 kB / 3.161 GB, free: 134.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001334/7.834, allocations: 0.893 MB / 3.162 GB, free: 134 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001618/7.834, allocations: 0.7024 MB / 3.162 GB, free: 133.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.098e-06/7.834, allocations: 3.953 kB / 3.162 GB, free: 133.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/7.834, allocations: 6.875 kB / 3.162 GB, free: 133.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006721/7.835, allocations: 146.9 kB / 3.162 GB, free: 133.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/7.835, allocations: 6.875 kB / 3.162 GB, free: 133.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/7.836, allocations: 108.9 kB / 3.162 GB, free: 133.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-05/7.836, allocations: 25.62 kB / 3.163 GB, free: 133.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/7.836, allocations: 7.094 kB / 3.163 GB, free: 133.2 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001134/7.837, allocations: 0.7549 MB / 3.163 GB, free: 133.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/7.837, allocations: 7.25 kB / 3.163 GB, free: 133.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.041e-06/7.837, allocations: 6.969 kB / 3.163 GB, free: 133.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006026/7.838, allocations: 143.7 kB / 3.163 GB, free: 133.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/7.838, allocations: 3.969 kB / 3.163 GB, free: 133.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009014/7.838, allocations: 100.6 kB / 3.164 GB, free: 133.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.139e-05/7.839, allocations: 26.5 kB / 3.164 GB, free: 133.2 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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.0005884/7.839, allocations: 373.2 kB / 3.164 GB, free: 133 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/7.839, allocations: 93.81 kB / 3.164 GB, free: 132.9 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/7.841, allocations: 0.8024 MB / 3.165 GB, free: 132.9 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/7.841, allocations: 7 kB / 3.165 GB, free: 132.9 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/7.841, allocations: 0 / 3.165 GB, free: 132.9 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008974/7.841, allocations: 0.7433 MB / 3.165 GB, free: 132.7 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003078/7.845, allocations: 2.075 MB / 3.168 GB, free: 132.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/7.845, allocations: 6.656 kB / 3.168 GB, free: 132.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006801/7.845, allocations: 131.9 kB / 3.168 GB, free: 132.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/7.845, allocations: 5.75 kB / 3.168 GB, free: 132.3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-05/7.845, allocations: 19.09 kB / 3.168 GB, free: 132.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-05/7.845, allocations: 14.34 kB / 3.168 GB, free: 132.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/7.845, allocations: 6.656 kB / 3.168 GB, free: 132.3 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/7.847, allocations: 1.555 MB / 3.169 GB, free: 131.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005538/7.848, allocations: 264.2 kB / 3.169 GB, free: 131.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/7.848, allocations: 17.83 kB / 3.169 GB, free: 131.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006733/7.849, allocations: 49.8 kB / 3.17 GB, free: 131.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.028e-05/7.849, allocations: 44.28 kB / 3.17 GB, free: 131.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/7.849, allocations: 28.27 kB / 3.17 GB, free: 131.6 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007361/7.849, allocations: 0.5496 MB / 3.17 GB, free: 131.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/7.849, allocations: 0 / 3.17 GB, free: 131.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003035/7.852, allocations: 0.9234 MB / 3.171 GB, free: 131.4 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * 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 (64): * Single equations (assignments): 64 * 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.006933/7.859, allocations: 4.714 MB / 3.176 GB, free: 129.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002407/7.862, allocations: 1.146 MB / 3.177 GB, free: 129 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/7.862, allocations: 3.094 kB / 3.177 GB, free: 129 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005703/7.862, allocations: 373 kB / 3.177 GB, free: 129 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003078/7.866, allocations: 0.496 MB / 3.178 GB, free: 129 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005639/7.871, allocations: 4.214 MB / 3.182 GB, free: 126.5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005659/7.872, allocations: 1.089 MB / 3.183 GB, free: 125.8 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001579/7.873, allocations: 411.6 kB / 3.183 GB, free: 125.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005832/7.874, allocations: 332 kB / 3.183 GB, free: 125.8 MB / 0.7136 GB Notification: Performance of SimCode: time 2.254e-06/7.874, allocations: 3.562 kB / 3.183 GB, free: 125.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09065/7.965, allocations: 49.91 MB / 3.232 GB, free: 124.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/7.965, allocations: 255.9 kB / 3.232 GB, free: 124 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.833/11.8, allocations: 7.047 kB / 3.232 GB, free: 124 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)