Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.9552/0.9552, allocations: 143.3 MB / 158.3 MB, free: 5.797 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.002034/0.002034, allocations: 179.2 kB / 191.5 MB, free: 5.777 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.819/1.819, allocations: 223.2 MB / 447.7 MB, free: 4.875 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.001081/0.001081, allocations: 95.77 kB / 0.5187 GB, free: 1.223 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00174/0.00174, allocations: 275.5 kB / 0.6005 GB, free: 48.79 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005085/0.0005085, allocations: 15.8 kB / 0.6929 GB, free: 59.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2496, allocations: 82.8 MB / 0.7738 GB, free: 13.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.587/4.837, allocations: 1.88 GB / 2.654 GB, free: 147.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003418/4.837, allocations: 89.75 kB / 2.654 GB, free: 147.4 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.886/6.723, allocations: 0.5721 GB / 3.226 GB, free: 138.4 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.793e-06/6.723, allocations: 0 / 3.226 GB, free: 138.4 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.194e-05/6.723, allocations: 26.91 kB / 3.226 GB, free: 138.4 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003293/6.726, allocations: 1.374 MB / 3.227 GB, free: 137.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/6.727, allocations: 15.17 kB / 3.227 GB, free: 137.5 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001875/6.727, allocations: 136.5 kB / 3.228 GB, free: 137.4 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001853/6.729, allocations: 330 kB / 3.228 GB, free: 137.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/6.73, allocations: 0.7885 MB / 3.229 GB, free: 136.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003211/6.73, allocations: 128.4 kB / 3.229 GB, free: 136.8 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/6.731, allocations: 89.19 kB / 3.229 GB, free: 136.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/6.732, allocations: 1.033 MB / 3.23 GB, free: 136.5 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/6.732, allocations: 0 / 3.23 GB, free: 136.5 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.095e-05/6.732, allocations: 45.55 kB / 3.23 GB, free: 136.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-05/6.732, allocations: 37.95 kB / 3.23 GB, free: 136.5 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/6.734, allocations: 0.8073 MB / 3.231 GB, free: 136.3 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005405/6.739, allocations: 4.042 MB / 3.235 GB, free: 133 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000485/6.74, allocations: 379.8 kB / 3.235 GB, free: 132.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000165/6.74, allocations: 98.94 kB / 3.235 GB, free: 132.7 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/6.74, allocations: 49.3 kB / 3.235 GB, free: 132.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=36): time 2.194e-06/6.74, allocations: 0 / 3.235 GB, free: 132.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=38): time 0.002292/6.742, allocations: 1.295 MB / 3.236 GB, free: 131.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/6.742, allocations: 59.3 kB / 3.237 GB, free: 131.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/6.743, allocations: 0.8786 MB / 3.237 GB, free: 131.3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.588e-05/6.744, allocations: 37.55 kB / 3.237 GB, free: 131.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/6.744, allocations: 491 kB / 3.238 GB, free: 130.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.246e-05/6.744, allocations: 138.1 kB / 3.238 GB, free: 130.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/6.744, allocations: 11.5 kB / 3.238 GB, free: 130.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.771e-05/6.744, allocations: 333.1 kB / 3.238 GB, free: 130.4 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000402/6.744, allocations: 237.2 kB / 3.239 GB, free: 130.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004858/6.745, allocations: 410.8 kB / 3.239 GB, free: 129.8 MB / 0.7136 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0017/6.747, allocations: 0.732 MB / 3.24 GB, free: 129 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/6.747, allocations: 4 kB / 3.24 GB, free: 129 MB / 0.7136 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001186/6.748, allocations: 0.7506 MB / 3.24 GB, free: 128.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/6.748, allocations: 8 kB / 3.24 GB, free: 128.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/6.748, allocations: 4 kB / 3.24 GB, free: 128.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/6.748, allocations: 11.94 kB / 3.24 GB, free: 128.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000542/6.748, allocations: 147 kB / 3.241 GB, free: 128.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/6.748, allocations: 11.94 kB / 3.241 GB, free: 128.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/6.75, allocations: 102 kB / 3.241 GB, free: 128 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.018e-05/6.75, allocations: 30.62 kB / 3.241 GB, free: 128 MB / 0.7136 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (71): * Single equations (assignments): 71 * 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.0005441/6.75, allocations: 309.5 kB / 3.241 GB, free: 127.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/6.75, allocations: 94.88 kB / 3.241 GB, free: 127.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000165/6.75, allocations: 96.89 kB / 3.241 GB, free: 127.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/6.75, allocations: 7.984 kB / 3.241 GB, free: 127.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/6.751, allocations: 6.375 kB / 3.241 GB, free: 127.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005315/6.751, allocations: 0.6756 MB / 3.242 GB, free: 126.7 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002181/6.753, allocations: 1.577 MB / 3.243 GB, free: 125 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/6.753, allocations: 7.188 kB / 3.243 GB, free: 125 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003995/6.754, allocations: 91.83 kB / 3.244 GB, free: 124.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/6.754, allocations: 7.844 kB / 3.244 GB, free: 124.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.914e-05/6.754, allocations: 12 kB / 3.244 GB, free: 124.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/6.754, allocations: 5.656 kB / 3.244 GB, free: 124.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/6.754, allocations: 8 kB / 3.244 GB, free: 124.9 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000914/6.755, allocations: 1.05 MB / 3.245 GB, free: 123.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004158/6.755, allocations: 235.9 kB / 3.245 GB, free: 123.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/6.755, allocations: 12 kB / 3.245 GB, free: 123.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007201/6.756, allocations: 60.45 kB / 3.245 GB, free: 123.4 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.627e-05/6.756, allocations: 37.95 kB / 3.245 GB, free: 123.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.761e-05/6.756, allocations: 23.98 kB / 3.245 GB, free: 123.4 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008834/6.757, allocations: 0.7022 MB / 3.246 GB, free: 122.6 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.71e-07/6.757, allocations: 3.125 kB / 3.246 GB, free: 122.6 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001324/6.758, allocations: 375.9 kB / 3.246 GB, free: 122.3 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[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 (38): * Single equations (assignments): 38 * 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.003128/6.761, allocations: 3.899 MB / 3.25 GB, free: 118.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00105/6.763, allocations: 0.4958 MB / 3.25 GB, free: 118 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/6.763, allocations: 0 / 3.25 GB, free: 118 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000234/6.763, allocations: 185 kB / 3.25 GB, free: 117.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002773/6.766, allocations: 0.586 MB / 3.251 GB, free: 117.3 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008519/6.774, allocations: 8.898 MB / 3.26 GB, free: 108.1 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005411/6.775, allocations: 1.118 MB / 3.261 GB, free: 106.9 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001135/6.776, allocations: 235.7 kB / 3.261 GB, free: 106.7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004223/6.776, allocations: 343.3 kB / 3.261 GB, free: 106.4 MB / 0.7136 GB Notification: Performance of SimCode: time 1.383e-06/6.776, allocations: 0 / 3.261 GB, free: 106.4 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07132/6.848, allocations: 47.37 MB / 3.308 GB, free: 59.61 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001693/6.848, allocations: 249.4 kB / 3.308 GB, free: 59.28 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.783/10.63, allocations: 3.938 kB / 3.308 GB, free: 59.27 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)