Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.848/1.848, allocations: 288.3 MB / 303.2 MB, free: 8.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001275/0.001275, allocations: 179.1 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.803/1.803, allocations: 205.4 MB / 0.6306 GB, free: 10.03 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009829/0.0009829, allocations: 104.4 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003724, allocations: 14.56 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2017, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.0008214/0.2026, allocations: 352.4 kB / 0.9798 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007843/0.2034, allocations: 0.7793 MB / 0.9805 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.636e-05/0.2035, allocations: 0 / 0.9805 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.95e-05/0.2036, allocations: 7.938 kB / 0.9805 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.346e-05/0.2036, allocations: 0 / 0.9805 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 8.719e-05/0.2037, allocations: 11.92 kB / 0.9805 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.44e-05/0.2038, allocations: 19.97 kB / 0.9806 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.155e-05/0.2039, allocations: 8 kB / 0.9806 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.198e-05/0.2039, allocations: 3.938 kB / 0.9806 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.732e-05/0.204, allocations: 11.98 kB / 0.9806 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.204, allocations: 0 / 0.9806 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.316e-06/0.204, allocations: 4 kB / 0.9806 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.512e-05/0.204, allocations: 7.969 kB / 0.9806 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.407e-05/0.2041, allocations: 41.58 kB / 0.9806 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.676e-05/0.2041, allocations: 15.95 kB / 0.9807 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.2041, allocations: 0 / 0.9807 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2041, allocations: 0 / 0.9807 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.267e-06/0.2041, allocations: 0 / 0.9807 GB, free: 26.43 MB / 0.6198 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.0003452/0.2045, allocations: 351.5 kB / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.2045, allocations: 8.031 kB / 0.981 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.2046, allocations: 0 / 0.981 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.2047, allocations: 167 kB / 0.9812 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-06/0.2047, allocations: 4 kB / 0.9812 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.2047, allocations: 7.984 kB / 0.9812 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.2049, allocations: 61.67 kB / 0.9812 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.2049, allocations: 0 / 0.9812 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.2049, allocations: 3.938 kB / 0.9812 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.205, allocations: 0 / 0.9812 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.2051, allocations: 51.97 kB / 0.9813 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003896/0.2055, allocations: 276.8 kB / 0.9815 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.2056, allocations: 46.5 kB / 0.9816 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.2057, allocations: 0 / 0.9816 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.438e-05/0.2057, allocations: 30.56 kB / 0.9816 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.2057, allocations: 0 / 0.9816 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0003396/0.206, allocations: 93.7 kB / 0.9817 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.2061, allocations: 51.41 kB / 0.9818 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.557e-05/0.2061, allocations: 101.8 kB / 0.9819 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.2061, allocations: 29.69 kB / 0.9819 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.183e-05/0.2062, allocations: 92.17 kB / 0.982 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.403e-05/0.2062, allocations: 7.938 kB / 0.982 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-06/0.2062, allocations: 0 / 0.982 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.848e-05/0.2063, allocations: 314.8 kB / 0.9823 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.901e-05/0.2063, allocations: 27.92 kB / 0.9823 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.05e-05/0.2064, allocations: 23.97 kB / 0.9823 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.46e-05/0.2065, allocations: 23.98 kB / 0.9824 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2065, allocations: 0 / 0.9824 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001761/0.2067, allocations: 69.72 kB / 0.9824 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.2067, allocations: 4 kB / 0.9824 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2067, allocations: 4 kB / 0.9824 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.2068, allocations: 0 / 0.9824 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.217e-05/0.2068, allocations: 8 kB / 0.9824 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.2069, allocations: 4 kB / 0.9824 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.448e-05/0.2069, allocations: 7.984 kB / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.2069, allocations: 4.031 kB / 0.9824 GB, free: 24.38 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.222e-05/0.207, allocations: 114.5 kB / 0.9826 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.207, allocations: 7.844 kB / 0.9826 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.725e-05/0.207, allocations: 7.109 kB / 0.9826 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.207, allocations: 0 / 0.9826 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.207, allocations: 4.25 kB / 0.9826 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.207, allocations: 7.922 kB / 0.9826 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.2072, allocations: 165.6 kB / 0.9827 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2072, allocations: 0 / 0.9827 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.199e-05/0.2072, allocations: 15.98 kB / 0.9828 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2072, allocations: 0 / 0.9828 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.2073, allocations: 0 / 0.9828 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2073, allocations: 0 / 0.9828 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2073, allocations: 4 kB / 0.9828 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.2075, allocations: 167.5 kB / 0.9829 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.725e-05/0.2075, allocations: 81.11 kB / 0.983 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.2076, allocations: 0 / 0.983 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.162e-05/0.2076, allocations: 11.98 kB / 0.983 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.2077, allocations: 3.938 kB / 0.983 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.2077, allocations: 4 kB / 0.983 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.021e-05/0.2077, allocations: 91.3 kB / 0.9831 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2077, allocations: 0 / 0.9831 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002035/0.2079, allocations: 4 kB / 0.9831 GB, free: 23.61 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.05e-05/0.208, allocations: 99.19 kB / 0.9832 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00019/0.2082, allocations: 43.97 kB / 0.9832 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2082, allocations: 0 / 0.9832 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.161e-05/0.2083, allocations: 23.97 kB / 0.9833 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.2085, allocations: 7.953 kB / 0.9833 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002335/0.2087, allocations: 116.8 kB / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.2088, allocations: 0.6809 MB / 0.9841 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.264e-05/0.2089, allocations: 4 kB / 0.9841 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.89e-05/0.2089, allocations: 7.438 kB / 0.9841 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.2089, allocations: 0 / 0.9841 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of Templates: time 0.002019/0.2109, allocations: 347.5 kB / 0.9844 GB, free: 22.24 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe 2>&1)