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.001272/0.001272, allocations: 109.6 kB / 15.99 MB, free: 6.355 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.001231/0.001231, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.245/1.245, allocations: 222.9 MB / 240.6 MB, free: 13.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002076/0.002076, allocations: 286.8 kB / 291 MB, free: 14.51 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9088/0.9088, allocations: 169.2 MB / 0.4985 GB, free: 4.648 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 92.25 kB / 0.5953 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1521, allocations: 86.99 MB / 0.6803 GB, free: 8.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.4603/0.6125, allocations: 187.9 MB / 0.8637 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008622/0.6212, allocations: 5.641 MB / 0.8692 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.6223, allocations: 35.75 kB / 0.8693 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001327/0.6236, allocations: 0.5053 MB / 0.8698 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003482/0.6272, allocations: 1.513 MB / 0.8712 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002787/0.63, allocations: 1.096 MB / 0.8723 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002951/0.6329, allocations: 2.504 MB / 0.8748 GB, free: 8.219 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.6342, allocations: 0.9657 MB / 0.8757 GB, free: 7.238 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001906/0.6362, allocations: 1.031 MB / 0.8767 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00192/0.6381, allocations: 0.8718 MB / 0.8776 GB, free: 5.34 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002591/0.6384, allocations: 104 kB / 0.8777 GB, free: 5.238 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002652/0.641, allocations: 1.598 MB / 0.8792 GB, free: 3.637 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004741/0.6415, allocations: 498.7 kB / 0.8797 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006421/0.6422, allocations: 0.6261 MB / 0.8803 GB, free: 2.52 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001758/0.6439, allocations: 1.602 MB / 0.8819 GB, free: 0.9141 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.6439, allocations: 0 / 0.8819 GB, free: 0.9141 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6439, allocations: 0 / 0.8819 GB, free: 0.9141 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.797e-05/0.644, allocations: 0 / 0.8819 GB, free: 0.9141 MB / 0.6387 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.00204/0.646, allocations: 1.481 MB / 0.8833 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.6461, allocations: 8.031 kB / 0.8833 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001835/0.6479, allocations: 330.3 kB / 0.8836 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.6489, allocations: 0.7726 MB / 0.8844 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003354/0.6493, allocations: 129.9 kB / 0.8845 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.6494, allocations: 84 kB / 0.8846 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/0.6512, allocations: 1.064 MB / 0.8856 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.6512, allocations: 3.984 kB / 0.8856 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-05/0.6513, allocations: 36 kB / 0.8857 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.571e-05/0.6514, allocations: 34 kB / 0.8857 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.6528, allocations: 0.8431 MB / 0.8865 GB, free: 12.02 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.004789/0.6576, allocations: 4.058 MB / 0.8905 GB, free: 7.699 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005442/0.6582, allocations: 377.6 kB / 0.8908 GB, free: 7.324 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002824/0.6585, allocations: 213.6 kB / 0.891 GB, free: 7.113 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001701/0.6587, allocations: 97.69 kB / 0.8911 GB, free: 7 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.6587, allocations: 42.56 kB / 0.8912 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=36): time 1.633e-06/0.6587, allocations: 0 / 0.8912 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of matching and sorting (n=38): time 0.002243/0.6609, allocations: 1.328 MB / 0.8925 GB, free: 5.566 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.661, allocations: 55.41 kB / 0.8925 GB, free: 5.5 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.6622, allocations: 0.9997 MB / 0.8935 GB, free: 4.477 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.111e-05/0.6622, allocations: 33.7 kB / 0.8935 GB, free: 4.438 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003278/0.6626, allocations: 495.4 kB / 0.894 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.6627, allocations: 138 kB / 0.8941 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/0.6629, allocations: 114.2 kB / 0.8943 GB, free: 3.695 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.663, allocations: 330 kB / 0.8946 GB, free: 3.367 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004357/0.6634, allocations: 237.2 kB / 0.8948 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005435/0.664, allocations: 406.5 kB / 0.8952 GB, free: 2.672 MB / 0.6544 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.002299/0.6663, allocations: 1.189 MB / 0.8963 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.6663, allocations: 0 / 0.8963 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001246/0.6675, allocations: 0.7496 MB / 0.8971 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.6676, allocations: 7.938 kB / 0.8971 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.6676, allocations: 8 kB / 0.8971 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.6676, allocations: 12.25 kB / 0.8971 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005355/0.6682, allocations: 143.7 kB / 0.8972 GB, free: 484 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.6682, allocations: 8 kB / 0.8972 GB, free: 476 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008832/0.6691, allocations: 93.95 kB / 0.8973 GB, free: 384 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.671e-05/0.6691, allocations: 24 kB / 0.8974 GB, free: 360 kB / 0.6544 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.0003696/0.6695, allocations: 313.5 kB / 0.8977 GB, free: 36 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.6697, allocations: 102.8 kB / 0.8978 GB, free: 15.93 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001615/0.6698, allocations: 101 kB / 0.8979 GB, free: 15.82 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.6699, allocations: 11.94 kB / 0.8979 GB, free: 15.81 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.6699, allocations: 2.625 kB / 0.8979 GB, free: 15.81 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006242/0.6705, allocations: 0.6752 MB / 0.8985 GB, free: 15.05 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002055/0.6726, allocations: 1.588 MB / 0.9001 GB, free: 13.36 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.6726, allocations: 4 kB / 0.9001 GB, free: 13.35 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003605/0.6729, allocations: 87.83 kB / 0.9002 GB, free: 13.27 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.673, allocations: 7.984 kB / 0.9002 GB, free: 13.26 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/0.673, allocations: 19.94 kB / 0.9002 GB, free: 13.24 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.673, allocations: 4 kB / 0.9002 GB, free: 13.23 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.673, allocations: 7.938 kB / 0.9002 GB, free: 13.23 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009249/0.6739, allocations: 0.8262 MB / 0.901 GB, free: 12.34 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000298/0.6743, allocations: 243.9 kB / 0.9012 GB, free: 12.08 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.6744, allocations: 12 kB / 0.9013 GB, free: 12.07 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006737/0.6751, allocations: 61.22 kB / 0.9013 GB, free: 12.01 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.569e-05/0.6751, allocations: 39.84 kB / 0.9014 GB, free: 11.97 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.85e-05/0.6752, allocations: 23.98 kB / 0.9014 GB, free: 11.95 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008804/0.6761, allocations: 0.7074 MB / 0.9021 GB, free: 11.23 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6761, allocations: 0 / 0.9021 GB, free: 11.23 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007352/0.6768, allocations: 252 kB / 0.9023 GB, free: 10.98 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.0004496/0.6773, allocations: 199.2 kB / 0.9025 GB, free: 10.78 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.000879/0.6782, allocations: 0.5268 MB / 0.903 GB, free: 10.25 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6782, allocations: 0 / 0.903 GB, free: 10.25 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002604/0.6784, allocations: 198.3 kB / 0.9032 GB, free: 10.06 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002429/0.6809, allocations: 0.63 MB / 0.9038 GB, free: 9.453 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/0.6836, allocations: 2.236 MB / 0.906 GB, free: 7.129 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006055/0.6842, allocations: 1.103 MB / 0.9071 GB, free: 5.996 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/0.6845, allocations: 71.44 kB / 0.9071 GB, free: 5.926 MB / 0.67 GB Notification: Performance of SimCode: time 5.81e-07/0.6845, allocations: 4 kB / 0.9071 GB, free: 5.922 MB / 0.67 GB Notification: Performance of Templates: time 0.03173/0.7162, allocations: 16.31 MB / 0.9231 GB, free: 5.789 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)