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.001386/0.001385, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001466/0.001466, allocations: 191 kB / 16.25 MB, free: 6.633 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.443/1.443, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002577/0.002577, allocations: 294.9 kB / 290.4 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.084/1.084, allocations: 178.6 MB / 0.507 GB, free: 4.789 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004803/0.004803, allocations: 93.41 kB / 0.6059 GB, free: 25.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.2011, allocations: 89.16 MB / 0.693 GB, free: 4.746 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.5668/0.7679, allocations: 187.8 MB / 0.8764 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01008/0.7781, allocations: 5.65 MB / 0.8819 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001762/0.7799, allocations: 35.06 kB / 0.882 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001605/0.7815, allocations: 0.5042 MB / 0.8825 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004915/0.7865, allocations: 1.519 MB / 0.8839 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003139/0.7896, allocations: 1.102 MB / 0.885 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004164/0.7938, allocations: 2.503 MB / 0.8875 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001494/0.7953, allocations: 0.9711 MB / 0.8884 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002302/0.7976, allocations: 1.031 MB / 0.8894 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002057/0.7997, allocations: 0.867 MB / 0.8903 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000167/0.7999, allocations: 104 kB / 0.8904 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003044/0.8029, allocations: 1.594 MB / 0.8919 GB, free: 336 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006137/0.8035, allocations: 498.8 kB / 0.8924 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007628/0.8043, allocations: 0.63 MB / 0.893 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002997/0.8073, allocations: 2.181 MB / 0.8951 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.8073, allocations: 0 / 0.8951 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8073, allocations: 0 / 0.8951 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.43e-05/0.8074, allocations: 0 / 0.8951 GB, free: 13.02 MB / 0.6231 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.002435/0.8098, allocations: 1.492 MB / 0.8966 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.8099, allocations: 8.031 kB / 0.8966 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002031/0.8119, allocations: 322.3 kB / 0.8969 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/0.8132, allocations: 0.7688 MB / 0.8977 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003736/0.8135, allocations: 117.9 kB / 0.8978 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.8137, allocations: 95.88 kB / 0.8979 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001949/0.8157, allocations: 1.068 MB / 0.8989 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.8157, allocations: 3.938 kB / 0.8989 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.806e-05/0.8158, allocations: 40 kB / 0.899 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.225e-05/0.8159, allocations: 33.98 kB / 0.899 GB, free: 8.957 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/0.8175, allocations: 0.8353 MB / 0.8998 GB, free: 8.117 MB / 0.6231 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.005976/0.8235, allocations: 4.066 MB / 0.9038 GB, free: 3.797 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006471/0.8242, allocations: 367.5 kB / 0.9041 GB, free: 3.43 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/0.8245, allocations: 209.3 kB / 0.9043 GB, free: 3.223 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000199/0.8247, allocations: 105.1 kB / 0.9044 GB, free: 3.102 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.8248, allocations: 42.42 kB / 0.9045 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=36): time 2.355e-06/0.8248, allocations: 3.938 kB / 0.9045 GB, free: 3.047 MB / 0.6231 GB Notification: Performance of matching and sorting (n=38): time 0.00272/0.8275, allocations: 1.328 MB / 0.9058 GB, free: 1.664 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.8276, allocations: 55.41 kB / 0.9058 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/0.829, allocations: 0.9881 MB / 0.9068 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.329e-05/0.8291, allocations: 41.7 kB / 0.9068 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004195/0.8295, allocations: 495.3 kB / 0.9073 GB, free: 52 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/0.8297, allocations: 138.2 kB / 0.9074 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/0.8299, allocations: 118.1 kB / 0.9075 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.8301, allocations: 334 kB / 0.9079 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005124/0.8306, allocations: 229.2 kB / 0.9081 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000668/0.8313, allocations: 405.2 kB / 0.9085 GB, free: 14.77 MB / 0.6387 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.002665/0.8339, allocations: 1.204 MB / 0.9096 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.834, allocations: 0 / 0.9096 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001493/0.8355, allocations: 0.7459 MB / 0.9104 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.8355, allocations: 11.92 kB / 0.9104 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.8355, allocations: 8 kB / 0.9104 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/0.8355, allocations: 8 kB / 0.9104 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005944/0.8361, allocations: 136.1 kB / 0.9105 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.88e-05/0.8362, allocations: 19.86 kB / 0.9105 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009956/0.8372, allocations: 88.91 kB / 0.9106 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-05/0.8372, allocations: 28 kB / 0.9107 GB, free: 12.43 MB / 0.6387 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.0004804/0.8377, allocations: 313.6 kB / 0.911 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.8379, allocations: 98.81 kB / 0.911 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/0.8381, allocations: 101 kB / 0.9111 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.8381, allocations: 4 kB / 0.9111 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.8381, allocations: 0 / 0.9111 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007918/0.8389, allocations: 0.6794 MB / 0.9118 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002642/0.8416, allocations: 1.591 MB / 0.9134 GB, free: 9.449 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.8416, allocations: 5.625 kB / 0.9134 GB, free: 9.445 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004079/0.842, allocations: 88.34 kB / 0.9135 GB, free: 9.359 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.842, allocations: 4 kB / 0.9135 GB, free: 9.355 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.65e-05/0.8421, allocations: 23.92 kB / 0.9135 GB, free: 9.332 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/0.8421, allocations: 7.984 kB / 0.9135 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.8421, allocations: 4 kB / 0.9135 GB, free: 9.32 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.8432, allocations: 0.8295 MB / 0.9143 GB, free: 8.426 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003747/0.8436, allocations: 239.9 kB / 0.9145 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.8438, allocations: 19.92 kB / 0.9146 GB, free: 8.152 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007405/0.8445, allocations: 61.42 kB / 0.9146 GB, free: 8.094 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.082e-05/0.8446, allocations: 37.22 kB / 0.9146 GB, free: 8.059 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.893e-05/0.8447, allocations: 27.98 kB / 0.9147 GB, free: 8.031 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001045/0.8457, allocations: 0.6996 MB / 0.9154 GB, free: 7.32 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8457, allocations: 0 / 0.9154 GB, free: 7.32 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000825/0.8465, allocations: 256 kB / 0.9156 GB, free: 7.07 MB / 0.6387 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.0005477/0.8471, allocations: 206.5 kB / 0.9158 GB, free: 6.863 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001093/0.8482, allocations: 0.5227 MB / 0.9163 GB, free: 6.34 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.8482, allocations: 0 / 0.9163 GB, free: 6.34 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002972/0.8485, allocations: 189.2 kB / 0.9165 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002725/0.8513, allocations: 0.6228 MB / 0.9171 GB, free: 5.551 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/0.8544, allocations: 2.182 MB / 0.9192 GB, free: 3.281 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008969/0.8553, allocations: 1.102 MB / 0.9203 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009316/0.8563, allocations: 240.2 kB / 0.9205 GB, free: 1.914 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.8565, allocations: 71.44 kB / 0.9206 GB, free: 1.844 MB / 0.6387 GB Notification: Performance of SimCode: time 8.31e-07/0.8565, allocations: 0 / 0.9206 GB, free: 1.844 MB / 0.6387 GB Notification: Performance of Templates: time 0.03613/0.8926, allocations: 19.63 MB / 0.9398 GB, free: 14.55 MB / 0.67 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)