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.001513/0.001513, allocations: 108.6 kB / 15.99 MB, free: 6.348 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.001374/0.001374, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.356/1.356, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002453/0.002453, allocations: 283.5 kB / 291 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.15/1.15, allocations: 178.6 MB / 0.5076 GB, free: 12.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002568/0.002568, allocations: 95.84 kB / 0.6066 GB, free: 9.656 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1808, allocations: 89.14 MB / 0.6936 GB, free: 436 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.4797/0.6605, allocations: 187.9 MB / 0.8771 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01025/0.6708, allocations: 5.644 MB / 0.8826 GB, free: 9.051 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001653/0.6725, allocations: 35.81 kB / 0.8826 GB, free: 9.016 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001657/0.6742, allocations: 0.5092 MB / 0.8831 GB, free: 8.504 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004588/0.6788, allocations: 1.513 MB / 0.8846 GB, free: 6.984 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00325/0.6821, allocations: 1.1 MB / 0.8857 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00355/0.6856, allocations: 2.507 MB / 0.8881 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.6871, allocations: 0.9601 MB / 0.8891 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002035/0.6891, allocations: 1.027 MB / 0.8901 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001933/0.691, allocations: 0.871 MB / 0.8909 GB, free: 0.5234 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001744/0.6912, allocations: 104 kB / 0.891 GB, free: 432 kB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003012/0.6943, allocations: 1.594 MB / 0.8926 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006602/0.6949, allocations: 0.4987 MB / 0.8931 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008954/0.6958, allocations: 0.6222 MB / 0.8937 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002339/0.6982, allocations: 1.59 MB / 0.8952 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.6982, allocations: 3.938 kB / 0.8952 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6982, allocations: 0 / 0.8952 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.589e-05/0.6982, allocations: 0 / 0.8952 GB, free: 12.1 MB / 0.6544 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.002483/0.7007, allocations: 1.484 MB / 0.8967 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.7008, allocations: 8.031 kB / 0.8967 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001925/0.7027, allocations: 330.3 kB / 0.897 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.7039, allocations: 0.7726 MB / 0.8977 GB, free: 9.422 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004231/0.7043, allocations: 121.9 kB / 0.8979 GB, free: 9.305 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.7045, allocations: 87.91 kB / 0.8979 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/0.7063, allocations: 1.076 MB / 0.899 GB, free: 8.109 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.7064, allocations: 0 / 0.899 GB, free: 8.109 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.164e-05/0.7065, allocations: 36 kB / 0.899 GB, free: 8.074 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.386e-05/0.7065, allocations: 37.98 kB / 0.8991 GB, free: 8.039 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/0.7081, allocations: 0.8353 MB / 0.8999 GB, free: 7.203 MB / 0.6544 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.005811/0.7139, allocations: 4.056 MB / 0.9038 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006221/0.7146, allocations: 366.6 kB / 0.9042 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000321/0.7149, allocations: 217.9 kB / 0.9044 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001868/0.7151, allocations: 97.09 kB / 0.9045 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.7151, allocations: 42.42 kB / 0.9045 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=36): time 2.274e-06/0.7151, allocations: 3.938 kB / 0.9045 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of matching and sorting (n=38): time 0.002597/0.7177, allocations: 1.324 MB / 0.9058 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.7178, allocations: 55.41 kB / 0.9059 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.7192, allocations: 0.996 MB / 0.9069 GB, free: 15.68 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.985e-05/0.7193, allocations: 33.7 kB / 0.9069 GB, free: 15.64 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004002/0.7197, allocations: 499.3 kB / 0.9074 GB, free: 15.15 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.7198, allocations: 138 kB / 0.9075 GB, free: 15.01 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/0.72, allocations: 122.1 kB / 0.9076 GB, free: 14.89 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002003/0.7202, allocations: 326 kB / 0.9079 GB, free: 14.56 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004741/0.7207, allocations: 233.2 kB / 0.9081 GB, free: 14.33 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006093/0.7213, allocations: 408.4 kB / 0.9085 GB, free: 13.87 MB / 0.67 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.002529/0.7239, allocations: 1.205 MB / 0.9097 GB, free: 12.59 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.7239, allocations: 0 / 0.9097 GB, free: 12.59 MB / 0.67 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001385/0.7253, allocations: 0.7459 MB / 0.9104 GB, free: 11.84 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.7253, allocations: 11.94 kB / 0.9104 GB, free: 11.82 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.7253, allocations: 4 kB / 0.9105 GB, free: 11.82 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.7254, allocations: 11.98 kB / 0.9105 GB, free: 11.81 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000553/0.7259, allocations: 144 kB / 0.9106 GB, free: 11.67 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.7259, allocations: 8 kB / 0.9106 GB, free: 11.66 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009705/0.7269, allocations: 91.33 kB / 0.9107 GB, free: 11.57 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.348e-05/0.727, allocations: 31.94 kB / 0.9107 GB, free: 11.54 MB / 0.67 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004697/0.7275, allocations: 310.2 kB / 0.911 GB, free: 11.23 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.7276, allocations: 102.8 kB / 0.9111 GB, free: 11.13 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000182/0.7278, allocations: 105 kB / 0.9112 GB, free: 11.02 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.7278, allocations: 4 kB / 0.9112 GB, free: 11.02 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.7278, allocations: 0 / 0.9112 GB, free: 11.02 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007721/0.7286, allocations: 0.6797 MB / 0.9119 GB, free: 10.25 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002502/0.7311, allocations: 1.584 MB / 0.9134 GB, free: 8.559 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.7311, allocations: 12.42 kB / 0.9134 GB, free: 8.547 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003727/0.7315, allocations: 83.91 kB / 0.9135 GB, free: 8.465 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.7315, allocations: 4 kB / 0.9135 GB, free: 8.461 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.7316, allocations: 19.94 kB / 0.9135 GB, free: 8.441 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.866e-06/0.7316, allocations: 11.98 kB / 0.9136 GB, free: 8.43 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/0.7316, allocations: 7.938 kB / 0.9136 GB, free: 8.422 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.7327, allocations: 0.8216 MB / 0.9144 GB, free: 7.535 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003462/0.733, allocations: 235.9 kB / 0.9146 GB, free: 7.285 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.7332, allocations: 15.98 kB / 0.9146 GB, free: 7.27 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006977/0.7339, allocations: 58.25 kB / 0.9147 GB, free: 7.215 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/0.734, allocations: 43.83 kB / 0.9147 GB, free: 7.172 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.576e-05/0.734, allocations: 23.98 kB / 0.9147 GB, free: 7.148 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001037/0.7351, allocations: 0.6996 MB / 0.9154 GB, free: 6.438 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7351, allocations: 11.94 kB / 0.9154 GB, free: 6.426 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008023/0.7359, allocations: 252 kB / 0.9157 GB, free: 6.18 MB / 0.67 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.0004948/0.7364, allocations: 203.5 kB / 0.9159 GB, free: 5.977 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001011/0.7374, allocations: 0.5264 MB / 0.9164 GB, free: 5.449 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.7374, allocations: 4 kB / 0.9164 GB, free: 5.445 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002705/0.7377, allocations: 189.2 kB / 0.9166 GB, free: 5.262 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/0.7402, allocations: 0.6266 MB / 0.9172 GB, free: 4.668 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00311/0.7434, allocations: 2.248 MB / 0.9194 GB, free: 2.336 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007802/0.7442, allocations: 1.099 MB / 0.9204 GB, free: 1.203 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/0.7444, allocations: 83.42 kB / 0.9205 GB, free: 1.125 MB / 0.67 GB Notification: Performance of SimCode: time 5.51e-07/0.7444, allocations: 0 / 0.9205 GB, free: 1.125 MB / 0.67 GB Notification: Performance of Templates: time 0.02536/0.7698, allocations: 16.31 MB / 0.9364 GB, free: 0.9805 MB / 0.6856 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)