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.438/1.438, allocations: 252 MB / 267.6 MB, free: 10.91 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.001044/0.001044, allocations: 179.2 kB / 327.3 MB, free: 2.215 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.702/1.702, allocations: 205.4 MB / 0.5783 GB, free: 20.23 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.0007166/0.0007167, allocations: 82.36 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003266/0.0003266, allocations: 11.56 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2089, allocations: 106.3 MB / 0.9008 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.001396/0.2104, allocations: 1.049 MB / 0.9019 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002873/0.2107, allocations: 105.9 kB / 0.902 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.256e-05/0.2108, allocations: 0 / 0.902 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.758e-05/0.2108, allocations: 0 / 0.902 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.182e-05/0.2109, allocations: 7.922 kB / 0.902 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001007/0.211, allocations: 11.98 kB / 0.902 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.288e-05/0.211, allocations: 19.92 kB / 0.902 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.618e-05/0.2111, allocations: 4 kB / 0.902 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.555e-05/0.2112, allocations: 11.98 kB / 0.902 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.286e-05/0.2112, allocations: 7.938 kB / 0.902 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.2113, allocations: 4 kB / 0.902 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.995e-06/0.2113, allocations: 0 / 0.902 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.061e-05/0.2113, allocations: 11.98 kB / 0.902 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.106e-05/0.2113, allocations: 29.64 kB / 0.9021 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.198e-05/0.2114, allocations: 19.95 kB / 0.9021 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2114, allocations: 0 / 0.9021 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.685e-06/0.2114, allocations: 0 / 0.9021 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.2114, allocations: 0 / 0.9021 GB, free: 62.59 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.0003648/0.2118, allocations: 343.3 kB / 0.9024 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.2118, allocations: 8.031 kB / 0.9024 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.659e-05/0.2119, allocations: 15.84 kB / 0.9024 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.212, allocations: 171.2 kB / 0.9026 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.212, allocations: 7.984 kB / 0.9026 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.212, allocations: 0 / 0.9026 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.2122, allocations: 65.67 kB / 0.9027 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.2122, allocations: 0 / 0.9027 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.2122, allocations: 0 / 0.9027 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.2122, allocations: 0 / 0.9027 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.2124, allocations: 47.91 kB / 0.9027 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000342/0.2128, allocations: 284.9 kB / 0.903 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.2129, allocations: 46.5 kB / 0.903 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.265e-05/0.213, allocations: 28.84 kB / 0.9031 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.213, allocations: 4 kB / 0.9031 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.213, allocations: 30.56 kB / 0.9031 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.213, allocations: 0 / 0.9031 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0003247/0.2134, allocations: 97.55 kB / 0.9032 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/0.2134, allocations: 59.36 kB / 0.9032 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.31e-05/0.2134, allocations: 101.8 kB / 0.9033 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.554e-06/0.2135, allocations: 29.83 kB / 0.9034 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.648e-05/0.2135, allocations: 84.14 kB / 0.9034 GB, free: 61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.284e-05/0.2135, allocations: 3.906 kB / 0.9034 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-06/0.2135, allocations: 0 / 0.9034 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.51e-05/0.2136, allocations: 318.8 kB / 0.9038 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.168e-05/0.2137, allocations: 19.92 kB / 0.9038 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.075e-05/0.2137, allocations: 23.98 kB / 0.9038 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.954e-05/0.2138, allocations: 19.98 kB / 0.9038 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.2138, allocations: 0 / 0.9038 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001778/0.214, allocations: 77.72 kB / 0.9039 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.214, allocations: 4 kB / 0.9039 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2141, allocations: 0 / 0.9039 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.2141, allocations: 256 / 0.9039 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.018e-05/0.2142, allocations: 11.98 kB / 0.9039 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.2142, allocations: 4 kB / 0.9039 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.896e-05/0.2142, allocations: 15.98 kB / 0.9039 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.2142, allocations: 3.938 kB / 0.9039 GB, free: 60.49 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.119e-05/0.2143, allocations: 113.8 kB / 0.904 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.2143, allocations: 0 / 0.904 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.786e-05/0.2143, allocations: 7.125 kB / 0.904 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2143, allocations: 0 / 0.904 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2144, allocations: 3.938 kB / 0.904 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.2144, allocations: 0 / 0.904 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.2145, allocations: 165.6 kB / 0.9042 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2145, allocations: 4 kB / 0.9042 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.274e-05/0.2146, allocations: 8 kB / 0.9042 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2146, allocations: 0 / 0.9042 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.2146, allocations: 3.984 kB / 0.9042 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.2146, allocations: 0 / 0.9042 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2146, allocations: 0 / 0.9042 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.2148, allocations: 167.5 kB / 0.9044 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.824e-05/0.2148, allocations: 85 kB / 0.9045 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.2148, allocations: 0 / 0.9045 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-05/0.2149, allocations: 8 kB / 0.9045 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.2149, allocations: 11.95 kB / 0.9045 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-06/0.215, allocations: 4 kB / 0.9045 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.104e-05/0.215, allocations: 79.28 kB / 0.9046 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.215, allocations: 0 / 0.9046 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001836/0.2152, allocations: 4 kB / 0.9046 GB, free: 59.74 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 (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.342e-05/0.2153, allocations: 99.19 kB / 0.9047 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001983/0.2155, allocations: 51.95 kB / 0.9047 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2155, allocations: 0 / 0.9047 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.315e-05/0.2156, allocations: 19.98 kB / 0.9047 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.2158, allocations: 10.53 kB / 0.9047 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002449/0.2161, allocations: 150.7 kB / 0.9049 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.2162, allocations: 0.6809 MB / 0.9055 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.343e-05/0.2162, allocations: 7.438 kB / 0.9056 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/0.2162, allocations: 0 / 0.9056 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of Templates: time 0.001581/0.2178, allocations: 0.5654 MB / 0.9061 GB, free: 58.11 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)