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.000917/0.0009172, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001225/0.001225, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.636/1.636, allocations: 292.7 MB / 0.5499 GB, free: 14.59 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.0007209/0.000721, allocations: 19.06 kB / 0.6737 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2854, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.664/0.9495, allocations: 173.3 MB / 0.9565 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009869/0.9594, allocations: 5.334 MB / 0.9617 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001841/0.9613, allocations: 32.12 kB / 0.9617 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001442/0.9628, allocations: 385.2 kB / 0.9621 GB, free: 4.336 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0045/0.9673, allocations: 1.356 MB / 0.9634 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003028/0.9703, allocations: 0.8326 MB / 0.9642 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004749/0.9751, allocations: 3.42 MB / 0.9676 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001458/0.9766, allocations: 0.8051 MB / 0.9684 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002207/0.9788, allocations: 0.8828 MB / 0.9692 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001817/0.9806, allocations: 0.9031 MB / 0.9701 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001777/0.9808, allocations: 46.41 kB / 0.9702 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00273/0.9836, allocations: 0.7013 MB / 0.9708 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00063/0.9842, allocations: 0.4912 MB / 0.9713 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007272/0.9849, allocations: 283.5 kB / 0.9716 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00233/0.9873, allocations: 1.628 MB / 0.9732 GB, free: 18.65 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.9873, allocations: 1.25 kB / 0.9732 GB, free: 18.65 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.943e-06/0.9873, allocations: 0 / 0.9732 GB, free: 18.65 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.341e-05/0.9873, allocations: 0 / 0.9732 GB, free: 18.65 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.002592/0.9899, allocations: 1.369 MB / 0.9745 GB, free: 17.87 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.99, allocations: 13.09 kB / 0.9745 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001952/0.9919, allocations: 328.4 kB / 0.9748 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.9934, allocations: 0.8333 MB / 0.9757 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.629e-05/0.9934, allocations: 76.48 kB / 0.9757 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.9936, allocations: 99.94 kB / 0.9758 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.9953, allocations: 1.078 MB / 0.9769 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.9953, allocations: 5.75 kB / 0.9769 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.35e-05/0.9954, allocations: 44.31 kB / 0.9769 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.206e-05/0.9955, allocations: 44.52 kB / 0.977 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.997, allocations: 0.9959 MB / 0.9779 GB, free: 17.02 MB / 0.7325 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.003, allocations: 4.246 MB / 0.9821 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000769/1.004, allocations: 0.5972 MB / 0.9827 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004309/1.004, allocations: 343.7 kB / 0.983 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002134/1.004, allocations: 101.4 kB / 0.9831 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/1.004, allocations: 43.31 kB / 0.9831 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=53): time 2.244e-06/1.004, allocations: 4 kB / 0.9831 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55): time 0.004188/1.009, allocations: 2.214 MB / 0.9853 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/1.009, allocations: 62.09 kB / 0.9854 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/1.01, allocations: 0.8667 MB / 0.9862 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.716e-05/1.01, allocations: 39.8 kB / 0.9862 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000318/1.01, allocations: 0.5028 MB / 0.9867 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/1.01, allocations: 201.5 kB / 0.9869 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/1.01, allocations: 14.2 kB / 0.9869 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001422/1.011, allocations: 346.1 kB / 0.9873 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004152/1.011, allocations: 283.1 kB / 0.9875 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005295/1.012, allocations: 445.7 kB / 0.988 GB, free: 11.83 MB / 0.7325 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.002596/1.014, allocations: 1.105 MB / 0.989 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/1.014, allocations: 0 / 0.989 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001495/1.016, allocations: 0.9261 MB / 0.9899 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/1.016, allocations: 6.75 kB / 0.99 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/1.016, allocations: 11.11 kB / 0.99 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001969/1.016, allocations: 99.36 kB / 0.9901 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006843/1.017, allocations: 172.8 kB / 0.9902 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003463/1.02, allocations: 4.283 MB / 0.9944 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/1.022, allocations: 70.08 kB / 0.9945 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-05/1.022, allocations: 25.81 kB / 0.9945 GB, free: 7.172 MB / 0.7325 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000897/1.023, allocations: 342.1 kB / 0.9948 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002327/1.023, allocations: 98.97 kB / 0.9949 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/1.023, allocations: 120.5 kB / 0.995 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/1.023, allocations: 8.406 kB / 0.995 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/1.023, allocations: 0 / 0.995 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001167/1.024, allocations: 0.7677 MB / 0.9958 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003424/1.028, allocations: 1.992 MB / 0.9977 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/1.028, allocations: 6.922 kB / 0.9977 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006805/1.028, allocations: 156.8 kB / 0.9979 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001185/1.029, allocations: 46.33 kB / 0.9979 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/1.029, allocations: 15.38 kB / 0.998 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/1.03, allocations: 1.49 MB / 0.9994 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/1.03, allocations: 15.08 kB / 0.9994 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/1.032, allocations: 1.247 MB / 1.001 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005574/1.033, allocations: 248.5 kB / 1.001 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/1.033, allocations: 13.59 kB / 1.001 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007678/1.033, allocations: 81.55 kB / 1.001 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/1.034, allocations: 51.58 kB / 1.001 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.127e-05/1.034, allocations: 27.89 kB / 1.001 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009113/1.035, allocations: 0.601 MB / 1.002 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/1.035, allocations: 0 / 1.002 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001211/1.036, allocations: 311.5 kB / 1.002 GB, free: 3.441 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004579/1.036, allocations: 179.9 kB / 1.002 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001642/1.038, allocations: 1.006 MB / 1.003 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.038, allocations: 2.562 kB / 1.003 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005626/1.038, allocations: 460.3 kB / 1.004 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002641/1.041, allocations: 0.6353 MB / 1.004 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003389/1.045, allocations: 2.48 MB / 1.007 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006934/1.045, allocations: 1.167 MB / 1.008 GB, free: 72 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001025/1.046, allocations: 255.5 kB / 1.008 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001922/1.046, allocations: 72.5 kB / 1.008 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of SimCode: time 9.72e-07/1.046, allocations: 0 / 1.008 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of Templates: time 0.03223/1.079, allocations: 20.6 MB / 1.028 GB, free: 2.031 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: