Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 108.5 kB / 15.99 MB, free: 6.359 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.00181/0.00181, allocations: 193 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 205.1 MB / 222.8 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.717/1.717, allocations: 292.3 MB / 0.5492 GB, free: 13.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001345, allocations: 67.44 kB / 0.6716 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2488, allocations: 114.5 MB / 0.7835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.7009/0.9497, allocations: 188 MB / 0.9671 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009245/0.959, allocations: 5.625 MB / 0.9726 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002014/0.9611, allocations: 38.03 kB / 0.9726 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0018/0.963, allocations: 0.5004 MB / 0.9731 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006003/0.969, allocations: 1.703 MB / 0.9747 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003734/0.9727, allocations: 1.084 MB / 0.9758 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00543/0.9782, allocations: 2.918 MB / 0.9786 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001979/0.9802, allocations: 1.095 MB / 0.9797 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002996/0.9832, allocations: 1.057 MB / 0.9808 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003036/0.9862, allocations: 1.035 MB / 0.9818 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003754/0.9866, allocations: 123.8 kB / 0.9819 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005407/0.992, allocations: 1.507 MB / 0.9834 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000977/0.993, allocations: 0.5732 MB / 0.9839 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001606/0.9947, allocations: 0.7235 MB / 0.9846 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003608/0.9983, allocations: 1.774 MB / 0.9863 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.9983, allocations: 1.25 kB / 0.9863 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9983, allocations: 3.938 kB / 0.9864 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.717e-05/0.9983, allocations: 4 kB / 0.9864 GB, free: 4.59 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003936/1.002, allocations: 1.623 MB / 0.9879 GB, free: 19.77 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/1.002, allocations: 10.97 kB / 0.988 GB, free: 19.77 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00216/1.005, allocations: 318.9 kB / 0.9883 GB, free: 19.71 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/1.006, allocations: 0.8522 MB / 0.9891 GB, free: 19.38 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.826e-05/1.006, allocations: 77.59 kB / 0.9892 GB, free: 19.38 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/1.006, allocations: 100.3 kB / 0.9893 GB, free: 19.38 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/1.008, allocations: 1.096 MB / 0.9903 GB, free: 19.15 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/1.008, allocations: 3.906 kB / 0.9903 GB, free: 19.14 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/1.009, allocations: 38.88 kB / 0.9904 GB, free: 19.12 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.293e-05/1.009, allocations: 43.55 kB / 0.9904 GB, free: 19.11 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/1.01, allocations: 0.9822 MB / 0.9914 GB, free: 18.8 MB / 0.7481 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.006035/1.016, allocations: 4.238 MB / 0.9955 GB, free: 16.21 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008633/1.017, allocations: 0.5911 MB / 0.9961 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000451/1.018, allocations: 341.4 kB / 0.9964 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002153/1.018, allocations: 105.5 kB / 0.9965 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/1.018, allocations: 44.5 kB / 0.9966 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=53): time 2.735e-06/1.018, allocations: 0 / 0.9966 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of matching and sorting (n=55): time 0.004256/1.022, allocations: 2.19 MB / 0.9987 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/1.022, allocations: 64.22 kB / 0.9988 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/1.023, allocations: 0.8818 MB / 0.9996 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.293e-05/1.023, allocations: 35.83 kB / 0.9997 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003316/1.024, allocations: 0.5136 MB / 1 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/1.024, allocations: 197.2 kB / 1 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/1.024, allocations: 131.3 kB / 1 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.024, allocations: 335.6 kB / 1.001 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004599/1.025, allocations: 280 kB / 1.001 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000564/1.025, allocations: 455 kB / 1.001 GB, free: 12.68 MB / 0.7481 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.003781/1.029, allocations: 1.741 MB / 1.003 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/1.029, allocations: 5.281 kB / 1.003 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001578/1.031, allocations: 0.9214 MB / 1.004 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/1.031, allocations: 4.906 kB / 1.004 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/1.031, allocations: 5.281 kB / 1.004 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002289/1.031, allocations: 103.9 kB / 1.004 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007122/1.032, allocations: 164.2 kB / 1.004 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003427/1.035, allocations: 4.632 MB / 1.009 GB, free: 7.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/1.036, allocations: 69.33 kB / 1.009 GB, free: 7.137 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-05/1.037, allocations: 29.19 kB / 1.009 GB, free: 7.129 MB / 0.7481 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: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006601/1.037, allocations: 355.2 kB / 1.009 GB, free: 6.914 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/1.037, allocations: 97.41 kB / 1.009 GB, free: 6.867 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/1.038, allocations: 108.1 kB / 1.01 GB, free: 6.805 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/1.038, allocations: 4.844 kB / 1.01 GB, free: 6.805 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/1.038, allocations: 2.562 kB / 1.01 GB, free: 6.805 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001058/1.039, allocations: 0.7665 MB / 1.01 GB, free: 6.355 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003225/1.042, allocations: 1.988 MB / 1.012 GB, free: 5.395 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/1.042, allocations: 3.438 kB / 1.012 GB, free: 5.395 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006705/1.043, allocations: 152.8 kB / 1.012 GB, free: 5.387 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.956e-05/1.043, allocations: 36.59 kB / 1.012 GB, free: 5.375 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.382e-05/1.043, allocations: 17.09 kB / 1.012 GB, free: 5.367 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/1.044, allocations: 1.617 MB / 1.014 GB, free: 3.887 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.044, allocations: 5.281 kB / 1.014 GB, free: 3.887 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/1.046, allocations: 1.223 MB / 1.015 GB, free: 3.242 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006514/1.047, allocations: 257.2 kB / 1.015 GB, free: 3.031 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002555/1.047, allocations: 20.28 kB / 1.015 GB, free: 3.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009987/1.048, allocations: 65.94 kB / 1.016 GB, free: 2.988 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/1.048, allocations: 44.98 kB / 1.016 GB, free: 2.965 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/1.048, allocations: 29.67 kB / 1.016 GB, free: 2.957 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001372/1.049, allocations: 0.6089 MB / 1.016 GB, free: 2.617 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/1.049, allocations: 0 / 1.016 GB, free: 2.617 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00178/1.051, allocations: 307.7 kB / 1.016 GB, free: 2.59 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006328/1.052, allocations: 198.4 kB / 1.017 GB, free: 2.465 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002056/1.054, allocations: 1.118 MB / 1.018 GB, free: 1.797 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/1.054, allocations: 3.469 kB / 1.018 GB, free: 1.797 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006374/1.055, allocations: 449.8 kB / 1.018 GB, free: 1.539 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003467/1.058, allocations: 0.6449 MB / 1.019 GB, free: 1.211 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00433/1.062, allocations: 2.594 MB / 1.021 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009785/1.063, allocations: 1.169 MB / 1.022 GB, free: 14.48 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003533/1.064, allocations: 75.25 kB / 1.023 GB, free: 14.47 MB / 0.7637 GB Notification: Performance of SimCode: time 5.81e-07/1.064, allocations: 0 / 1.023 GB, free: 14.47 MB / 0.7637 GB Notification: Performance of Templates: time 0.03705/1.101, allocations: 26.8 MB / 1.049 GB, free: 9.461 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)