Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009382/0.0009382, allocations: 83.59 kB / 20.45 MB, free: 4.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 165 kB / 23.82 MB, free: 0.7422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9417/0.9417, allocations: 177.1 MB / 204.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.856/1.856, allocations: 377.8 MB / 0.6236 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 0.8116 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.9e-05/2.066e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1313/0.1313, allocations: 151 MB / 0.959 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.004885/0.1362, allocations: 3.841 MB / 0.9628 GB, free: 6.359 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005803/0.1368, allocations: 59.5 kB / 0.9628 GB, free: 6.301 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006001/0.1374, allocations: 297.8 kB / 0.9631 GB, free: 6.008 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001643/0.139, allocations: 1.173 MB / 0.9643 GB, free: 4.828 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.1403, allocations: 0.8965 MB / 0.9651 GB, free: 3.93 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002572/0.1429, allocations: 2.996 MB / 0.9681 GB, free: 0.9258 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000933/0.1438, allocations: 0.8481 MB / 0.9689 GB, free: 56 kB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002846/0.1467, allocations: 1.566 MB / 0.9704 GB, free: 14.52 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001402/0.1481, allocations: 0.9154 MB / 0.9713 GB, free: 13.6 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002143/0.1483, allocations: 124 kB / 0.9714 GB, free: 13.48 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009699/0.1493, allocations: 419.1 kB / 0.9718 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0005274/0.1498, allocations: 0.6234 MB / 0.9724 GB, free: 12.45 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0006975/0.1505, allocations: 0.5224 MB / 0.973 GB, free: 11.92 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.1519, allocations: 1.343 MB / 0.9743 GB, free: 10.57 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1519, allocations: 0 / 0.9743 GB, free: 10.57 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1519, allocations: 0 / 0.9743 GB, free: 10.57 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.028e-05/0.152, allocations: 0 / 0.9743 GB, free: 10.57 MB / 0.9323 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.001742/0.1537, allocations: 1.616 MB / 0.9758 GB, free: 8.918 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1537, allocations: 12.03 kB / 0.9759 GB, free: 8.906 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.1549, allocations: 427.3 kB / 0.9763 GB, free: 8.488 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009017/0.1558, allocations: 0.828 MB / 0.9771 GB, free: 7.633 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.676e-05/0.1558, allocations: 78.12 kB / 0.9772 GB, free: 7.559 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.1559, allocations: 108 kB / 0.9773 GB, free: 7.453 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.157, allocations: 1.077 MB / 0.9783 GB, free: 6.254 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.1571, allocations: 0 / 0.9783 GB, free: 6.254 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.704e-05/0.1571, allocations: 44 kB / 0.9783 GB, free: 6.211 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.132e-05/0.1572, allocations: 38 kB / 0.9784 GB, free: 6.172 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006322/0.1578, allocations: 399.6 kB / 0.9788 GB, free: 5.785 MB / 0.9323 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.003034/0.1608, allocations: 2.476 MB / 0.9812 GB, free: 3.254 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005197/0.1613, allocations: 345.9 kB / 0.9815 GB, free: 2.906 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.1615, allocations: 158.1 kB / 0.9817 GB, free: 2.746 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/0.1616, allocations: 32.48 kB / 0.9817 GB, free: 2.715 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.1617, allocations: 41.89 kB / 0.9817 GB, free: 2.66 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=53): time 1.833e-06/0.1617, allocations: 0 / 0.9817 GB, free: 2.66 MB / 0.9323 GB Notification: Performance of matching and sorting (n=55): time 0.00186/0.1635, allocations: 1.185 MB / 0.9829 GB, free: 1.43 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.1636, allocations: 55.91 kB / 0.9829 GB, free: 1.363 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000498/0.1641, allocations: 0.6673 MB / 0.9836 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.1641, allocations: 37.7 kB / 0.9836 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/0.1644, allocations: 0.5846 MB / 0.9842 GB, free: 44 kB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.1645, allocations: 206.4 kB / 0.9844 GB, free: 15.84 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.1646, allocations: 140.2 kB / 0.9845 GB, free: 15.69 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1648, allocations: 0.5664 MB / 0.9851 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.165, allocations: 97.94 kB / 0.9852 GB, free: 15.02 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002828/0.1653, allocations: 352.6 kB / 0.9855 GB, free: 14.59 MB / 0.948 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.0008113/0.1661, allocations: 0.6723 MB / 0.9862 GB, free: 13.85 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.1661, allocations: 0 / 0.9862 GB, free: 13.85 MB / 0.948 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0006731/0.1667, allocations: 0.5661 MB / 0.9867 GB, free: 13.26 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1668, allocations: 11.75 kB / 0.9867 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1668, allocations: 4 kB / 0.9867 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001358/0.1669, allocations: 66.97 kB / 0.9868 GB, free: 13.17 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003802/0.1673, allocations: 147.8 kB / 0.9869 GB, free: 13.03 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00231/0.1696, allocations: 5.268 MB / 0.9921 GB, free: 7.395 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003333/0.1699, allocations: 27.94 kB / 0.9921 GB, free: 7.367 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/0.17, allocations: 28 kB / 0.9921 GB, free: 7.34 MB / 0.948 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.000192/0.1702, allocations: 204.3 kB / 0.9923 GB, free: 7.129 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.1703, allocations: 103.5 kB / 0.9924 GB, free: 7.027 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.867e-05/0.1704, allocations: 91.73 kB / 0.9925 GB, free: 6.93 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1704, allocations: 11.88 kB / 0.9925 GB, free: 6.918 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1704, allocations: 8.062 kB / 0.9925 GB, free: 6.91 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004563/0.1708, allocations: 477.2 kB / 0.993 GB, free: 6.387 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/0.1723, allocations: 1.403 MB / 0.9944 GB, free: 4.883 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.1723, allocations: 4 kB / 0.9944 GB, free: 4.879 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003298/0.1727, allocations: 135.8 kB / 0.9945 GB, free: 4.746 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.447e-05/0.1727, allocations: 31.67 kB / 0.9945 GB, free: 4.711 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.781e-05/0.1727, allocations: 12 kB / 0.9945 GB, free: 4.699 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008171/0.1736, allocations: 1.788 MB / 0.9963 GB, free: 2.785 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1736, allocations: 8.062 kB / 0.9963 GB, free: 2.777 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000706/0.1743, allocations: 0.7581 MB / 0.997 GB, free: 1.945 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002/0.1745, allocations: 155.4 kB / 0.9972 GB, free: 1.793 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.831e-05/0.1745, allocations: 16 kB / 0.9972 GB, free: 1.777 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003057/0.1748, allocations: 28.88 kB / 0.9972 GB, free: 1.754 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.9e-05/0.1749, allocations: 55.64 kB / 0.9973 GB, free: 1.699 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.403e-05/0.175, allocations: 27.98 kB / 0.9973 GB, free: 1.672 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003288/0.1753, allocations: 427 kB / 0.9977 GB, free: 1.262 MB / 0.948 GB Notification: Performance of sort global known variables: time 9e-08/0.1753, allocations: 0 / 0.9977 GB, free: 1.262 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005465/0.1758, allocations: 307.9 kB / 0.998 GB, free: 0.9609 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,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.0002359/0.1761, allocations: 151.1 kB / 0.9982 GB, free: 0.8047 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007619/0.1768, allocations: 0.8531 MB / 0.999 GB, free: 15.9 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.1768, allocations: 4 kB / 0.999 GB, free: 15.9 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002724/0.1771, allocations: 347.4 kB / 0.9993 GB, free: 15.54 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.1784, allocations: 0.5584 MB / 0.9999 GB, free: 14.99 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.1806, allocations: 1.843 MB / 1.002 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001899/0.1808, allocations: 272.6 kB / 1.002 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0005341/0.1813, allocations: 186.9 kB / 1.002 GB, free: 12.58 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.1814, allocations: 72.5 kB / 1.002 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of SimCode: time 1.032e-06/0.1814, allocations: 0 / 1.002 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of Templates: time 0.0235/0.2049, allocations: 20.89 MB / 1.023 GB, free: 8.105 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.684182628057897]