Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.193/2.193, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 193.3 kB / 499.1 MB, free: 4.676 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 222.9 MB / 0.7948 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 107.6 kB / 0.9329 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 56.05 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2977, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1792/0.477, allocations: 185 MB / 1.399 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.01572/0.4928, allocations: 13.13 MB / 1.412 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/0.4943, allocations: 31.81 kB / 1.412 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.4957, allocations: 346 kB / 1.412 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002975/0.4987, allocations: 1.089 MB / 1.413 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.5005, allocations: 0.6387 MB / 1.414 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002949/0.5034, allocations: 2.78 MB / 1.416 GB, free: 9.461 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009752/0.5044, allocations: 0.7231 MB / 1.417 GB, free: 8.719 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003824/0.5082, allocations: 1.666 MB / 1.419 GB, free: 7.047 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001917/0.5102, allocations: 0.7052 MB / 1.419 GB, free: 6.344 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.5103, allocations: 44 kB / 1.419 GB, free: 6.301 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001995/0.5123, allocations: 0.9703 MB / 1.42 GB, free: 5.328 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0003708/0.5127, allocations: 355 kB / 1.421 GB, free: 4.98 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0005724/0.5133, allocations: 469.6 kB / 1.421 GB, free: 4.52 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001879/0.5152, allocations: 1.492 MB / 1.423 GB, free: 3.023 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.5152, allocations: 11.94 kB / 1.423 GB, free: 3.012 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.847e-06/0.5152, allocations: 0 / 1.423 GB, free: 3.012 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.5152, allocations: 3.938 kB / 1.423 GB, free: 3.008 MB / 0.9167 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.001853/0.5171, allocations: 1.227 MB / 1.424 GB, free: 1.73 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.5171, allocations: 15.98 kB / 1.424 GB, free: 1.715 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.5183, allocations: 214.6 kB / 1.424 GB, free: 1.504 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.5193, allocations: 0.648 MB / 1.425 GB, free: 0.8086 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.398e-05/0.5194, allocations: 54 kB / 1.425 GB, free: 0.7578 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.5195, allocations: 80 kB / 1.425 GB, free: 0.6797 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.624/1.144, allocations: 0.9308 MB / 1.426 GB, free: 208.8 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.733e-05/1.144, allocations: 1.312 kB / 1.426 GB, free: 208.8 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-05/1.144, allocations: 39.56 kB / 1.426 GB, free: 208.8 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.193e-05/1.144, allocations: 28.25 kB / 1.426 GB, free: 208.8 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/1.145, allocations: 0.6156 MB / 1.426 GB, free: 208.8 MB / 0.9167 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.004509/1.15, allocations: 4.585 MB / 1.431 GB, free: 205.2 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008791/1.151, allocations: 0.5502 MB / 1.431 GB, free: 204.9 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004345/1.151, allocations: 244.2 kB / 1.432 GB, free: 204.8 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001992/1.151, allocations: 104.6 kB / 1.432 GB, free: 204.7 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/1.151, allocations: 42.5 kB / 1.432 GB, free: 204.6 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=43): time 2.935e-06/1.151, allocations: 0 / 1.432 GB, free: 204.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=45): time 0.002973/1.154, allocations: 1.58 MB / 1.433 GB, free: 203.7 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/1.154, allocations: 112.9 kB / 1.433 GB, free: 203.6 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/1.155, allocations: 0.7099 MB / 1.434 GB, free: 203.3 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.184e-05/1.155, allocations: 37.02 kB / 1.434 GB, free: 203.2 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/1.156, allocations: 414.4 kB / 1.435 GB, free: 202.9 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/1.156, allocations: 164.2 kB / 1.435 GB, free: 202.8 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/1.156, allocations: 122.7 kB / 1.435 GB, free: 202.7 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.906e-05/1.156, allocations: 331.6 kB / 1.435 GB, free: 202.4 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003289/1.156, allocations: 190.3 kB / 1.435 GB, free: 202.3 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004667/1.157, allocations: 420 kB / 1.436 GB, free: 202 MB / 0.9167 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.002347/1.159, allocations: 1.177 MB / 1.437 GB, free: 201.3 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/1.159, allocations: 1.125 kB / 1.437 GB, free: 201.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001144/1.16, allocations: 0.6746 MB / 1.438 GB, free: 201.1 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/1.16, allocations: 11.78 kB / 1.438 GB, free: 201.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/1.16, allocations: 5.969 kB / 1.438 GB, free: 201.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.993e-05/1.16, allocations: 9.766 kB / 1.438 GB, free: 201.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004747/1.161, allocations: 127.8 kB / 1.438 GB, free: 201 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.212e-05/1.161, allocations: 11.28 kB / 1.438 GB, free: 201 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007593/1.162, allocations: 53.94 kB / 1.438 GB, free: 201 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.615e-05/1.162, allocations: 28.2 kB / 1.438 GB, free: 201 MB / 0.9167 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.0004401/1.162, allocations: 277.4 kB / 1.438 GB, free: 200.8 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/1.162, allocations: 84.11 kB / 1.438 GB, free: 200.8 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/1.163, allocations: 93.5 kB / 1.438 GB, free: 200.7 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/1.163, allocations: 8.562 kB / 1.438 GB, free: 200.7 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/1.163, allocations: 1.406 kB / 1.438 GB, free: 200.7 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007022/1.163, allocations: 0.6962 MB / 1.439 GB, free: 200.2 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002902/1.166, allocations: 1.64 MB / 1.441 GB, free: 199.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/1.166, allocations: 4.094 kB / 1.441 GB, free: 199.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004898/1.167, allocations: 101.8 kB / 1.441 GB, free: 199.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.328e-05/1.167, allocations: 6.812 kB / 1.441 GB, free: 199.2 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/1.167, allocations: 16.58 kB / 1.441 GB, free: 199.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.077e-05/1.167, allocations: 10.77 kB / 1.441 GB, free: 199.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/1.167, allocations: 8.859 kB / 1.441 GB, free: 199.2 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005285/1.172, allocations: 3.599 MB / 1.444 GB, free: 196.9 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003423/1.173, allocations: 209.1 kB / 1.444 GB, free: 196.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.407e-05/1.173, allocations: 18.11 kB / 1.444 GB, free: 196.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004733/1.173, allocations: 32.92 kB / 1.444 GB, free: 196.8 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.473e-05/1.173, allocations: 42.33 kB / 1.444 GB, free: 196.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-05/1.173, allocations: 18.5 kB / 1.444 GB, free: 196.7 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0007417/1.174, allocations: 0.5105 MB / 1.445 GB, free: 196.5 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.4e-07/1.174, allocations: 0 / 1.445 GB, free: 196.5 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001392/1.175, allocations: 302.9 kB / 1.445 GB, free: 196.5 MB / 0.9167 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.0004907/1.176, allocations: 207.8 kB / 1.445 GB, free: 196.4 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0009163/1.177, allocations: 465.6 kB / 1.446 GB, free: 196.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/1.177, allocations: 1.594 kB / 1.446 GB, free: 196.2 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003155/1.177, allocations: 210.8 kB / 1.446 GB, free: 196.2 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002234/1.179, allocations: 461.2 kB / 1.447 GB, free: 196.1 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003048/1.182, allocations: 2.267 MB / 1.449 GB, free: 194.6 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006942/1.183, allocations: 1.042 MB / 1.45 GB, free: 193.8 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0008936/1.184, allocations: 199.3 kB / 1.45 GB, free: 193.8 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/1.184, allocations: 68.77 kB / 1.45 GB, free: 193.8 MB / 0.9167 GB Notification: Performance of SimCode: time 8.81e-07/1.184, allocations: 0 / 1.45 GB, free: 193.8 MB / 0.9167 GB Notification: Performance of Templates: time 0.02575/1.21, allocations: 15.4 MB / 1.465 GB, free: 184.6 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)