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.513/1.513, allocations: 252 MB / 268 MB, free: 10.86 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.001012/0.001012, allocations: 181.6 kB / 327.6 MB, free: 2.09 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.734/1.734, allocations: 205.4 MB / 0.5786 GB, free: 20.4 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.0008095/0.0008095, allocations: 101.5 kB / 0.6832 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003651/0.0003651, allocations: 11.98 kB / 0.7976 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1865, allocations: 106.3 MB / 0.9015 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.001307/0.1878, allocations: 1.053 MB / 0.9025 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002467/0.1881, allocations: 113.8 kB / 0.9026 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.949e-05/0.1882, allocations: 4 kB / 0.9026 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.189e-05/0.1883, allocations: 3.984 kB / 0.9026 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.528e-05/0.1883, allocations: 3.938 kB / 0.9026 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001036/0.1884, allocations: 4 kB / 0.9026 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.386e-05/0.1885, allocations: 23.98 kB / 0.9026 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.946e-05/0.1886, allocations: 0 / 0.9026 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.448e-05/0.1886, allocations: 15.86 kB / 0.9027 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.918e-05/0.1887, allocations: 12 kB / 0.9027 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.1887, allocations: 3.984 kB / 0.9027 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.145e-06/0.1887, allocations: 7.938 kB / 0.9027 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.888e-05/0.1888, allocations: 3.984 kB / 0.9027 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.611e-05/0.1888, allocations: 37.64 kB / 0.9027 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.192e-05/0.1889, allocations: 15.95 kB / 0.9027 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1889, allocations: 0 / 0.9027 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.803e-06/0.1889, allocations: 0 / 0.9027 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.1889, allocations: 0 / 0.9027 GB, free: 62.49 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.0003457/0.1892, allocations: 347.5 kB / 0.9031 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.1893, allocations: 8.031 kB / 0.9031 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.833e-05/0.1893, allocations: 8.844 kB / 0.9031 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.1894, allocations: 172.6 kB / 0.9032 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.467e-06/0.1894, allocations: 4.375 kB / 0.9033 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.1895, allocations: 384 / 0.9033 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.1896, allocations: 66.23 kB / 0.9033 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.1896, allocations: 4.125 kB / 0.9033 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.1897, allocations: 3.938 kB / 0.9033 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1897, allocations: 0 / 0.9033 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.1898, allocations: 51.89 kB / 0.9034 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000339/0.1902, allocations: 280.8 kB / 0.9036 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.1903, allocations: 42.5 kB / 0.9037 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.088e-05/0.1904, allocations: 32.89 kB / 0.9037 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.1904, allocations: 4 kB / 0.9037 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.1904, allocations: 30.56 kB / 0.9037 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.203e-06/0.1904, allocations: 0 / 0.9037 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0003081/0.1907, allocations: 89.64 kB / 0.9038 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.1908, allocations: 59.39 kB / 0.9039 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.537e-05/0.1908, allocations: 97.86 kB / 0.904 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.1909, allocations: 29.83 kB / 0.904 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.885e-05/0.1909, allocations: 100 kB / 0.9041 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.497e-05/0.1909, allocations: 3.906 kB / 0.9041 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.1909, allocations: 0 / 0.9041 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.041e-05/0.191, allocations: 314.8 kB / 0.9044 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.567e-05/0.1911, allocations: 23.98 kB / 0.9044 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.672e-05/0.1911, allocations: 19.98 kB / 0.9044 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.1913, allocations: 48.81 kB / 0.9045 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1913, allocations: 0 / 0.9045 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001649/0.1915, allocations: 69.73 kB / 0.9046 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.1915, allocations: 11.98 kB / 0.9046 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1915, allocations: 0 / 0.9046 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1915, allocations: 0 / 0.9046 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.98e-05/0.1916, allocations: 15.97 kB / 0.9046 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1916, allocations: 0 / 0.9046 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.158e-05/0.1917, allocations: 7.984 kB / 0.9046 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.1917, allocations: 256 / 0.9046 GB, free: 60.36 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 5.134e-05/0.1917, allocations: 113.8 kB / 0.9047 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/0.1918, allocations: 0 / 0.9047 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.974e-05/0.1918, allocations: 15.11 kB / 0.9047 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1918, allocations: 4 kB / 0.9047 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.1918, allocations: 4 kB / 0.9047 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1918, allocations: 0 / 0.9047 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.1919, allocations: 157.6 kB / 0.9049 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1919, allocations: 0 / 0.9049 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.821e-05/0.192, allocations: 15.92 kB / 0.9049 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.192, allocations: 0 / 0.9049 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.192, allocations: 4 kB / 0.9049 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.192, allocations: 0 / 0.9049 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.192, allocations: 0 / 0.9049 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.1922, allocations: 171.4 kB / 0.9051 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.765e-05/0.1922, allocations: 85.05 kB / 0.9051 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.1923, allocations: 0 / 0.9051 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.792e-05/0.1923, allocations: 16.02 kB / 0.9052 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.1924, allocations: 4 kB / 0.9052 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.1924, allocations: 0 / 0.9052 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.106e-05/0.1924, allocations: 83.27 kB / 0.9052 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1924, allocations: 0 / 0.9052 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001865/0.1926, allocations: 4 kB / 0.9052 GB, free: 59.61 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 8.303e-05/0.1927, allocations: 95.25 kB / 0.9053 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001811/0.1929, allocations: 43.97 kB / 0.9054 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1929, allocations: 0 / 0.9054 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.708e-05/0.193, allocations: 28.05 kB / 0.9054 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.1933, allocations: 11.86 kB / 0.9054 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002628/0.1935, allocations: 154.3 kB / 0.9056 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.1937, allocations: 0.677 MB / 0.9062 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.345e-05/0.1937, allocations: 7.438 kB / 0.9062 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/0.1937, allocations: 4 kB / 0.9062 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of Templates: time 0.00158/0.1953, allocations: 0.5656 MB / 0.9068 GB, free: 57.96 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)