Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.556/1.556, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 167.5 kB / 326.5 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205 MB / 0.5766 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007325/0.0007328, allocations: 93.98 kB / 0.6804 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002952/0.0002952, allocations: 8.625 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1712, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.001333/0.1726, allocations: 1.062 MB / 0.8978 GB, free: 67.12 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002737/0.1729, allocations: 100.6 kB / 0.8979 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.926e-05/0.173, allocations: 3.938 kB / 0.8979 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.261e-05/0.1731, allocations: 0 / 0.8979 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.589e-05/0.1731, allocations: 11.97 kB / 0.8979 GB, free: 67.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 8.761e-05/0.1732, allocations: 12 kB / 0.8979 GB, free: 67 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.555e-05/0.1733, allocations: 19.92 kB / 0.8979 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.013e-05/0.1734, allocations: 8 kB / 0.8979 GB, free: 66.97 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.399e-05/0.1734, allocations: 11.92 kB / 0.8979 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.06e-05/0.1735, allocations: 8 kB / 0.898 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.1735, allocations: 0 / 0.898 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.265e-06/0.1735, allocations: 0 / 0.898 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.953e-05/0.1736, allocations: 11.92 kB / 0.898 GB, free: 66.94 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.212e-05/0.1736, allocations: 15.94 kB / 0.898 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.268e-05/0.1737, allocations: 19.94 kB / 0.898 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1737, allocations: 3.938 kB / 0.898 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1737, allocations: 0 / 0.898 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.1737, allocations: 0 / 0.898 GB, free: 66.9 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003543/0.1741, allocations: 348.5 kB / 0.8983 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.1741, allocations: 8.031 kB / 0.8983 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.1741, allocations: 12.84 kB / 0.8984 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.1742, allocations: 172.4 kB / 0.8985 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.1743, allocations: 384 / 0.8985 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.1743, allocations: 4.375 kB / 0.8985 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.1745, allocations: 58.23 kB / 0.8986 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1745, allocations: 192 / 0.8986 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-06/0.1745, allocations: 7.938 kB / 0.8986 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1745, allocations: 4 kB / 0.8986 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.1747, allocations: 51.89 kB / 0.8986 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003335/0.175, allocations: 280.8 kB / 0.8989 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.1751, allocations: 34.56 kB / 0.8989 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.758e-05/0.1752, allocations: 28.91 kB / 0.899 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.649e-06/0.1752, allocations: 7.922 kB / 0.899 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.31e-05/0.1752, allocations: 34.5 kB / 0.899 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.1752, allocations: 4 kB / 0.899 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.000304/0.1756, allocations: 85.66 kB / 0.8991 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.1756, allocations: 55.39 kB / 0.8991 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.753e-05/0.1756, allocations: 105.8 kB / 0.8992 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.1757, allocations: 25.7 kB / 0.8993 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.854e-05/0.1757, allocations: 88.08 kB / 0.8994 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.1757, allocations: 11.89 kB / 0.8994 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.048e-05/0.1757, allocations: 13.84 kB / 0.8994 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.919e-05/0.1758, allocations: 314.8 kB / 0.8997 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.634e-05/0.1759, allocations: 19.98 kB / 0.8997 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.674e-05/0.1759, allocations: 19.98 kB / 0.8997 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.1761, allocations: 52.81 kB / 0.8998 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1761, allocations: 4 kB / 0.8998 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001656/0.1763, allocations: 69.67 kB / 0.8998 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.1763, allocations: 4 kB / 0.8998 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.1763, allocations: 3.984 kB / 0.8998 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.1763, allocations: 4 kB / 0.8999 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.354e-05/0.1764, allocations: 4 kB / 0.8999 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1764, allocations: 0 / 0.8999 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.378e-05/0.1765, allocations: 16.02 kB / 0.8999 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.1765, allocations: 0 / 0.8999 GB, free: 64.76 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 6.508e-05/0.1765, allocations: 113.8 kB / 0.9 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.1766, allocations: 0 / 0.9 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.845e-05/0.1766, allocations: 11.11 kB / 0.9 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.1766, allocations: 3.984 kB / 0.9 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1766, allocations: 4 kB / 0.9 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1766, allocations: 3.938 kB / 0.9 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.1767, allocations: 157.6 kB / 0.9002 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1767, allocations: 4 kB / 0.9002 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.358e-05/0.1768, allocations: 12.23 kB / 0.9002 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1768, allocations: 0 / 0.9002 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.1768, allocations: 4 kB / 0.9002 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1768, allocations: 0 / 0.9002 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1768, allocations: 3.984 kB / 0.9002 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.177, allocations: 179.4 kB / 0.9003 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.177, allocations: 77.11 kB / 0.9004 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.1771, allocations: 4 kB / 0.9004 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.83e-05/0.1771, allocations: 7.984 kB / 0.9004 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.1772, allocations: 11.97 kB / 0.9004 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.1772, allocations: 4 kB / 0.9004 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.482e-05/0.1772, allocations: 87.2 kB / 0.9005 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1772, allocations: 0 / 0.9005 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001897/0.1774, allocations: 4 kB / 0.9005 GB, free: 63.98 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (1): * Single equations (assignments): 1 * 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 7.613e-05/0.1775, allocations: 99.19 kB / 0.9006 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001815/0.1777, allocations: 43.97 kB / 0.9007 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1777, allocations: 0 / 0.9007 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.604e-05/0.1778, allocations: 23.98 kB / 0.9007 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.178, allocations: 7.922 kB / 0.9007 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002389/0.1783, allocations: 145.1 kB / 0.9008 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.272e-05/0.1784, allocations: 0.677 MB / 0.9015 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.115e-05/0.1784, allocations: 7.438 kB / 0.9015 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/0.1784, allocations: 0 / 0.9015 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of Templates: time 0.001505/0.1799, allocations: 0.5674 MB / 0.9021 GB, free: 62.36 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe 2>&1)