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.7048/0.7048, allocations: 141.7 MB / 154.3 MB, free: 15.47 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009678/0.0009681, allocations: 184 kB / 187.3 MB, free: 11.87 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.278/1.278, allocations: 221.3 MB / 441.4 MB, free: 4.637 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.0008775/0.0008776, allocations: 97.39 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001688/0.001688, allocations: 270.4 kB / 0.5939 GB, free: 7.949 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.35e-05/3.359e-05, allocations: 4 kB / 0.6835 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3661, allocations: 82.76 MB / 0.7644 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.656/4.022, allocations: 1.909 GB / 2.673 GB, free: 96.73 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001948/4.022, allocations: 87.77 kB / 2.673 GB, free: 96.68 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.506/5.528, allocations: 475.3 MB / 3.138 GB, free: 138.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.543e-06/5.528, allocations: 0 / 3.138 GB, free: 138.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.397e-05/5.528, allocations: 35.36 kB / 3.138 GB, free: 138.7 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.003961/5.532, allocations: 1.481 MB / 3.139 GB, free: 138 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/5.532, allocations: 14.42 kB / 3.139 GB, free: 138 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002958/5.533, allocations: 120.8 kB / 3.139 GB, free: 138 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001863/5.535, allocations: 289 kB / 3.139 GB, free: 137.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001993/5.537, allocations: 0.8212 MB / 3.14 GB, free: 137.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.702e-05/5.537, allocations: 58.94 kB / 3.14 GB, free: 137.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002352/5.537, allocations: 65.38 kB / 3.14 GB, free: 137.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/5.539, allocations: 0.9646 MB / 3.141 GB, free: 137.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/5.539, allocations: 2.625 kB / 3.141 GB, free: 137.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.669e-05/5.539, allocations: 27 kB / 3.141 GB, free: 137.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.513e-05/5.539, allocations: 71.22 kB / 3.141 GB, free: 137.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/5.54, allocations: 0.9705 MB / 3.142 GB, free: 137.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00548/5.546, allocations: 3.574 MB / 3.146 GB, free: 136.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000808/5.547, allocations: 0.6435 MB / 3.146 GB, free: 136.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004198/5.547, allocations: 363.8 kB / 3.147 GB, free: 136.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000217/5.547, allocations: 199.4 kB / 3.147 GB, free: 136 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/5.547, allocations: 39.56 kB / 3.147 GB, free: 136 MB / 0.698 GB Notification: Performance of pre-optimization done (n=62): time 2.475e-06/5.547, allocations: 0 / 3.147 GB, free: 136 MB / 0.698 GB Notification: Performance of matching and sorting (n=62): time 0.00127/5.549, allocations: 0.7357 MB / 3.148 GB, free: 135.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/5.549, allocations: 111 kB / 3.148 GB, free: 135.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007775/5.549, allocations: 0.696 MB / 3.149 GB, free: 135.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.092e-05/5.549, allocations: 39.3 kB / 3.149 GB, free: 135.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/5.55, allocations: 423.9 kB / 3.149 GB, free: 135.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/5.55, allocations: 217.6 kB / 3.149 GB, free: 135.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/5.55, allocations: 17.03 kB / 3.149 GB, free: 135.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.209e-05/5.55, allocations: 335.5 kB / 3.15 GB, free: 135.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004067/5.55, allocations: 310.9 kB / 3.15 GB, free: 135.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004746/5.551, allocations: 446.4 kB / 3.15 GB, free: 135 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004779/5.551, allocations: 385.6 kB / 3.151 GB, free: 134.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/5.551, allocations: 0 / 3.151 GB, free: 134.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00115/5.553, allocations: 0.8833 MB / 3.151 GB, free: 134.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001397/5.553, allocations: 0.7072 MB / 3.152 GB, free: 134.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/5.553, allocations: 0 / 3.152 GB, free: 134.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/5.553, allocations: 6.906 kB / 3.152 GB, free: 134.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006411/5.553, allocations: 151.5 kB / 3.152 GB, free: 134.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/5.553, allocations: 7.156 kB / 3.152 GB, free: 134.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008782/5.554, allocations: 109.7 kB / 3.152 GB, free: 134.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-05/5.554, allocations: 30.16 kB / 3.152 GB, free: 134.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/5.554, allocations: 4.75 kB / 3.152 GB, free: 134.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009935/5.555, allocations: 0.7427 MB / 3.153 GB, free: 134.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/5.555, allocations: 0 / 3.153 GB, free: 134.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/5.555, allocations: 6.531 kB / 3.153 GB, free: 134.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005753/5.556, allocations: 143.2 kB / 3.153 GB, free: 134.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/5.556, allocations: 11.73 kB / 3.153 GB, free: 134.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008374/5.557, allocations: 100.4 kB / 3.153 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.361e-05/5.557, allocations: 24.31 kB / 3.153 GB, free: 134 MB / 0.698 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 () * 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.0001921/5.557, allocations: 138.8 kB / 3.154 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002125/5.557, allocations: 92.03 kB / 3.154 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/5.559, allocations: 0.7883 MB / 3.154 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/5.559, allocations: 10.69 kB / 3.154 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/5.559, allocations: 0 / 3.154 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007988/5.559, allocations: 0.7359 MB / 3.155 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002594/5.562, allocations: 2.067 MB / 3.157 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/5.562, allocations: 10.88 kB / 3.157 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005852/5.563, allocations: 135.8 kB / 3.157 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.188e-06/5.563, allocations: 7.844 kB / 3.157 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-05/5.563, allocations: 15.88 kB / 3.157 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/5.563, allocations: 10.06 kB / 3.157 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/5.563, allocations: 7.344 kB / 3.157 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/5.564, allocations: 1.537 MB / 3.159 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003683/5.565, allocations: 253.4 kB / 3.159 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/5.565, allocations: 15.83 kB / 3.159 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006377/5.565, allocations: 52.55 kB / 3.159 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.34e-05/5.565, allocations: 51.61 kB / 3.159 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.386e-05/5.565, allocations: 30.95 kB / 3.159 GB, free: 131.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005542/5.566, allocations: 0.5404 MB / 3.16 GB, free: 131 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/5.566, allocations: 0 / 3.16 GB, free: 131 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002242/5.568, allocations: 0.9162 MB / 3.161 GB, free: 130.8 MB / 0.698 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 () * 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.004723/5.573, allocations: 4.708 MB / 3.165 GB, free: 127.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001578/5.575, allocations: 1.15 MB / 3.166 GB, free: 127.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/5.575, allocations: 2.031 kB / 3.166 GB, free: 127.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004003/5.575, allocations: 365.2 kB / 3.167 GB, free: 127.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00212/5.577, allocations: 0.5027 MB / 3.167 GB, free: 127.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003128/5.58, allocations: 1.907 MB / 3.169 GB, free: 126.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004709/5.581, allocations: 1.092 MB / 3.17 GB, free: 125.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001446/5.582, allocations: 489.6 kB / 3.171 GB, free: 125.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003936/5.583, allocations: 324.6 kB / 3.171 GB, free: 125.4 MB / 0.698 GB Notification: Performance of SimCode: time 4.31e-07/5.583, allocations: 3 kB / 3.171 GB, free: 125.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06719/5.65, allocations: 55.15 MB / 3.225 GB, free: 79.84 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001414/5.65, allocations: 226.5 kB / 3.225 GB, free: 79.61 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.564/9.214, allocations: 4 kB / 3.225 GB, free: 79.6 MB / 0.698 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)