Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0009921/0.0009923, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.001363/0.001363, allocations: 173.4 kB / 16.27 MB, free: 6.664 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.427/1.427, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.839/2.839, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003818/0.0003818, allocations: 10.09 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4476/0.448, allocations: 162.2 MB / 1.074 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2402/0.6883, allocations: 182.6 MB / 1.252 GB, free: 240 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.8492/1.537, allocations: 12.94 MB / 1.265 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00192/1.539, allocations: 28.09 kB / 1.265 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002348/1.542, allocations: 345.6 kB / 1.265 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006167/1.548, allocations: 1.09 MB / 1.267 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00386/1.552, allocations: 0.622 MB / 1.267 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006982/1.559, allocations: 2.777 MB / 1.27 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002107/1.561, allocations: 0.7048 MB / 1.271 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008235/1.569, allocations: 1.624 MB / 1.272 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003191/1.573, allocations: 0.6608 MB / 1.273 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003673/1.573, allocations: 35.5 kB / 1.273 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004236/1.577, allocations: 0.9651 MB / 1.274 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001049/1.578, allocations: 337.6 kB / 1.274 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001984/1.58, allocations: 476.9 kB / 1.275 GB, free: 21.94 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004477/1.585, allocations: 1.472 MB / 1.276 GB, free: 21.85 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/1.585, allocations: 0 / 1.276 GB, free: 21.85 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.066e-06/1.585, allocations: 0 / 1.276 GB, free: 21.85 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.6e-05/1.585, allocations: 0 / 1.276 GB, free: 21.85 MB / 1.014 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.003794/1.589, allocations: 1.053 MB / 1.277 GB, free: 21.18 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/1.589, allocations: 9.562 kB / 1.277 GB, free: 21.18 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002714/1.592, allocations: 215.2 kB / 1.277 GB, free: 21.12 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002309/1.594, allocations: 0.647 MB / 1.278 GB, free: 20.82 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/1.594, allocations: 61.84 kB / 1.278 GB, free: 20.82 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002853/1.594, allocations: 73.75 kB / 1.278 GB, free: 20.82 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003013/1.597, allocations: 0.9409 MB / 1.279 GB, free: 20.55 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.296e-05/1.597, allocations: 2.625 kB / 1.279 GB, free: 20.55 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/1.598, allocations: 30.72 kB / 1.279 GB, free: 20.55 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-05/1.598, allocations: 29.31 kB / 1.279 GB, free: 20.55 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002172/1.6, allocations: 0.6235 MB / 1.28 GB, free: 20.54 MB / 1.014 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.008989/1.609, allocations: 4.594 MB / 1.284 GB, free: 17.36 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001697/1.611, allocations: 0.5468 MB / 1.285 GB, free: 17.19 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008027/1.611, allocations: 254.2 kB / 1.285 GB, free: 17.16 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003304/1.612, allocations: 101.2 kB / 1.285 GB, free: 17.06 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.95e-05/1.612, allocations: 45.27 kB / 1.285 GB, free: 17.02 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 6.983e-06/1.612, allocations: 0 / 1.285 GB, free: 17.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.005718/1.618, allocations: 1.594 MB / 1.286 GB, free: 16.4 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/1.618, allocations: 108.9 kB / 1.287 GB, free: 16.28 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002122/1.62, allocations: 0.7119 MB / 1.287 GB, free: 16.14 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001013/1.62, allocations: 36.2 kB / 1.287 GB, free: 16.11 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005511/1.621, allocations: 425.9 kB / 1.288 GB, free: 15.92 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002672/1.621, allocations: 159.8 kB / 1.288 GB, free: 15.82 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/1.621, allocations: 54.75 kB / 1.288 GB, free: 15.8 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002101/1.621, allocations: 329.5 kB / 1.288 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005901/1.622, allocations: 187.8 kB / 1.288 GB, free: 15.5 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008289/1.623, allocations: 416.5 kB / 1.289 GB, free: 15.25 MB / 1.014 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.004067/1.627, allocations: 1.186 MB / 1.29 GB, free: 14.89 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/1.627, allocations: 1.562 kB / 1.29 GB, free: 14.89 MB / 1.014 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002181/1.629, allocations: 0.6702 MB / 1.291 GB, free: 14.81 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.727e-05/1.629, allocations: 8.203 kB / 1.291 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.707e-05/1.629, allocations: 6.5 kB / 1.291 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.211e-05/1.629, allocations: 12.47 kB / 1.291 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008996/1.63, allocations: 124.5 kB / 1.291 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.89e-05/1.63, allocations: 14.69 kB / 1.291 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/1.632, allocations: 54.3 kB / 1.291 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/1.632, allocations: 26.25 kB / 1.291 GB, free: 14.8 MB / 1.014 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008176/1.633, allocations: 284.9 kB / 1.291 GB, free: 14.67 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000379/1.633, allocations: 83.66 kB / 1.291 GB, free: 14.63 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003931/1.633, allocations: 88.25 kB / 1.291 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/1.633, allocations: 5.594 kB / 1.291 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.584e-05/1.633, allocations: 1.375 kB / 1.291 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001356/1.635, allocations: 0.7007 MB / 1.292 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004874/1.64, allocations: 1.644 MB / 1.294 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.538e-05/1.64, allocations: 6.75 kB / 1.294 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007877/1.641, allocations: 98.91 kB / 1.294 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.662e-05/1.641, allocations: 5.906 kB / 1.294 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.4e-05/1.641, allocations: 19.62 kB / 1.294 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.334e-05/1.641, allocations: 9.25 kB / 1.294 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.538e-06/1.641, allocations: 11.31 kB / 1.294 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/1.643, allocations: 0.8681 MB / 1.295 GB, free: 13.24 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007326/1.644, allocations: 205.5 kB / 1.295 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000291/1.644, allocations: 14.75 kB / 1.295 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/1.645, allocations: 31.55 kB / 1.295 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/1.645, allocations: 43.25 kB / 1.295 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.338e-05/1.645, allocations: 20.78 kB / 1.295 GB, free: 13.1 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001314/1.646, allocations: 0.5089 MB / 1.295 GB, free: 13 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.894e-06/1.646, allocations: 2.906 kB / 1.295 GB, free: 13 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001653/1.648, allocations: 209 kB / 1.296 GB, free: 13 MB / 1.014 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.0008097/1.649, allocations: 202.2 kB / 1.296 GB, free: 12.89 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001509/1.65, allocations: 467.4 kB / 1.296 GB, free: 12.88 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.59e-05/1.65, allocations: 1.031 kB / 1.296 GB, free: 12.88 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005697/1.651, allocations: 215.7 kB / 1.296 GB, free: 12.87 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004851/1.656, allocations: 465.1 kB / 1.297 GB, free: 12.83 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004868/1.661, allocations: 2.031 MB / 1.299 GB, free: 11.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001279/1.662, allocations: 1.03 MB / 1.3 GB, free: 10.99 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001564/1.664, allocations: 202.3 kB / 1.3 GB, free: 10.95 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003505/1.664, allocations: 62.92 kB / 1.3 GB, free: 10.94 MB / 1.014 GB Notification: Performance of SimCode: time 1.684e-06/1.664, allocations: 0 / 1.3 GB, free: 10.94 MB / 1.014 GB Notification: Performance of Templates: time 0.04548/1.71, allocations: 14.41 MB / 1.314 GB, free: 10.07 MB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)