Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.886/1.886, allocations: 292.3 MB / 308.1 MB, free: 4.293 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.001225/0.001225, allocations: 186.4 kB / 376.9 MB, free: 1.824 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.421/1.421, allocations: 205 MB / 0.6354 GB, free: 9.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009903/0.0009903, allocations: 100.1 kB / 0.748 GB, free: 61.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 59.91 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2422, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.7333/0.9756, allocations: 185 MB / 1.163 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0161/0.9917, allocations: 13.09 MB / 1.176 GB, free: 6.496 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0017/0.9935, allocations: 27.53 kB / 1.176 GB, free: 6.484 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.9949, allocations: 346.1 kB / 1.176 GB, free: 6.293 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.004292/0.9993, allocations: 1.095 MB / 1.177 GB, free: 5.688 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.002091/1.001, allocations: 0.6223 MB / 1.178 GB, free: 5.344 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.003517/1.005, allocations: 2.767 MB / 1.18 GB, free: 4.387 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/1.006, allocations: 0.7243 MB / 1.181 GB, free: 4.07 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004602/1.011, allocations: 1.665 MB / 1.183 GB, free: 3.332 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002175/1.013, allocations: 0.6876 MB / 1.183 GB, free: 3.066 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001523/1.013, allocations: 44.25 kB / 1.183 GB, free: 3.066 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00225/1.015, allocations: 0.9824 MB / 1.184 GB, free: 2.707 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0004439/1.016, allocations: 353.9 kB / 1.185 GB, free: 2.59 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0006283/1.016, allocations: 466.1 kB / 1.185 GB, free: 2.332 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002213/1.019, allocations: 1.487 MB / 1.187 GB, free: 1.797 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/1.019, allocations: 6.75 kB / 1.187 GB, free: 1.793 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.804e-06/1.019, allocations: 3.938 kB / 1.187 GB, free: 1.789 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.42e-05/1.019, allocations: 0 / 1.187 GB, free: 1.789 MB / 0.7761 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.002619/1.021, allocations: 1.235 MB / 1.188 GB, free: 0.9336 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.388e-05/1.021, allocations: 9.844 kB / 1.188 GB, free: 0.9336 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001415/1.023, allocations: 210.8 kB / 1.188 GB, free: 0.8672 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/1.024, allocations: 0.6368 MB / 1.189 GB, free: 460 kB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.186e-05/1.024, allocations: 58.53 kB / 1.189 GB, free: 436 kB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/1.024, allocations: 77.31 kB / 1.189 GB, free: 412 kB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/1.026, allocations: 0.9331 MB / 1.19 GB, free: 15.88 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/1.026, allocations: 3.156 kB / 1.19 GB, free: 15.88 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.656e-05/1.026, allocations: 33.31 kB / 1.19 GB, free: 15.85 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.103e-05/1.026, allocations: 34.39 kB / 1.19 GB, free: 15.85 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009815/1.027, allocations: 0.6203 MB / 1.19 GB, free: 15.63 MB / 0.7917 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.006101/1.033, allocations: 4.571 MB / 1.195 GB, free: 11.87 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009631/1.034, allocations: 0.5349 MB / 1.195 GB, free: 11.54 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003759/1.035, allocations: 249.5 kB / 1.196 GB, free: 11.44 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000246/1.035, allocations: 103.7 kB / 1.196 GB, free: 11.34 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.154e-05/1.035, allocations: 44.66 kB / 1.196 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=43): time 4.759e-06/1.035, allocations: 0 / 1.196 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of matching and sorting (n=45): time 0.003152/1.038, allocations: 1.583 MB / 1.197 GB, free: 10.36 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.486e-05/1.038, allocations: 109.9 kB / 1.197 GB, free: 10.23 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009508/1.039, allocations: 0.7118 MB / 1.198 GB, free: 9.93 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.19e-05/1.039, allocations: 37.39 kB / 1.198 GB, free: 9.891 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003184/1.04, allocations: 413.2 kB / 1.199 GB, free: 9.566 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.00018/1.04, allocations: 164.6 kB / 1.199 GB, free: 9.438 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002313/1.04, allocations: 114.6 kB / 1.199 GB, free: 9.379 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002425/1.04, allocations: 389.8 kB / 1.199 GB, free: 9.031 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003755/1.041, allocations: 189.3 kB / 1.199 GB, free: 8.969 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006412/1.041, allocations: 412.6 kB / 1.2 GB, free: 8.633 MB / 0.7917 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.002715/1.044, allocations: 1.165 MB / 1.201 GB, free: 7.961 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/1.044, allocations: 2.062 kB / 1.201 GB, free: 7.961 MB / 0.7917 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001387/1.046, allocations: 0.6703 MB / 1.202 GB, free: 7.676 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.796e-05/1.046, allocations: 11.38 kB / 1.202 GB, free: 7.672 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/1.046, allocations: 10.59 kB / 1.202 GB, free: 7.668 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.626e-05/1.046, allocations: 9.5 kB / 1.202 GB, free: 7.668 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005664/1.046, allocations: 124.2 kB / 1.202 GB, free: 7.656 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.671e-05/1.046, allocations: 16.16 kB / 1.202 GB, free: 7.652 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008672/1.047, allocations: 52.44 kB / 1.202 GB, free: 7.633 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.599e-05/1.047, allocations: 25.88 kB / 1.202 GB, free: 7.629 MB / 0.7917 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.0006294/1.048, allocations: 274.3 kB / 1.202 GB, free: 7.438 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002555/1.048, allocations: 83.62 kB / 1.202 GB, free: 7.395 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002368/1.048, allocations: 87.34 kB / 1.202 GB, free: 7.34 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-05/1.048, allocations: 6.062 kB / 1.202 GB, free: 7.34 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.242e-05/1.049, allocations: 0 / 1.202 GB, free: 7.34 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001041/1.05, allocations: 0.7086 MB / 1.203 GB, free: 6.77 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002878/1.052, allocations: 1.64 MB / 1.205 GB, free: 5.773 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/1.052, allocations: 3.75 kB / 1.205 GB, free: 5.773 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004918/1.053, allocations: 98.08 kB / 1.205 GB, free: 5.77 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.405e-05/1.053, allocations: 13.84 kB / 1.205 GB, free: 5.762 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-05/1.053, allocations: 16.03 kB / 1.205 GB, free: 5.754 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.922e-05/1.053, allocations: 10.66 kB / 1.205 GB, free: 5.75 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.864e-06/1.053, allocations: 4.656 kB / 1.205 GB, free: 5.75 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006283/1.059, allocations: 3.679 MB / 1.208 GB, free: 3.461 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004785/1.06, allocations: 200 kB / 1.208 GB, free: 3.305 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/1.06, allocations: 22.11 kB / 1.209 GB, free: 3.293 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007539/1.061, allocations: 41.52 kB / 1.209 GB, free: 3.277 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/1.061, allocations: 42.3 kB / 1.209 GB, free: 3.262 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.917e-05/1.061, allocations: 14.94 kB / 1.209 GB, free: 3.262 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0008699/1.062, allocations: 0.5125 MB / 1.209 GB, free: 3.047 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.01e-07/1.062, allocations: 0 / 1.209 GB, free: 3.047 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001319/1.063, allocations: 309.3 kB / 1.209 GB, free: 3.023 MB / 0.7917 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 (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.0005132/1.064, allocations: 191 kB / 1.21 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0009723/1.065, allocations: 475.8 kB / 1.21 GB, free: 2.75 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/1.065, allocations: 1.188 kB / 1.21 GB, free: 2.75 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0003234/1.065, allocations: 218.3 kB / 1.21 GB, free: 2.676 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/1.067, allocations: 458 kB / 1.211 GB, free: 2.574 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003193/1.071, allocations: 2.242 MB / 1.213 GB, free: 1.066 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006249/1.071, allocations: 1.039 MB / 1.214 GB, free: 340 kB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.000763/1.072, allocations: 204.5 kB / 1.214 GB, free: 304 kB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/1.072, allocations: 62.44 kB / 1.214 GB, free: 300 kB / 0.7917 GB Notification: Performance of SimCode: time 1.984e-06/1.072, allocations: 1.375 kB / 1.214 GB, free: 300 kB / 0.7917 GB Notification: Performance of Templates: time 0.0377/1.11, allocations: 15.39 MB / 1.229 GB, free: 15.26 MB / 0.8073 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)