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.001283/0.001283, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001492/0.001492, allocations: 193.8 kB / 16.14 MB, free: 6.715 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.465/1.465, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00264/0.00264, allocations: 287.2 kB / 290.2 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.064/1.064, allocations: 178.6 MB / 0.5068 GB, free: 4.762 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002788/0.002789, allocations: 95.47 kB / 0.6057 GB, free: 24.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1823, allocations: 89.14 MB / 0.6928 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5226/0.705, allocations: 185 MB / 0.8735 GB, free: 52 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0171/0.7221, allocations: 13.12 MB / 0.8863 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/0.7235, allocations: 29.66 kB / 0.8863 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.7249, allocations: 346.5 kB / 0.8867 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003219/0.7282, allocations: 1.093 MB / 0.8877 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002107/0.7303, allocations: 0.6314 MB / 0.8883 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004122/0.7344, allocations: 2.776 MB / 0.8911 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001542/0.736, allocations: 0.7308 MB / 0.8918 GB, free: 304 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004543/0.7406, allocations: 1.654 MB / 0.8934 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00202/0.7426, allocations: 0.6929 MB / 0.8941 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.7427, allocations: 47.94 kB / 0.8941 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002337/0.7451, allocations: 0.978 MB / 0.8951 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004764/0.7456, allocations: 355 kB / 0.8954 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006505/0.7462, allocations: 465.6 kB / 0.8958 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002269/0.7485, allocations: 1.503 MB / 0.8973 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.7485, allocations: 0 / 0.8973 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.022e-06/0.7485, allocations: 0 / 0.8973 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.192e-05/0.7485, allocations: 0 / 0.8973 GB, free: 10.61 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.00218/0.7507, allocations: 1.243 MB / 0.8985 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.7508, allocations: 8.031 kB / 0.8985 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.7521, allocations: 218.6 kB / 0.8987 GB, free: 9.09 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.7532, allocations: 0.6363 MB / 0.8994 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.596e-05/0.7532, allocations: 62 kB / 0.8994 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.7534, allocations: 79.98 kB / 0.8995 GB, free: 8.27 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.7549, allocations: 0.9288 MB / 0.9004 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.7549, allocations: 3.938 kB / 0.9004 GB, free: 7.25 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.493e-05/0.755, allocations: 36 kB / 0.9004 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.221e-05/0.755, allocations: 29.25 kB / 0.9005 GB, free: 7.188 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.7561, allocations: 0.6177 MB / 0.9011 GB, free: 6.57 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.005033/0.7612, allocations: 4.585 MB / 0.9055 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009301/0.7621, allocations: 0.5432 MB / 0.9061 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005615/0.7627, allocations: 246.3 kB / 0.9063 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002453/0.763, allocations: 101.1 kB / 0.9064 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.763, allocations: 46.55 kB / 0.9065 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 2.475e-06/0.763, allocations: 0 / 0.9065 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.003189/0.7662, allocations: 1.591 MB / 0.908 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.055e-05/0.7663, allocations: 110.8 kB / 0.9081 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009479/0.7673, allocations: 0.7155 MB / 0.9088 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.426e-05/0.7673, allocations: 33.7 kB / 0.9088 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003775/0.7677, allocations: 419.7 kB / 0.9092 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002269/0.7679, allocations: 157.8 kB / 0.9094 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002759/0.7682, allocations: 122.3 kB / 0.9095 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002026/0.7684, allocations: 334 kB / 0.9098 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/0.7688, allocations: 185.2 kB / 0.91 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005332/0.7693, allocations: 409 kB / 0.9104 GB, free: 12.43 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002559/0.7719, allocations: 1.188 MB / 0.9116 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.7719, allocations: 4 kB / 0.9116 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001183/0.7731, allocations: 0.672 MB / 0.9122 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.7731, allocations: 11.94 kB / 0.9122 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.7732, allocations: 8 kB / 0.9122 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.646e-05/0.7732, allocations: 8 kB / 0.9122 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000499/0.7737, allocations: 127.8 kB / 0.9124 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/0.7737, allocations: 17.34 kB / 0.9124 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000677/0.7744, allocations: 48.03 kB / 0.9124 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-05/0.7745, allocations: 28 kB / 0.9125 GB, free: 10.21 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: 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.0004637/0.7749, allocations: 277.5 kB / 0.9127 GB, free: 9.934 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.7751, allocations: 86.91 kB / 0.9128 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.7753, allocations: 95.59 kB / 0.9129 GB, free: 9.75 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.7754, allocations: 8 kB / 0.9129 GB, free: 9.742 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.7754, allocations: 0 / 0.9129 GB, free: 9.742 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008748/0.7763, allocations: 0.6999 MB / 0.9136 GB, free: 8.957 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002681/0.7789, allocations: 1.635 MB / 0.9152 GB, free: 7.215 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.779, allocations: 4 kB / 0.9152 GB, free: 7.211 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004833/0.7795, allocations: 107.8 kB / 0.9153 GB, free: 7.105 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/0.7795, allocations: 7.938 kB / 0.9153 GB, free: 7.098 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.629e-05/0.7795, allocations: 12 kB / 0.9153 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.037e-05/0.7795, allocations: 8 kB / 0.9153 GB, free: 7.078 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/0.7795, allocations: 7.938 kB / 0.9153 GB, free: 7.07 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.7808, allocations: 0.8685 MB / 0.9162 GB, free: 6.141 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003321/0.7812, allocations: 204.1 kB / 0.9164 GB, free: 5.922 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.7813, allocations: 23.92 kB / 0.9164 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005002/0.7818, allocations: 33.48 kB / 0.9164 GB, free: 5.867 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/0.7819, allocations: 47.83 kB / 0.9165 GB, free: 5.82 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.82e-05/0.7819, allocations: 20 kB / 0.9165 GB, free: 5.801 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006916/0.7826, allocations: 0.5107 MB / 0.917 GB, free: 5.293 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7826, allocations: 0 / 0.917 GB, free: 5.293 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007778/0.7834, allocations: 200 kB / 0.9172 GB, free: 5.098 MB / 0.6387 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.0005479/0.784, allocations: 214.8 kB / 0.9174 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0008564/0.7848, allocations: 460.8 kB / 0.9178 GB, free: 4.449 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.7849, allocations: 4 kB / 0.9178 GB, free: 4.445 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003306/0.7852, allocations: 208.5 kB / 0.918 GB, free: 4.242 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0021/0.7873, allocations: 459.7 kB / 0.9185 GB, free: 3.809 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002995/0.7903, allocations: 1.959 MB / 0.9204 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007073/0.791, allocations: 1.028 MB / 0.9214 GB, free: 0.7109 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007527/0.7918, allocations: 207 kB / 0.9216 GB, free: 0.5039 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.792, allocations: 63.44 kB / 0.9216 GB, free: 456 kB / 0.6387 GB Notification: Performance of SimCode: time 6.61e-07/0.792, allocations: 0 / 0.9216 GB, free: 456 kB / 0.6387 GB Notification: Performance of Templates: time 0.03054/0.8225, allocations: 14.47 MB / 0.9358 GB, free: 2.246 MB / 0.6544 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)