Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006026/0.006026, allocations: 97.83 kB / 15.73 MB, free: 6.047 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.001338/0.001338, allocations: 192.9 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001982/0.001982, allocations: 285.9 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9212/0.9212, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 95.86 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1615, allocations: 86.97 MB / 0.7664 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5368/0.6983, allocations: 187.3 MB / 0.9493 GB, free: 7.625 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0141/0.7124, allocations: 13.09 MB / 0.9621 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009245/0.7134, allocations: 31.81 kB / 0.9621 GB, free: 10.47 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.7146, allocations: 429.2 kB / 0.9625 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002349/0.717, allocations: 1.155 MB / 0.9636 GB, free: 8.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.7185, allocations: 0.7057 MB / 0.9643 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001919/0.7204, allocations: 2.024 MB / 0.9663 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009488/0.7214, allocations: 0.8317 MB / 0.9671 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003515/0.7249, allocations: 1.829 MB / 0.9689 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00123/0.7262, allocations: 0.6666 MB / 0.9695 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.7263, allocations: 80 kB / 0.9696 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001526/0.7278, allocations: 0.8653 MB / 0.9705 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003342/0.7282, allocations: 387 kB / 0.9708 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004542/0.7286, allocations: 0.4976 MB / 0.9713 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001604/0.7302, allocations: 1.507 MB / 0.9728 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.7303, allocations: 0 / 0.9728 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7303, allocations: 3.938 kB / 0.9728 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.7303, allocations: 0 / 0.9728 GB, free: 15.47 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001625/0.7319, allocations: 1.235 MB / 0.974 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.732, allocations: 8.031 kB / 0.974 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.7331, allocations: 214.6 kB / 0.9742 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.7342, allocations: 0.6832 MB / 0.9749 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.403e-05/0.7342, allocations: 61.98 kB / 0.9749 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.7343, allocations: 72 kB / 0.975 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.7355, allocations: 0.9327 MB / 0.9759 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.7356, allocations: 0 / 0.9759 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.839e-05/0.7356, allocations: 36 kB / 0.976 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.594e-05/0.7357, allocations: 37.23 kB / 0.976 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000908/0.7366, allocations: 0.6177 MB / 0.9766 GB, free: 11.4 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.003857/0.7405, allocations: 4.574 MB / 0.9811 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007227/0.7412, allocations: 0.548 MB / 0.9816 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003142/0.7415, allocations: 244.8 kB / 0.9818 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001616/0.7417, allocations: 97.09 kB / 0.9819 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.7417, allocations: 46.28 kB / 0.982 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 1.653e-06/0.7417, allocations: 4 kB / 0.982 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.002433/0.7442, allocations: 1.591 MB / 0.9835 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.7442, allocations: 106.8 kB / 0.9836 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007265/0.745, allocations: 0.7193 MB / 0.9843 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.975e-05/0.745, allocations: 41.95 kB / 0.9844 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/0.7453, allocations: 415.7 kB / 0.9848 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.7454, allocations: 157.8 kB / 0.9849 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.7456, allocations: 122.1 kB / 0.985 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.694e-05/0.7457, allocations: 326 kB / 0.9853 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/0.7459, allocations: 185.2 kB / 0.9855 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004216/0.7464, allocations: 421 kB / 0.9859 GB, free: 1.266 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002075/0.7485, allocations: 1.18 MB / 0.9871 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.7485, allocations: 4 kB / 0.9871 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009061/0.7494, allocations: 0.6675 MB / 0.9877 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.7494, allocations: 11.94 kB / 0.9877 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.7494, allocations: 8 kB / 0.9877 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.7495, allocations: 8 kB / 0.9878 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004277/0.7499, allocations: 124.5 kB / 0.9879 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/0.7499, allocations: 15.92 kB / 0.9879 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005013/0.7504, allocations: 32.98 kB / 0.9879 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.363e-05/0.7505, allocations: 32 kB / 0.9879 GB, free: 15.08 MB / 0.7481 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * 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.0002977/0.7508, allocations: 272.6 kB / 0.9882 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.7509, allocations: 83 kB / 0.9883 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001519/0.7511, allocations: 83.67 kB / 0.9884 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.301e-06/0.7511, allocations: 11.98 kB / 0.9884 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.7511, allocations: 0 / 0.9884 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006533/0.7518, allocations: 0.7027 MB / 0.9891 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002175/0.754, allocations: 1.638 MB / 0.9907 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.754, allocations: 7.625 kB / 0.9907 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004295/0.7544, allocations: 104.4 kB / 0.9908 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.7544, allocations: 7.938 kB / 0.9908 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/0.7545, allocations: 16 kB / 0.9908 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.615e-06/0.7545, allocations: 11.94 kB / 0.9908 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.7545, allocations: 7.984 kB / 0.9908 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009924/0.7555, allocations: 0.8541 MB / 0.9916 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002897/0.7558, allocations: 212 kB / 0.9918 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.7559, allocations: 19.92 kB / 0.9919 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004277/0.7563, allocations: 16 kB / 0.9919 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.377e-05/0.7564, allocations: 43.83 kB / 0.9919 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/0.7564, allocations: 20 kB / 0.9919 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005582/0.757, allocations: 0.5068 MB / 0.9924 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/0.757, allocations: 0 / 0.9924 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006232/0.7576, allocations: 204 kB / 0.9926 GB, free: 10 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.0004132/0.7581, allocations: 211.7 kB / 0.9928 GB, free: 9.809 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007352/0.7588, allocations: 484.7 kB / 0.9933 GB, free: 9.336 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.7588, allocations: 8.125 kB / 0.9933 GB, free: 9.328 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000274/0.7591, allocations: 204.7 kB / 0.9935 GB, free: 9.129 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001921/0.761, allocations: 481.5 kB / 0.994 GB, free: 8.676 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002672/0.7637, allocations: 1.663 MB / 0.9956 GB, free: 6.938 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000744/0.7645, allocations: 1.028 MB / 0.9966 GB, free: 5.879 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0006292/0.7651, allocations: 203 kB / 0.9968 GB, free: 5.676 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.7653, allocations: 67.44 kB / 0.9968 GB, free: 5.609 MB / 0.7481 GB Notification: Performance of SimCode: time 4.31e-07/0.7653, allocations: 0 / 0.9968 GB, free: 5.609 MB / 0.7481 GB Notification: Performance of Templates: time 0.02564/0.7909, allocations: 15.43 MB / 1.012 GB, free: 6.461 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)