Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001351/0.001351, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001308/0.001308, allocations: 195.9 kB / 16.14 MB, free: 6.656 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.419/1.419, allocations: 222.9 MB / 239.8 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.947/2.947, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 65.48 kB / 0.9113 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3709, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2204/0.5913, allocations: 185.1 MB / 1.248 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.8456/1.437, allocations: 13.11 MB / 1.261 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001733/1.439, allocations: 30.19 kB / 1.261 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001493/1.44, allocations: 349.9 kB / 1.261 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003591/1.444, allocations: 1.082 MB / 1.262 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002223/1.446, allocations: 0.6343 MB / 1.263 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003884/1.45, allocations: 2.777 MB / 1.266 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001212/1.451, allocations: 0.7253 MB / 1.266 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004973/1.456, allocations: 1.655 MB / 1.268 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002213/1.458, allocations: 0.6853 MB / 1.269 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000128/1.459, allocations: 48.66 kB / 1.269 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002675/1.461, allocations: 0.9786 MB / 1.27 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005708/1.462, allocations: 354.3 kB / 1.27 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008061/1.463, allocations: 468.2 kB / 1.271 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002683/1.465, allocations: 1.503 MB / 1.272 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.465, allocations: 0 / 1.272 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.072e-06/1.465, allocations: 0 / 1.272 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.275e-05/1.465, allocations: 0 / 1.272 GB, free: 5.211 MB / 0.9981 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.00249/1.468, allocations: 1.234 MB / 1.273 GB, free: 20.52 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/1.468, allocations: 10.06 kB / 1.273 GB, free: 20.52 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/1.469, allocations: 218.3 kB / 1.273 GB, free: 20.46 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/1.471, allocations: 0.6377 MB / 1.274 GB, free: 20.16 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.135e-05/1.471, allocations: 65.19 kB / 1.274 GB, free: 20.16 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/1.471, allocations: 77 kB / 1.274 GB, free: 20.16 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/1.472, allocations: 0.939 MB / 1.275 GB, free: 19.89 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/1.472, allocations: 3.141 kB / 1.275 GB, free: 19.89 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.202e-05/1.472, allocations: 31.66 kB / 1.275 GB, free: 19.89 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.518e-05/1.473, allocations: 33.33 kB / 1.275 GB, free: 19.89 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/1.474, allocations: 0.6213 MB / 1.276 GB, free: 19.88 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.004934/1.479, allocations: 4.578 MB / 1.28 GB, free: 16.71 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/1.48, allocations: 0.5529 MB / 1.281 GB, free: 16.54 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005096/1.48, allocations: 244.9 kB / 1.281 GB, free: 16.52 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002292/1.48, allocations: 109.4 kB / 1.281 GB, free: 16.41 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/1.481, allocations: 45.2 kB / 1.281 GB, free: 16.37 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 3.286e-06/1.481, allocations: 0 / 1.281 GB, free: 16.37 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.0033/1.484, allocations: 1.596 MB / 1.283 GB, free: 15.75 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.972e-05/1.484, allocations: 111.2 kB / 1.283 GB, free: 15.62 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/1.485, allocations: 0.714 MB / 1.284 GB, free: 15.49 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001054/1.485, allocations: 35.39 kB / 1.284 GB, free: 15.46 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003399/1.486, allocations: 416.1 kB / 1.284 GB, free: 15.27 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/1.486, allocations: 160.7 kB / 1.284 GB, free: 15.17 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/1.486, allocations: 117 kB / 1.284 GB, free: 15.15 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001545/1.486, allocations: 333.7 kB / 1.285 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003443/1.486, allocations: 187.8 kB / 1.285 GB, free: 14.84 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005085/1.487, allocations: 413.1 kB / 1.285 GB, free: 14.59 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.002669/1.49, allocations: 1.173 MB / 1.286 GB, free: 14.25 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/1.49, allocations: 4.406 kB / 1.286 GB, free: 14.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001704/1.491, allocations: 0.6832 MB / 1.287 GB, free: 14.15 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.316e-05/1.491, allocations: 8.281 kB / 1.287 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/1.491, allocations: 5.938 kB / 1.287 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.444e-05/1.491, allocations: 9.375 kB / 1.287 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005736/1.492, allocations: 124.8 kB / 1.287 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.905e-05/1.492, allocations: 14.69 kB / 1.287 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/1.493, allocations: 52.94 kB / 1.287 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.95e-05/1.493, allocations: 27.19 kB / 1.287 GB, free: 14.14 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 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.0008252/1.494, allocations: 277.5 kB / 1.287 GB, free: 14.03 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002504/1.494, allocations: 89.25 kB / 1.288 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002349/1.495, allocations: 90.95 kB / 1.288 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/1.495, allocations: 9.344 kB / 1.288 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.248e-05/1.495, allocations: 1.344 kB / 1.288 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001199/1.496, allocations: 0.7 MB / 1.288 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003149/1.499, allocations: 1.648 MB / 1.29 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/1.499, allocations: 5.75 kB / 1.29 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004739/1.499, allocations: 97.47 kB / 1.29 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.251e-05/1.499, allocations: 5.875 kB / 1.29 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/1.5, allocations: 15.89 kB / 1.29 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.008e-05/1.5, allocations: 5.5 kB / 1.29 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.271e-05/1.5, allocations: 9.625 kB / 1.29 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/1.501, allocations: 0.8699 MB / 1.291 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004369/1.502, allocations: 207.4 kB / 1.291 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/1.502, allocations: 15.5 kB / 1.291 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005339/1.502, allocations: 34.27 kB / 1.291 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.936e-05/1.502, allocations: 48.09 kB / 1.291 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.503e-05/1.502, allocations: 17.75 kB / 1.291 GB, free: 12.44 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009563/1.503, allocations: 0.5108 MB / 1.292 GB, free: 12.35 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.503, allocations: 1.094 kB / 1.292 GB, free: 12.35 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001217/1.505, allocations: 203.7 kB / 1.292 GB, free: 12.34 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.0005747/1.505, allocations: 195.5 kB / 1.292 GB, free: 12.24 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009843/1.506, allocations: 476.5 kB / 1.293 GB, free: 12.23 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.506, allocations: 1.312 kB / 1.293 GB, free: 12.23 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003325/1.506, allocations: 215.6 kB / 1.293 GB, free: 12.23 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002198/1.509, allocations: 459 kB / 1.293 GB, free: 12.19 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/1.512, allocations: 1.948 MB / 1.295 GB, free: 11.08 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007369/1.512, allocations: 1.027 MB / 1.296 GB, free: 10.38 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008391/1.513, allocations: 196.7 kB / 1.296 GB, free: 10.34 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/1.513, allocations: 74.59 kB / 1.296 GB, free: 10.32 MB / 1.014 GB Notification: Performance of SimCode: time 1.673e-06/1.513, allocations: 0 / 1.296 GB, free: 10.32 MB / 1.014 GB Notification: Performance of Templates: time 0.02772/1.541, allocations: 14.47 MB / 1.31 GB, free: 9.445 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)