Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.768/1.768, allocations: 287.5 MB / 302.6 MB, free: 8.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 184.7 kB / 371.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.4 MB / 0.6299 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007799/0.0007799, allocations: 96.47 kB / 0.7432 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004422/0.0004423, allocations: 12.25 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2411, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.7778/1.019, allocations: 170.3 MB / 1.145 GB, free: 11.86 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01554/1.035, allocations: 12.12 MB / 1.157 GB, free: 5.82 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00147/1.036, allocations: 27.88 kB / 1.157 GB, free: 5.809 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001304/1.037, allocations: 287.5 kB / 1.157 GB, free: 5.57 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003448/1.041, allocations: 0.8787 MB / 1.158 GB, free: 4.879 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002063/1.043, allocations: 0.527 MB / 1.159 GB, free: 4.504 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004285/1.047, allocations: 2.335 MB / 1.161 GB, free: 3.137 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001297/1.049, allocations: 0.6982 MB / 1.161 GB, free: 2.723 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004111/1.053, allocations: 1.354 MB / 1.163 GB, free: 1.879 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/1.054, allocations: 0.6157 MB / 1.163 GB, free: 1.539 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001292/1.054, allocations: 33.94 kB / 1.163 GB, free: 1.539 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002232/1.056, allocations: 452.3 kB / 1.164 GB, free: 1.332 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005551/1.057, allocations: 337.7 kB / 1.164 GB, free: 1.121 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004761/1.057, allocations: 206.7 kB / 1.164 GB, free: 1.004 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001865/1.059, allocations: 1.028 MB / 1.165 GB, free: 336 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/1.059, allocations: 4.938 kB / 1.165 GB, free: 332 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.814e-06/1.059, allocations: 0 / 1.165 GB, free: 332 kB / 0.698 GB Notification: Performance of Transformations before backend: time 1.599e-05/1.059, allocations: 0 / 1.165 GB, free: 332 kB / 0.698 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.001956/1.061, allocations: 1.049 MB / 1.166 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/1.061, allocations: 9.156 kB / 1.166 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/1.063, allocations: 213.2 kB / 1.167 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/1.064, allocations: 0.6348 MB / 1.167 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.382e-05/1.064, allocations: 62.09 kB / 1.167 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/1.064, allocations: 83.36 kB / 1.167 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/1.065, allocations: 0.92 MB / 1.168 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/1.065, allocations: 5.312 kB / 1.168 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.078e-05/1.065, allocations: 37.5 kB / 1.168 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.924e-05/1.065, allocations: 31.08 kB / 1.168 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/1.066, allocations: 0.61 MB / 1.169 GB, free: 13.8 MB / 0.7136 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.004641/1.071, allocations: 4.587 MB / 1.173 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007499/1.072, allocations: 0.5424 MB / 1.174 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000368/1.072, allocations: 244.5 kB / 1.174 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/1.072, allocations: 100.7 kB / 1.174 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/1.072, allocations: 42.19 kB / 1.174 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 2.113e-06/1.072, allocations: 0 / 1.174 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=45): time 0.003101/1.076, allocations: 1.583 MB / 1.176 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.469e-05/1.076, allocations: 111.6 kB / 1.176 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008208/1.077, allocations: 0.7021 MB / 1.177 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.223e-05/1.077, allocations: 38.95 kB / 1.177 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003064/1.077, allocations: 409.1 kB / 1.177 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/1.077, allocations: 165.2 kB / 1.177 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.426e-05/1.077, allocations: 13.06 kB / 1.177 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001937/1.077, allocations: 383.8 kB / 1.178 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002741/1.078, allocations: 185.5 kB / 1.178 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000436/1.078, allocations: 422.3 kB / 1.178 GB, free: 5.973 MB / 0.7136 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.002099/1.08, allocations: 1.155 MB / 1.179 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.08, allocations: 0 / 1.179 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009504/1.081, allocations: 0.6629 MB / 1.18 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/1.081, allocations: 12.62 kB / 1.18 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/1.081, allocations: 13.77 kB / 1.18 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/1.081, allocations: 11.94 kB / 1.18 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004487/1.082, allocations: 126.4 kB / 1.18 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/1.082, allocations: 18.73 kB / 1.18 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005997/1.082, allocations: 49.75 kB / 1.18 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-05/1.082, allocations: 30.22 kB / 1.18 GB, free: 4.758 MB / 0.7136 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.0003792/1.083, allocations: 269.3 kB / 1.181 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/1.083, allocations: 84.47 kB / 1.181 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000158/1.083, allocations: 96.27 kB / 1.181 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/1.083, allocations: 5.219 kB / 1.181 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/1.083, allocations: 0.8125 kB / 1.181 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006824/1.084, allocations: 0.7026 MB / 1.181 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002355/1.086, allocations: 1.639 MB / 1.183 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/1.086, allocations: 5.938 kB / 1.183 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004296/1.087, allocations: 97.14 kB / 1.183 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/1.087, allocations: 19.55 kB / 1.183 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.314e-05/1.087, allocations: 14.25 kB / 1.183 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/1.087, allocations: 11.94 kB / 1.183 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.087, allocations: 3.344 kB / 1.183 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/1.088, allocations: 0.8895 MB / 1.184 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002962/1.088, allocations: 205.4 kB / 1.184 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/1.088, allocations: 16 kB / 1.184 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004729/1.089, allocations: 43.41 kB / 1.184 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.364e-05/1.089, allocations: 40.44 kB / 1.184 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-05/1.089, allocations: 21.3 kB / 1.184 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006413/1.089, allocations: 0.4966 MB / 1.185 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.3e-07/1.089, allocations: 4 kB / 1.185 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007785/1.09, allocations: 201.5 kB / 1.185 GB, free: 1.371 MB / 0.7136 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.0004631/1.091, allocations: 191.5 kB / 1.185 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007646/1.091, allocations: 470.5 kB / 1.186 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/1.091, allocations: 6.5 kB / 1.186 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002832/1.092, allocations: 209 kB / 1.186 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/1.094, allocations: 444.8 kB / 1.186 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002931/1.097, allocations: 1.989 MB / 1.188 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006505/1.098, allocations: 1.025 MB / 1.189 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0007925/1.099, allocations: 196.2 kB / 1.189 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/1.099, allocations: 69.84 kB / 1.189 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of SimCode: time 8.31e-07/1.099, allocations: 0 / 1.189 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of Templates: time 0.02699/1.126, allocations: 13.98 MB / 1.203 GB, free: 5.098 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)