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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 191.2 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.689/1.689, allocations: 205.1 MB / 222.1 MB, free: 4.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.682/1.682, allocations: 251.6 MB / 0.5089 GB, free: 3.34 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 67.91 kB / 0.6218 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7292/0.7307, allocations: 104.7 MB / 0.724 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.003138/0.7339, allocations: 1.389 MB / 0.7254 GB, free: 11.72 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003662/0.7343, allocations: 112.5 kB / 0.7255 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.073e-05/0.7344, allocations: 0 / 0.7255 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.7345, allocations: 3.938 kB / 0.7255 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.087e-05/0.7346, allocations: 4 kB / 0.7255 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001172/0.7347, allocations: 7.984 kB / 0.7255 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.666e-05/0.7348, allocations: 23.88 kB / 0.7255 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.7349, allocations: 11.98 kB / 0.7255 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.48e-05/0.7349, allocations: 15.92 kB / 0.7255 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.764e-05/0.735, allocations: 7.984 kB / 0.7255 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.735, allocations: 4 kB / 0.7255 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.907e-06/0.735, allocations: 3.938 kB / 0.7255 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.427e-05/0.7351, allocations: 11.98 kB / 0.7256 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.977e-05/0.7351, allocations: 11.94 kB / 0.7256 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.634e-05/0.7352, allocations: 27.89 kB / 0.7256 GB, free: 11.47 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.7352, allocations: 0 / 0.7256 GB, free: 11.47 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7353, allocations: 0 / 0.7256 GB, free: 11.47 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.7353, allocations: 4 kB / 0.7256 GB, free: 11.47 MB / 0.545 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.0005121/0.7358, allocations: 341.4 kB / 0.7259 GB, free: 11.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.7358, allocations: 8.031 kB / 0.7259 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.7359, allocations: 8.844 kB / 0.7259 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.7361, allocations: 176.2 kB / 0.7261 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.7361, allocations: 384 / 0.7261 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.7361, allocations: 4.375 kB / 0.7261 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.7363, allocations: 58.23 kB / 0.7262 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.7363, allocations: 192 / 0.7262 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.7363, allocations: 3.938 kB / 0.7262 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.7364, allocations: 0 / 0.7262 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.7365, allocations: 39.95 kB / 0.7262 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004176/0.7369, allocations: 284.7 kB / 0.7265 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.737, allocations: 30.56 kB / 0.7265 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.764e-05/0.7371, allocations: 20.89 kB / 0.7265 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.7372, allocations: 0 / 0.7265 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.7372, allocations: 38.56 kB / 0.7266 GB, free: 10.31 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.7372, allocations: 3.938 kB / 0.7266 GB, free: 10.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0003415/0.7376, allocations: 81.58 kB / 0.7266 GB, free: 10.22 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.7376, allocations: 51.41 kB / 0.7267 GB, free: 10.16 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.7377, allocations: 101.8 kB / 0.7268 GB, free: 10.05 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.7377, allocations: 29.7 kB / 0.7268 GB, free: 10.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.098e-05/0.7378, allocations: 80.14 kB / 0.7269 GB, free: 9.934 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.7378, allocations: 7.906 kB / 0.7269 GB, free: 9.926 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.859e-05/0.7379, allocations: 21.83 kB / 0.7269 GB, free: 9.898 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.7381, allocations: 314.8 kB / 0.7272 GB, free: 9.582 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.058e-05/0.7382, allocations: 11.98 kB / 0.7272 GB, free: 9.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.916e-05/0.7382, allocations: 15.98 kB / 0.7273 GB, free: 9.555 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.7384, allocations: 40.88 kB / 0.7273 GB, free: 9.512 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7384, allocations: 4 kB / 0.7273 GB, free: 9.508 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000196/0.7386, allocations: 61.61 kB / 0.7274 GB, free: 9.441 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.7387, allocations: 7.938 kB / 0.7274 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.7387, allocations: 0 / 0.7274 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.7387, allocations: 0 / 0.7274 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.7388, allocations: 8.234 kB / 0.7274 GB, free: 9.426 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.7388, allocations: 0 / 0.7274 GB, free: 9.426 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.711e-05/0.7389, allocations: 16.02 kB / 0.7274 GB, free: 9.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.7389, allocations: 4 kB / 0.7274 GB, free: 9.406 MB / 0.545 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 0.0001226/0.7391, allocations: 109.8 kB / 0.7275 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.7391, allocations: 0 / 0.7275 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.057e-05/0.7391, allocations: 11.12 kB / 0.7275 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.7391, allocations: 0 / 0.7275 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.7391, allocations: 0 / 0.7275 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.7392, allocations: 3.984 kB / 0.7275 GB, free: 9.273 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.7394, allocations: 161.6 kB / 0.7277 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.7394, allocations: 4 kB / 0.7277 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.363e-05/0.7395, allocations: 7.984 kB / 0.7277 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.7395, allocations: 0 / 0.7277 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.7395, allocations: 0 / 0.7277 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.7395, allocations: 0 / 0.7277 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7395, allocations: 0 / 0.7277 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.7398, allocations: 171.3 kB / 0.7278 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.906e-05/0.7399, allocations: 81.05 kB / 0.7279 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.7399, allocations: 0 / 0.7279 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.687e-05/0.74, allocations: 7.984 kB / 0.7279 GB, free: 8.766 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.9e-05/0.74, allocations: 4 kB / 0.7279 GB, free: 8.762 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.7401, allocations: 0 / 0.7279 GB, free: 8.762 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.197e-05/0.7402, allocations: 79.28 kB / 0.728 GB, free: 8.684 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7402, allocations: 0 / 0.728 GB, free: 8.684 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002442/0.7404, allocations: 4 kB / 0.728 GB, free: 8.68 MB / 0.545 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 0.000211/0.7406, allocations: 103.3 kB / 0.7281 GB, free: 8.566 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002624/0.7409, allocations: 35.91 kB / 0.7281 GB, free: 8.531 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7409, allocations: 0 / 0.7281 GB, free: 8.531 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.607e-05/0.741, allocations: 19.98 kB / 0.7282 GB, free: 8.512 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.7414, allocations: 7.922 kB / 0.7282 GB, free: 8.504 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004538/0.7418, allocations: 133.5 kB / 0.7283 GB, free: 8.348 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004753/0.7423, allocations: 0.6768 MB / 0.729 GB, free: 7.645 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.022e-05/0.7424, allocations: 4 kB / 0.729 GB, free: 7.641 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.821e-05/0.7424, allocations: 7.438 kB / 0.729 GB, free: 7.633 MB / 0.545 GB Notification: Performance of SimCode: time 9.82e-07/0.7424, allocations: 0 / 0.729 GB, free: 7.633 MB / 0.545 GB Notification: Performance of Templates: time 0.003167/0.7456, allocations: 376.7 kB / 0.7293 GB, free: 7.27 MB / 0.545 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)