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.004663/0.004663, allocations: 96.83 kB / 15.73 MB, free: 6.055 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.001039/0.001039, allocations: 193.7 kB / 16.67 MB, free: 5.977 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00207/0.002071, allocations: 278.7 kB / 290.8 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9559/0.9559, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002678/0.002678, allocations: 87.86 kB / 0.6814 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1935, allocations: 86.97 MB / 0.7664 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.5353/0.7289, allocations: 190.3 MB / 0.9522 GB, free: 4.371 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.008374/0.7373, allocations: 5.694 MB / 0.9578 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009466/0.7383, allocations: 35.81 kB / 0.9578 GB, free: 14.63 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.7397, allocations: 0.5708 MB / 0.9584 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003362/0.7431, allocations: 1.618 MB / 0.96 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002761/0.7458, allocations: 1.199 MB / 0.9611 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002856/0.7487, allocations: 2.512 MB / 0.9636 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00119/0.7499, allocations: 0.9926 MB / 0.9646 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001712/0.7516, allocations: 1.027 MB / 0.9656 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001465/0.7531, allocations: 0.81 MB / 0.9664 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001719/0.7533, allocations: 100 kB / 0.9665 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002746/0.756, allocations: 1.528 MB / 0.968 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004759/0.7565, allocations: 498.6 kB / 0.9684 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000641/0.7572, allocations: 0.6183 MB / 0.969 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00284/0.76, allocations: 2.124 MB / 0.9711 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.7601, allocations: 4 kB / 0.9711 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7601, allocations: 0 / 0.9711 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.976e-05/0.7601, allocations: 0 / 0.9711 GB, free: 1.012 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.002445/0.7625, allocations: 1.506 MB / 0.9726 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.7626, allocations: 8.031 kB / 0.9726 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002002/0.7646, allocations: 342.9 kB / 0.9729 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.7659, allocations: 0.8123 MB / 0.9737 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.503e-05/0.766, allocations: 65.98 kB / 0.9738 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.7661, allocations: 91.89 kB / 0.9739 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/0.7679, allocations: 1.071 MB / 0.9749 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.7679, allocations: 3.625 kB / 0.9749 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-05/0.768, allocations: 43.98 kB / 0.975 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.838e-05/0.768, allocations: 33.98 kB / 0.975 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.7695, allocations: 0.8313 MB / 0.9758 GB, free: 12.08 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.00545/0.7749, allocations: 4.268 MB / 0.98 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006069/0.7756, allocations: 373.1 kB / 0.9803 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/0.7759, allocations: 209.9 kB / 0.9805 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001855/0.7761, allocations: 101.1 kB / 0.9806 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.7761, allocations: 42.42 kB / 0.9807 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 2.514e-06/0.7761, allocations: 4 kB / 0.9807 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of matching and sorting (n=38): time 0.002552/0.7787, allocations: 1.343 MB / 0.982 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.7787, allocations: 55.41 kB / 0.982 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.7801, allocations: 1.001 MB / 0.983 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.509e-05/0.7801, allocations: 33.7 kB / 0.983 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003614/0.7805, allocations: 0.5041 MB / 0.9835 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.7807, allocations: 150.7 kB / 0.9837 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000208/0.7809, allocations: 122.2 kB / 0.9838 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.781, allocations: 330 kB / 0.9841 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004786/0.7815, allocations: 245.1 kB / 0.9843 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006069/0.7821, allocations: 415.9 kB / 0.9847 GB, free: 2.43 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.002514/0.7846, allocations: 1.22 MB / 0.9859 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.7847, allocations: 0 / 0.9859 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001434/0.7861, allocations: 0.7736 MB / 0.9867 GB, free: 348 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.7861, allocations: 4 kB / 0.9867 GB, free: 344 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.7861, allocations: 8 kB / 0.9867 GB, free: 336 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.767e-05/0.7862, allocations: 11.94 kB / 0.9867 GB, free: 324 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005457/0.7867, allocations: 148.1 kB / 0.9868 GB, free: 176 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.7868, allocations: 16 kB / 0.9869 GB, free: 160 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000885/0.7876, allocations: 51.89 kB / 0.9869 GB, free: 108 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.546e-05/0.7877, allocations: 27.98 kB / 0.9869 GB, free: 80 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.0005116/0.7882, allocations: 328.7 kB / 0.9872 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.7884, allocations: 103.3 kB / 0.9873 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001697/0.7885, allocations: 105 kB / 0.9874 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.7886, allocations: 7.938 kB / 0.9875 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.7886, allocations: 0 / 0.9875 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006547/0.7892, allocations: 0.675 MB / 0.9881 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002252/0.7915, allocations: 1.584 MB / 0.9897 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.7915, allocations: 4.688 kB / 0.9897 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003687/0.7919, allocations: 83.91 kB / 0.9897 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.7919, allocations: 4 kB / 0.9897 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.136e-05/0.7919, allocations: 15.98 kB / 0.9898 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.017e-05/0.792, allocations: 9.938 kB / 0.9898 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.296e-06/0.792, allocations: 15.94 kB / 0.9898 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.793, allocations: 0.8299 MB / 0.9906 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000323/0.7933, allocations: 240.4 kB / 0.9908 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.7935, allocations: 23.92 kB / 0.9908 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006117/0.7941, allocations: 33.59 kB / 0.9909 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.384e-05/0.7942, allocations: 35.84 kB / 0.9909 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.311e-05/0.7942, allocations: 31.92 kB / 0.9909 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009772/0.7952, allocations: 0.7077 MB / 0.9916 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7952, allocations: 0 / 0.9916 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008112/0.796, allocations: 255.9 kB / 0.9919 GB, free: 10.72 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.0004789/0.7965, allocations: 210.4 kB / 0.9921 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009617/0.7975, allocations: 0.498 MB / 0.9926 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.7975, allocations: 0 / 0.9926 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002431/0.7978, allocations: 193.7 kB / 0.9928 GB, free: 9.828 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002475/0.8002, allocations: 0.6208 MB / 0.9934 GB, free: 9.219 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003353/0.8036, allocations: 1.855 MB / 0.9952 GB, free: 7.281 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006819/0.8043, allocations: 1.103 MB / 0.9962 GB, free: 6.148 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007843/0.8051, allocations: 248.3 kB / 0.9965 GB, free: 5.902 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.8053, allocations: 71.44 kB / 0.9966 GB, free: 5.832 MB / 0.7481 GB Notification: Performance of SimCode: time 1.012e-06/0.8053, allocations: 0 / 0.9966 GB, free: 5.832 MB / 0.7481 GB Notification: Performance of Templates: time 0.03537/0.8407, allocations: 19.92 MB / 1.016 GB, free: 2.238 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)