Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.782/1.782, allocations: 292.3 MB / 308.1 MB, free: 4.285 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.001214/0.001214, allocations: 192.1 kB / 376.9 MB, free: 1.836 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.672/1.672, allocations: 205 MB / 0.6354 GB, free: 9.809 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.0009825/0.0009825, allocations: 97.67 kB / 0.748 GB, free: 61.05 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001084, allocations: 51.92 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2785, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.7124/0.991, allocations: 188.1 MB / 1.166 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.009483/1, allocations: 5.711 MB / 1.171 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001686/1.002, allocations: 32.16 kB / 1.171 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001635/1.004, allocations: 495.1 kB / 1.172 GB, free: 9.316 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.004236/1.008, allocations: 1.513 MB / 1.173 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.003428/1.012, allocations: 1.073 MB / 1.174 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.004315/1.016, allocations: 3.48 MB / 1.178 GB, free: 6.727 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/1.017, allocations: 0.8457 MB / 1.179 GB, free: 6.391 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002304/1.02, allocations: 0.8997 MB / 1.18 GB, free: 6.02 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002267/1.022, allocations: 0.8421 MB / 1.18 GB, free: 5.711 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001914/1.022, allocations: 54.75 kB / 1.18 GB, free: 5.707 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003438/1.026, allocations: 1.717 MB / 1.182 GB, free: 5.094 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0005296/1.026, allocations: 445.6 kB / 1.183 GB, free: 4.953 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0008875/1.027, allocations: 0.5728 MB / 1.183 GB, free: 4.645 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.003072/1.03, allocations: 2.126 MB / 1.185 GB, free: 3.922 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/1.03, allocations: 3.312 kB / 1.185 GB, free: 3.922 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.136e-06/1.03, allocations: 0 / 1.185 GB, free: 3.922 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.951e-05/1.03, allocations: 3.938 kB / 1.185 GB, free: 3.918 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002639/1.033, allocations: 1.476 MB / 1.187 GB, free: 2.941 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/1.033, allocations: 9.75 kB / 1.187 GB, free: 2.941 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001851/1.035, allocations: 323.9 kB / 1.187 GB, free: 2.863 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/1.036, allocations: 0.7673 MB / 1.188 GB, free: 2.383 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003595/1.036, allocations: 124.3 kB / 1.188 GB, free: 2.344 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/1.037, allocations: 87.81 kB / 1.188 GB, free: 2.312 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/1.038, allocations: 1.071 MB / 1.189 GB, free: 1.867 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/1.038, allocations: 0 / 1.189 GB, free: 1.867 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.512e-05/1.038, allocations: 36.38 kB / 1.189 GB, free: 1.844 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.804e-05/1.038, allocations: 36.16 kB / 1.189 GB, free: 1.836 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/1.04, allocations: 0.8398 MB / 1.19 GB, free: 1.57 MB / 0.7761 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.005919/1.046, allocations: 4.031 MB / 1.194 GB, free: 14.81 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006688/1.047, allocations: 390.4 kB / 1.194 GB, free: 14.64 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/1.047, allocations: 214 kB / 1.194 GB, free: 14.56 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001943/1.047, allocations: 100.1 kB / 1.194 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/1.047, allocations: 38.56 kB / 1.194 GB, free: 14.42 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=36): time 2.785e-06/1.047, allocations: 0 / 1.194 GB, free: 14.42 MB / 0.7917 GB Notification: Performance of matching and sorting (n=38): time 0.002955/1.05, allocations: 1.326 MB / 1.196 GB, free: 13.67 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/1.05, allocations: 55.34 kB / 1.196 GB, free: 13.61 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/1.052, allocations: 0.9854 MB / 1.197 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 5.189e-05/1.052, allocations: 37.7 kB / 1.197 GB, free: 13.17 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003926/1.052, allocations: 489.4 kB / 1.197 GB, free: 12.79 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/1.052, allocations: 142 kB / 1.197 GB, free: 12.68 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002071/1.053, allocations: 116.1 kB / 1.198 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001373/1.053, allocations: 329.8 kB / 1.198 GB, free: 12.3 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005192/1.053, allocations: 230.2 kB / 1.198 GB, free: 12.23 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007275/1.054, allocations: 427.9 kB / 1.198 GB, free: 11.94 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002766/1.057, allocations: 1.184 MB / 1.2 GB, free: 11.32 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/1.057, allocations: 1.438 kB / 1.2 GB, free: 11.32 MB / 0.7917 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001689/1.059, allocations: 0.7518 MB / 1.2 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/1.059, allocations: 10.62 kB / 1.2 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/1.059, allocations: 5.5 kB / 1.2 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.481e-05/1.059, allocations: 12.34 kB / 1.2 GB, free: 11.01 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005905/1.059, allocations: 140.2 kB / 1.201 GB, free: 11 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.718e-05/1.059, allocations: 10.95 kB / 1.201 GB, free: 11 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/1.06, allocations: 85.47 kB / 1.201 GB, free: 10.97 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.548e-05/1.061, allocations: 26 kB / 1.201 GB, free: 10.97 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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.0006198/1.061, allocations: 315.8 kB / 1.201 GB, free: 10.76 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/1.061, allocations: 96.38 kB / 1.201 GB, free: 10.71 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002079/1.062, allocations: 106.9 kB / 1.201 GB, free: 10.66 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/1.062, allocations: 8.438 kB / 1.201 GB, free: 10.65 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/1.062, allocations: 0 / 1.201 GB, free: 10.65 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007298/1.062, allocations: 0.6764 MB / 1.202 GB, free: 10.1 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002634/1.065, allocations: 1.591 MB / 1.203 GB, free: 9.227 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/1.065, allocations: 3.656 kB / 1.203 GB, free: 9.227 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003922/1.065, allocations: 82.52 kB / 1.203 GB, free: 9.223 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/1.065, allocations: 10.56 kB / 1.203 GB, free: 9.219 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.965e-05/1.066, allocations: 16.03 kB / 1.203 GB, free: 9.211 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.601e-05/1.066, allocations: 20.12 kB / 1.203 GB, free: 9.203 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.066, allocations: 0.9688 kB / 1.204 GB, free: 9.203 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005413/1.071, allocations: 3.635 MB / 1.207 GB, free: 6.953 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004296/1.071, allocations: 233.4 kB / 1.207 GB, free: 6.781 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/1.072, allocations: 14.59 kB / 1.207 GB, free: 6.773 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007078/1.072, allocations: 55.36 kB / 1.207 GB, free: 6.762 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.831e-05/1.072, allocations: 33.59 kB / 1.207 GB, free: 6.75 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.829e-05/1.072, allocations: 29.23 kB / 1.207 GB, free: 6.742 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001158/1.074, allocations: 0.6997 MB / 1.208 GB, free: 6.457 MB / 0.7917 GB Notification: Performance of sort global known variables: time 3.81e-07/1.074, allocations: 0 / 1.208 GB, free: 6.457 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001396/1.075, allocations: 381.3 kB / 1.208 GB, free: 6.434 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.0005136/1.076, allocations: 209.3 kB / 1.209 GB, free: 6.301 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.000971/1.077, allocations: 0.4927 MB / 1.209 GB, free: 6.141 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/1.077, allocations: 1.375 kB / 1.209 GB, free: 6.141 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0003327/1.077, allocations: 193.9 kB / 1.209 GB, free: 6.074 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002986/1.08, allocations: 0.5945 MB / 1.21 GB, free: 5.93 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003441/1.083, allocations: 2.436 MB / 1.212 GB, free: 4.32 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008066/1.084, allocations: 1.104 MB / 1.213 GB, free: 3.57 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.001014/1.085, allocations: 247.3 kB / 1.214 GB, free: 3.52 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/1.085, allocations: 74.66 kB / 1.214 GB, free: 3.508 MB / 0.7917 GB Notification: Performance of SimCode: time 4.91e-07/1.085, allocations: 0 / 1.214 GB, free: 3.508 MB / 0.7917 GB Notification: Performance of Templates: time 0.03992/1.125, allocations: 19.97 MB / 1.233 GB, free: 15.71 MB / 0.8073 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)