Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001082/0.001082, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.000972/0.000972, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.55/1.55, allocations: 251.9 MB / 0.51 GB, free: 4.887 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005229/0.0005229, allocations: 16 kB / 0.6241 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5853/0.5858, allocations: 106.3 MB / 0.728 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1799/0.7657, allocations: 156 MB / 0.8803 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01335/0.7791, allocations: 10.99 MB / 0.891 GB, free: 4.254 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00116/0.7803, allocations: 27.81 kB / 0.891 GB, free: 4.227 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.7818, allocations: 434 kB / 0.8914 GB, free: 3.801 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003048/0.7849, allocations: 1.063 MB / 0.8925 GB, free: 2.734 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002469/0.7874, allocations: 0.8533 MB / 0.8933 GB, free: 1.891 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002148/0.7895, allocations: 1.184 MB / 0.8945 GB, free: 0.707 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008954/0.7905, allocations: 0.6254 MB / 0.8951 GB, free: 64 kB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002918/0.7934, allocations: 1.234 MB / 0.8963 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006208/0.794, allocations: 434.2 kB / 0.8967 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.921e-05/0.7941, allocations: 32 kB / 0.8967 GB, free: 14.37 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.7952, allocations: 415.4 kB / 0.8971 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003382/0.7955, allocations: 315.1 kB / 0.8974 GB, free: 13.65 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002094/0.7958, allocations: 209.2 kB / 0.8976 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.7969, allocations: 1.001 MB / 0.8986 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.7969, allocations: 4 kB / 0.8986 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7969, allocations: 3.938 kB / 0.8986 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.472e-05/0.7969, allocations: 0 / 0.8986 GB, free: 12.43 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.001651/0.7986, allocations: 1.056 MB / 0.8996 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.7986, allocations: 8.031 kB / 0.8996 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.7998, allocations: 222.5 kB / 0.8999 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.8008, allocations: 0.6096 MB / 0.9005 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.285e-05/0.8009, allocations: 61.98 kB / 0.9005 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.801, allocations: 83.91 kB / 0.9006 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.8023, allocations: 0.9209 MB / 0.9015 GB, free: 9.301 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.8023, allocations: 7.938 kB / 0.9015 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.805e-05/0.8024, allocations: 35.94 kB / 0.9015 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.971e-05/0.8024, allocations: 33.27 kB / 0.9016 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009105/0.8033, allocations: 0.6138 MB / 0.9022 GB, free: 8.609 MB / 0.7169 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.004128/0.8075, allocations: 4.59 MB / 0.9066 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006452/0.8081, allocations: 0.5325 MB / 0.9072 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.696e-05/0.8082, allocations: 12 kB / 0.9072 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.8082, allocations: 38.56 kB / 0.9072 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=43): time 1.964e-06/0.8082, allocations: 0 / 0.9072 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of matching and sorting (n=45): time 0.002587/0.8108, allocations: 1.575 MB / 0.9088 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.232e-05/0.8109, allocations: 110.8 kB / 0.9089 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007782/0.8117, allocations: 0.7077 MB / 0.9096 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.189e-05/0.8118, allocations: 37.7 kB / 0.9096 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002857/0.812, allocations: 415.8 kB / 0.91 GB, free: 156 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.5285/1.341, allocations: 160.9 kB / 0.9101 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/1.341, allocations: 11.25 kB / 0.9101 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0003235/1.341, allocations: 385.3 kB / 0.9105 GB, free: 182.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004479/1.342, allocations: 184.5 kB / 0.9107 GB, free: 182.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000583/1.342, allocations: 410.5 kB / 0.9111 GB, free: 181.8 MB / 0.7169 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.001888/1.344, allocations: 0.6549 MB / 0.9117 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/1.344, allocations: 1.906 kB / 0.9117 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001381/1.345, allocations: 0.6548 MB / 0.9124 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/1.345, allocations: 11.47 kB / 0.9124 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/1.346, allocations: 5.75 kB / 0.9124 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.292e-05/1.346, allocations: 10.81 kB / 0.9124 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005135/1.346, allocations: 127.8 kB / 0.9125 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.115e-05/1.346, allocations: 12.59 kB / 0.9125 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007569/1.347, allocations: 56.89 kB / 0.9126 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.624e-05/1.347, allocations: 27.58 kB / 0.9126 GB, free: 181.6 MB / 0.7169 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004876/1.347, allocations: 285.3 kB / 0.9129 GB, free: 181.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/1.348, allocations: 83.11 kB / 0.913 GB, free: 181.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/1.348, allocations: 90.91 kB / 0.913 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/1.348, allocations: 5.125 kB / 0.913 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/1.348, allocations: 2.016 kB / 0.9131 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007621/1.349, allocations: 0.6931 MB / 0.9137 GB, free: 180.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002946/1.352, allocations: 1.634 MB / 0.9153 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/1.352, allocations: 4 kB / 0.9153 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005199/1.352, allocations: 104.6 kB / 0.9154 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.081e-05/1.352, allocations: 15.44 kB / 0.9154 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.177e-05/1.352, allocations: 15.86 kB / 0.9155 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.588e-05/1.352, allocations: 7.484 kB / 0.9155 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.234e-05/1.352, allocations: 13.89 kB / 0.9155 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/1.354, allocations: 1.069 MB / 0.9165 GB, free: 179 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004323/1.354, allocations: 213.6 kB / 0.9167 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/1.354, allocations: 16.89 kB / 0.9167 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005506/1.355, allocations: 40.78 kB / 0.9168 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/1.355, allocations: 46.52 kB / 0.9168 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.352e-05/1.355, allocations: 17.39 kB / 0.9168 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008416/1.356, allocations: 0.5043 MB / 0.9173 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.31e-07/1.356, allocations: 0 / 0.9173 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001303/1.357, allocations: 209 kB / 0.9175 GB, free: 178.6 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000547/1.358, allocations: 195.8 kB / 0.9177 GB, free: 178.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009552/1.359, allocations: 464.2 kB / 0.9182 GB, free: 178.3 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/1.359, allocations: 0.6875 kB / 0.9182 GB, free: 178.3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003373/1.359, allocations: 213.6 kB / 0.9184 GB, free: 178.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002049/1.361, allocations: 453.7 kB / 0.9188 GB, free: 178.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003167/1.364, allocations: 1.999 MB / 0.9208 GB, free: 177 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008691/1.365, allocations: 1.051 MB / 0.9218 GB, free: 176.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009178/1.366, allocations: 197.8 kB / 0.922 GB, free: 176.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002207/1.366, allocations: 67.08 kB / 0.922 GB, free: 176.2 MB / 0.7169 GB Notification: Performance of SimCode: time 9.32e-07/1.366, allocations: 4 kB / 0.922 GB, free: 176.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.02333/1.39, allocations: 14.06 MB / 0.9358 GB, free: 166.5 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) Environment - environmentSimulation: