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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005093/0.005093, allocations: 100 kB / 15.73 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 196.7 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.246/1.246, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001965/0.001965, allocations: 281.6 kB / 290.8 MB, free: 1.957 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9095/0.9095, allocations: 169.3 MB / 0.4983 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 99.91 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1615, allocations: 86.97 MB / 0.7659 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.5536/0.7151, allocations: 190.3 MB / 0.9518 GB, free: 4.75 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.008875/0.724, allocations: 5.694 MB / 0.9573 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.7252, allocations: 39.75 kB / 0.9574 GB, free: 15 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.7266, allocations: 0.563 MB / 0.9579 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003433/0.7301, allocations: 1.611 MB / 0.9595 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002709/0.7328, allocations: 1.205 MB / 0.9607 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002575/0.7354, allocations: 2.511 MB / 0.9631 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.7365, allocations: 0.993 MB / 0.9641 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001476/0.738, allocations: 1.043 MB / 0.9651 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001363/0.7393, allocations: 0.8154 MB / 0.9659 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001333/0.7395, allocations: 100 kB / 0.966 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00237/0.7419, allocations: 1.52 MB / 0.9675 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000437/0.7423, allocations: 490.8 kB / 0.968 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005945/0.7429, allocations: 0.6222 MB / 0.9686 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002256/0.7452, allocations: 2.115 MB / 0.9706 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.7452, allocations: 0 / 0.9706 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7452, allocations: 0 / 0.9706 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.7452, allocations: 3.938 kB / 0.9706 GB, free: 1.383 MB / 0.7169 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.002048/0.7473, allocations: 1.476 MB / 0.9721 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.7473, allocations: 16.02 kB / 0.9721 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001505/0.7475, allocations: 139.2 kB / 0.9722 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001828/0.7493, allocations: 331.1 kB / 0.9725 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.7505, allocations: 0.8155 MB / 0.9733 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.966e-05/0.7505, allocations: 62 kB / 0.9734 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.7506, allocations: 84 kB / 0.9735 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/0.7522, allocations: 1.071 MB / 0.9745 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.7523, allocations: 0 / 0.9745 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-05/0.7524, allocations: 40 kB / 0.9746 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.961e-05/0.7524, allocations: 33.94 kB / 0.9746 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.7538, allocations: 0.8314 MB / 0.9754 GB, free: 12.36 MB / 0.7325 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.005143/0.759, allocations: 4.263 MB / 0.9796 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000553/0.7595, allocations: 374 kB / 0.9799 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002839/0.7598, allocations: 215.4 kB / 0.9801 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001806/0.76, allocations: 97.09 kB / 0.9802 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.7601, allocations: 50.42 kB / 0.9803 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 1.433e-06/0.7601, allocations: 0 / 0.9803 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of matching and sorting (n=38): time 0.002255/0.7623, allocations: 1.327 MB / 0.9816 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.7624, allocations: 55.41 kB / 0.9816 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.7636, allocations: 1.004 MB / 0.9826 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.731e-05/0.7637, allocations: 37.7 kB / 0.9826 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003617/0.7641, allocations: 499.2 kB / 0.9831 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.7642, allocations: 138 kB / 0.9832 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001787/0.7644, allocations: 122.2 kB / 0.9834 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.7645, allocations: 330 kB / 0.9837 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004392/0.765, allocations: 237.2 kB / 0.9839 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000561/0.7655, allocations: 427.5 kB / 0.9843 GB, free: 2.738 MB / 0.7325 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.002356/0.7679, allocations: 1.222 MB / 0.9855 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.7679, allocations: 0 / 0.9855 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001275/0.7692, allocations: 0.7575 MB / 0.9862 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.7692, allocations: 8 kB / 0.9862 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.7692, allocations: 8 kB / 0.9863 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.7693, allocations: 15.92 kB / 0.9863 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005611/0.7698, allocations: 144.1 kB / 0.9864 GB, free: 500 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.751e-05/0.7699, allocations: 15.98 kB / 0.9864 GB, free: 484 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007841/0.7707, allocations: 51.95 kB / 0.9865 GB, free: 432 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.948e-05/0.7707, allocations: 28 kB / 0.9865 GB, free: 404 kB / 0.7325 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003922/0.7711, allocations: 322.1 kB / 0.9868 GB, free: 72 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.7713, allocations: 98.95 kB / 0.9869 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001632/0.7715, allocations: 112.8 kB / 0.987 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.7715, allocations: 4 kB / 0.987 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.7715, allocations: 3.984 kB / 0.987 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007051/0.7722, allocations: 0.6711 MB / 0.9877 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002235/0.7744, allocations: 1.58 MB / 0.9892 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.7745, allocations: 4 kB / 0.9892 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003688/0.7748, allocations: 83.89 kB / 0.9893 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.942e-06/0.7749, allocations: 4.5 kB / 0.9893 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.7749, allocations: 20 kB / 0.9893 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/0.7749, allocations: 11.88 kB / 0.9893 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.7749, allocations: 4 kB / 0.9893 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000995/0.7759, allocations: 0.8331 MB / 0.9901 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003315/0.7763, allocations: 239.9 kB / 0.9904 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.7764, allocations: 15.94 kB / 0.9904 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006511/0.777, allocations: 36.72 kB / 0.9904 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.425e-05/0.7771, allocations: 35.84 kB / 0.9905 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-05/0.7772, allocations: 27.98 kB / 0.9905 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009145/0.7781, allocations: 0.7038 MB / 0.9912 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7781, allocations: 4 kB / 0.9912 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007297/0.7788, allocations: 264 kB / 0.9914 GB, free: 11.04 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001637/0.7805, allocations: 1.469 MB / 0.9929 GB, free: 9.504 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008391/0.7813, allocations: 0.504 MB / 0.9934 GB, free: 9 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.7813, allocations: 0 / 0.9934 GB, free: 9 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002491/0.7816, allocations: 189 kB / 0.9935 GB, free: 8.816 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002377/0.784, allocations: 0.6202 MB / 0.9941 GB, free: 8.211 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009692/0.7937, allocations: 7.604 MB / 1.002 GB, free: 236 kB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007283/0.7944, allocations: 1.091 MB / 1.003 GB, free: 15.11 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0007756/0.7952, allocations: 252.3 kB / 1.003 GB, free: 14.86 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004438/0.7957, allocations: 343.3 kB / 1.003 GB, free: 14.52 MB / 0.7637 GB Notification: Performance of SimCode: time 3.3e-07/0.7957, allocations: 0 / 1.003 GB, free: 14.52 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0566/0.8523, allocations: 28.24 MB / 1.031 GB, free: 2.77 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.717/9.57, allocations: 14.08 kB / 1.031 GB, free: 2.762 MB / 0.7794 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/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)