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: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 106.7 kB / 16.41 MB, free: 6.473 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.001738/0.001738, allocations: 187 kB / 17.34 MB, free: 5.754 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002062/0.002062, allocations: 299.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9312/0.9312, allocations: 169.3 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 99.86 kB / 0.6821 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.418, allocations: 86.97 MB / 0.767 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1793/0.5974, allocations: 190.3 MB / 0.9529 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4391/1.036, allocations: 5.682 MB / 0.9585 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001849/1.038, allocations: 42.72 kB / 0.9585 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001668/1.04, allocations: 0.5671 MB / 0.9591 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004462/1.045, allocations: 1.614 MB / 0.9606 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003623/1.048, allocations: 1.203 MB / 0.9618 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004272/1.053, allocations: 2.503 MB / 0.9643 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001616/1.054, allocations: 0.9907 MB / 0.9652 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002253/1.056, allocations: 1.042 MB / 0.9662 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001787/1.058, allocations: 0.8176 MB / 0.967 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001927/1.058, allocations: 101.8 kB / 0.9671 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003472/1.062, allocations: 1.524 MB / 0.9686 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005974/1.063, allocations: 0.4894 MB / 0.9691 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009493/1.063, allocations: 0.6193 MB / 0.9697 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003115/1.067, allocations: 2.11 MB / 0.9718 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/1.067, allocations: 0.8438 kB / 0.9718 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.813e-06/1.067, allocations: 0 / 0.9718 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.9e-05/1.067, allocations: 0.5938 kB / 0.9718 GB, free: 1.543 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.002361/1.069, allocations: 1.483 MB / 0.9732 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/1.069, allocations: 14.19 kB / 0.9732 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001822/1.071, allocations: 325.8 kB / 0.9735 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/1.072, allocations: 0.8151 MB / 0.9743 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.434e-05/1.072, allocations: 65.78 kB / 0.9744 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/1.072, allocations: 79.66 kB / 0.9745 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/1.074, allocations: 1.072 MB / 0.9755 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/1.074, allocations: 5.938 kB / 0.9755 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.413e-05/1.074, allocations: 37.03 kB / 0.9756 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.323e-05/1.074, allocations: 37.12 kB / 0.9756 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/1.076, allocations: 0.8321 MB / 0.9764 GB, free: 16.22 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.004959/1.08, allocations: 4.258 MB / 0.9806 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005271/1.081, allocations: 367.2 kB / 0.9809 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/1.081, allocations: 213.4 kB / 0.9811 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/1.081, allocations: 107 kB / 0.9812 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/1.082, allocations: 41.59 kB / 0.9813 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 2.164e-06/1.082, allocations: 3.781 kB / 0.9813 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=38): time 0.002276/1.084, allocations: 1.326 MB / 0.9826 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/1.084, allocations: 59.64 kB / 0.9826 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/1.085, allocations: 0.9982 MB / 0.9836 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.684e-05/1.085, allocations: 34.83 kB / 0.9836 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003393/1.085, allocations: 0.4916 MB / 0.9841 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/1.086, allocations: 139.9 kB / 0.9842 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/1.086, allocations: 126.9 kB / 0.9844 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000113/1.086, allocations: 330.2 kB / 0.9847 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000412/1.086, allocations: 234.2 kB / 0.9849 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005386/1.087, allocations: 428.4 kB / 0.9853 GB, free: 12.31 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.002222/1.089, allocations: 1.216 MB / 0.9865 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/1.089, allocations: 2.656 kB / 0.9865 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001309/1.09, allocations: 0.7695 MB / 0.9872 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/1.09, allocations: 8.781 kB / 0.9873 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/1.09, allocations: 10.52 kB / 0.9873 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/1.091, allocations: 16.64 kB / 0.9873 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005286/1.091, allocations: 143 kB / 0.9874 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/1.091, allocations: 10.75 kB / 0.9874 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008522/1.092, allocations: 57.3 kB / 0.9875 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.268e-05/1.092, allocations: 27.56 kB / 0.9875 GB, free: 11.92 MB / 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.0004365/1.092, allocations: 313.5 kB / 0.9878 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/1.093, allocations: 102.4 kB / 0.9879 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/1.093, allocations: 104.1 kB / 0.988 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/1.093, allocations: 7.531 kB / 0.988 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/1.093, allocations: 0 / 0.988 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006358/1.093, allocations: 0.675 MB / 0.9887 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/1.096, allocations: 1.581 MB / 0.9902 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/1.096, allocations: 2.094 kB / 0.9902 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/1.096, allocations: 84.2 kB / 0.9903 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/1.096, allocations: 6.5 kB / 0.9903 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.498e-05/1.096, allocations: 18.22 kB / 0.9903 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.856e-06/1.096, allocations: 13.5 kB / 0.9903 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.096, allocations: 4.531 kB / 0.9903 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009304/1.097, allocations: 0.8302 MB / 0.9912 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003346/1.097, allocations: 235.1 kB / 0.9914 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/1.097, allocations: 20.22 kB / 0.9914 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006406/1.098, allocations: 40.94 kB / 0.9914 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/1.098, allocations: 34.23 kB / 0.9915 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.347e-05/1.098, allocations: 27.84 kB / 0.9915 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008719/1.099, allocations: 0.7051 MB / 0.9922 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/1.099, allocations: 0.8125 kB / 0.9922 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001181/1.1, allocations: 258.9 kB / 0.9924 GB, free: 10.27 MB / 0.7325 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.0005043/1.101, allocations: 213.6 kB / 0.9926 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008337/1.102, allocations: 0.4946 MB / 0.9931 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/1.102, allocations: 2.812 kB / 0.9931 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002287/1.102, allocations: 189.9 kB / 0.9933 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002521/1.104, allocations: 0.6176 MB / 0.9939 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002692/1.107, allocations: 1.905 MB / 0.9958 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006177/1.108, allocations: 1.098 MB / 0.9968 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002299/1.108, allocations: 88.62 kB / 0.9969 GB, free: 8.543 MB / 0.7325 GB Notification: Performance of SimCode: time 1.683e-06/1.108, allocations: 0 / 0.9969 GB, free: 8.543 MB / 0.7325 GB Notification: Performance of Templates: time 0.02745/1.135, allocations: 16.6 MB / 1.013 GB, free: 5.676 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)