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.004651/0.004651, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001117/0.001117, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002074/0.002074, allocations: 282.1 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9464/0.9464, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 91.84 kB / 0.6814 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1766, allocations: 86.98 MB / 0.7664 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.5509/0.7276, allocations: 190.3 MB / 0.9522 GB, free: 4.406 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.008531/0.7361, allocations: 5.696 MB / 0.9578 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.7373, allocations: 39.75 kB / 0.9578 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001327/0.7387, allocations: 0.567 MB / 0.9584 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00361/0.7423, allocations: 1.606 MB / 0.96 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002968/0.7453, allocations: 1.211 MB / 0.9612 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003079/0.7484, allocations: 2.507 MB / 0.9636 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.7495, allocations: 0.9847 MB / 0.9646 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001615/0.7512, allocations: 1.051 MB / 0.9656 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001464/0.7526, allocations: 0.8084 MB / 0.9664 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001576/0.7528, allocations: 104 kB / 0.9665 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002699/0.7555, allocations: 1.52 MB / 0.968 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004447/0.756, allocations: 0.4908 MB / 0.9684 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005954/0.7566, allocations: 0.6183 MB / 0.969 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002417/0.759, allocations: 2.111 MB / 0.9711 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.759, allocations: 0 / 0.9711 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.753e-06/0.759, allocations: 0 / 0.9711 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.59e-05/0.7591, allocations: 4 kB / 0.9711 GB, free: 1.043 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.002079/0.7611, allocations: 1.475 MB / 0.9726 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.7612, allocations: 12.03 kB / 0.9726 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00182/0.763, allocations: 331.6 kB / 0.9729 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/0.7644, allocations: 0.8039 MB / 0.9737 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.908e-05/0.7644, allocations: 69.98 kB / 0.9737 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.7646, allocations: 95.92 kB / 0.9738 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001624/0.7662, allocations: 1.067 MB / 0.9749 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.7662, allocations: 4 kB / 0.9749 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-05/0.7663, allocations: 36 kB / 0.9749 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-05/0.7664, allocations: 37.98 kB / 0.9749 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.7678, allocations: 0.8236 MB / 0.9757 GB, free: 12.17 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.005013/0.7728, allocations: 4.266 MB / 0.9799 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000561/0.7734, allocations: 370.6 kB / 0.9803 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002891/0.7737, allocations: 220 kB / 0.9805 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000163/0.7738, allocations: 93.09 kB / 0.9806 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.7739, allocations: 50.36 kB / 0.9806 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 1.904e-06/0.7739, allocations: 0 / 0.9806 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of matching and sorting (n=38): time 0.002228/0.7761, allocations: 1.331 MB / 0.9819 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.7762, allocations: 55.41 kB / 0.982 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.7774, allocations: 1.001 MB / 0.9829 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.56e-05/0.7774, allocations: 37.7 kB / 0.983 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004274/0.7779, allocations: 0.4914 MB / 0.9835 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.778, allocations: 134 kB / 0.9836 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002316/0.7782, allocations: 126.1 kB / 0.9837 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.7784, allocations: 334 kB / 0.984 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004656/0.7789, allocations: 237.2 kB / 0.9842 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005975/0.7795, allocations: 415.8 kB / 0.9846 GB, free: 2.547 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.002466/0.782, allocations: 1.224 MB / 0.9858 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.525e-06/0.782, allocations: 4.75 kB / 0.9858 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001418/0.7834, allocations: 0.7653 MB / 0.9866 GB, free: 468 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.7834, allocations: 8 kB / 0.9866 GB, free: 460 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.7835, allocations: 4 kB / 0.9866 GB, free: 456 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.7835, allocations: 11.94 kB / 0.9866 GB, free: 444 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005575/0.784, allocations: 143.8 kB / 0.9868 GB, free: 300 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.7841, allocations: 12.25 kB / 0.9868 GB, free: 288 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008527/0.7849, allocations: 57.02 kB / 0.9868 GB, free: 232 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.377e-05/0.785, allocations: 31.98 kB / 0.9868 GB, free: 200 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.0004346/0.7854, allocations: 318.2 kB / 0.9872 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.7856, allocations: 102.8 kB / 0.9872 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001584/0.7857, allocations: 97.03 kB / 0.9873 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.7858, allocations: 7.938 kB / 0.9873 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.7858, allocations: 0 / 0.9873 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006568/0.7864, allocations: 0.6866 MB / 0.988 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002377/0.7888, allocations: 1.577 MB / 0.9896 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/0.7888, allocations: 4.688 kB / 0.9896 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003868/0.7892, allocations: 83.84 kB / 0.9896 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.7893, allocations: 8 kB / 0.9897 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/0.7893, allocations: 11.98 kB / 0.9897 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.897e-06/0.7893, allocations: 12 kB / 0.9897 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/0.7893, allocations: 12.31 kB / 0.9897 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009733/0.7903, allocations: 0.8293 MB / 0.9905 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003849/0.7907, allocations: 235.9 kB / 0.9907 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.7908, allocations: 19.92 kB / 0.9907 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006316/0.7914, allocations: 35.97 kB / 0.9908 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.092e-05/0.7915, allocations: 39.84 kB / 0.9908 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.234e-05/0.7916, allocations: 27.92 kB / 0.9908 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009855/0.7926, allocations: 0.7077 MB / 0.9915 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7926, allocations: 0 / 0.9915 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008415/0.7934, allocations: 256 kB / 0.9918 GB, free: 10.85 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.0004436/0.7939, allocations: 207.8 kB / 0.992 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008823/0.7948, allocations: 0.5004 MB / 0.9925 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.7948, allocations: 8.125 kB / 0.9925 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002444/0.795, allocations: 179.7 kB / 0.9926 GB, free: 9.969 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002557/0.7976, allocations: 0.6148 MB / 0.9932 GB, free: 9.359 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002623/0.8002, allocations: 1.832 MB / 0.995 GB, free: 7.449 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006688/0.8009, allocations: 1.107 MB / 0.9961 GB, free: 6.312 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007571/0.8017, allocations: 248.3 kB / 0.9963 GB, free: 6.066 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.8019, allocations: 67.44 kB / 0.9964 GB, free: 6 MB / 0.7481 GB Notification: Performance of SimCode: time 3.4e-07/0.8019, allocations: 0 / 0.9964 GB, free: 6 MB / 0.7481 GB Notification: Performance of Templates: time 0.03327/0.8352, allocations: 20.22 MB / 1.016 GB, free: 2.109 MB / 0.7637 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)