Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001338/0.001338, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001565/0.001565, allocations: 196.6 kB / 16.14 MB, free: 6.711 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.559/1.559, allocations: 205.1 MB / 222 MB, free: 4.996 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.548/1.548, allocations: 251.6 MB / 0.5088 GB, free: 3.371 MB / 414.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.001441/0.001441, allocations: 63.91 kB / 0.6216 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5139/0.5154, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.703/1.218, allocations: 219.2 MB / 0.9378 GB, free: 16.77 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008738/1.227, allocations: 5.856 MB / 0.9436 GB, free: 16.62 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001691/1.229, allocations: 37.12 kB / 0.9436 GB, free: 16.62 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001468/1.23, allocations: 0.5125 MB / 0.9441 GB, free: 16.61 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004401/1.235, allocations: 1.79 MB / 0.9458 GB, free: 16.51 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002668/1.238, allocations: 1.106 MB / 0.9469 GB, free: 16.48 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005273/1.243, allocations: 4.361 MB / 0.9512 GB, free: 16.46 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001739/1.245, allocations: 1.007 MB / 0.9522 GB, free: 16.3 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002634/1.247, allocations: 0.9661 MB / 0.9531 GB, free: 16.3 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002479/1.25, allocations: 1.035 MB / 0.9541 GB, free: 16.29 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000241/1.25, allocations: 61.28 kB / 0.9542 GB, free: 16.29 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00392/1.254, allocations: 1.641 MB / 0.9558 GB, free: 16.27 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009099/1.255, allocations: 0.5371 MB / 0.9563 GB, free: 16.26 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001321/1.256, allocations: 0.6886 MB / 0.957 GB, free: 16.13 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003856/1.26, allocations: 2.438 MB / 0.9594 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.26, allocations: 0 / 0.9594 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.12e-07/1.26, allocations: 0 / 0.9594 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.003e-05/1.26, allocations: 0 / 0.9594 GB, free: 15.86 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.003029/1.263, allocations: 1.659 MB / 0.961 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/1.263, allocations: 8.531 kB / 0.961 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002107/1.265, allocations: 337.1 kB / 0.9613 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/1.267, allocations: 0.8741 MB / 0.9622 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.019e-05/1.267, allocations: 75.48 kB / 0.9622 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/1.267, allocations: 110.2 kB / 0.9623 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/1.269, allocations: 1.11 MB / 0.9634 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/1.269, allocations: 0 / 0.9634 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/1.27, allocations: 45.12 kB / 0.9635 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.287e-05/1.27, allocations: 42.45 kB / 0.9635 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001678/1.271, allocations: 0.999 MB / 0.9645 GB, free: 14.49 MB / 0.7169 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.006612/1.278, allocations: 4.274 MB / 0.9687 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008345/1.279, allocations: 0.5813 MB / 0.9692 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004754/1.279, allocations: 339.6 kB / 0.9695 GB, free: 12.69 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001782/1.279, allocations: 114.9 kB / 0.9697 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/1.279, allocations: 43 kB / 0.9697 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=53): time 2.575e-06/1.28, allocations: 0 / 0.9697 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of matching and sorting (n=55): time 0.004064/1.284, allocations: 2.186 MB / 0.9718 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/1.284, allocations: 61.5 kB / 0.9719 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/1.285, allocations: 0.9058 MB / 0.9728 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.202e-05/1.285, allocations: 41.52 kB / 0.9728 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002739/1.285, allocations: 0.5222 MB / 0.9733 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/1.285, allocations: 188.9 kB / 0.9735 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001956/1.285, allocations: 135.9 kB / 0.9736 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.868e-05/1.286, allocations: 333.1 kB / 0.974 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004164/1.286, allocations: 285.1 kB / 0.9742 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000485/1.286, allocations: 456.4 kB / 0.9747 GB, free: 10.62 MB / 0.7169 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.003339/1.29, allocations: 1.674 MB / 0.9763 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/1.29, allocations: 0 / 0.9763 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001435/1.291, allocations: 0.9197 MB / 0.9772 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/1.291, allocations: 6.906 kB / 0.9772 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/1.291, allocations: 6.266 kB / 0.9772 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001849/1.291, allocations: 94.8 kB / 0.9773 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006662/1.292, allocations: 165.5 kB / 0.9775 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002482/1.295, allocations: 4.29 MB / 0.9816 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/1.296, allocations: 81.86 kB / 0.9817 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.875e-05/1.296, allocations: 27.77 kB / 0.9817 GB, free: 6.387 MB / 0.7169 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: 19 * 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.0006153/1.297, allocations: 357.1 kB / 0.9821 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/1.297, allocations: 104.5 kB / 0.9822 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001715/1.297, allocations: 120.2 kB / 0.9823 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/1.297, allocations: 6.156 kB / 0.9823 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.006e-06/1.297, allocations: 0 / 0.9823 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009449/1.298, allocations: 0.753 MB / 0.983 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002942/1.301, allocations: 1.99 MB / 0.985 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/1.301, allocations: 2.938 kB / 0.985 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000673/1.302, allocations: 150.9 kB / 0.9851 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001078/1.302, allocations: 42.72 kB / 0.9852 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.455e-05/1.302, allocations: 23.67 kB / 0.9852 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009479/1.303, allocations: 1.479 MB / 0.9866 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.281e-06/1.303, allocations: 11.56 kB / 0.9867 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/1.305, allocations: 1.226 MB / 0.9878 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006104/1.305, allocations: 264.8 kB / 0.9881 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/1.305, allocations: 22.75 kB / 0.9881 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009845/1.306, allocations: 82.67 kB / 0.9882 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/1.306, allocations: 43.48 kB / 0.9882 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.407e-05/1.307, allocations: 33.22 kB / 0.9883 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007983/1.307, allocations: 0.6344 MB / 0.9889 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/1.307, allocations: 4 kB / 0.9889 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001119/1.309, allocations: 312.6 kB / 0.9892 GB, free: 2.234 MB / 0.7169 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.0004512/1.309, allocations: 182.8 kB / 0.9894 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001543/1.311, allocations: 0.9968 MB / 0.9903 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/1.311, allocations: 256 / 0.9903 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006022/1.311, allocations: 446.3 kB / 0.9908 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002984/1.314, allocations: 0.6454 MB / 0.9914 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004078/1.318, allocations: 2.558 MB / 0.9939 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008227/1.319, allocations: 1.181 MB / 0.9951 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00116/1.32, allocations: 252.9 kB / 0.9953 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002115/1.32, allocations: 80.67 kB / 0.9954 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of SimCode: time 6.32e-07/1.321, allocations: 0 / 0.9954 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of Templates: time 0.039/1.36, allocations: 22.03 MB / 1.017 GB, free: 9.719 MB / 0.7481 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)