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.001267/0.001267, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001719/0.001719, allocations: 195.9 kB / 16.14 MB, free: 6.711 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.838/1.838, allocations: 205.1 MB / 222 MB, free: 4.809 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.636/1.636, allocations: 251.6 MB / 0.5088 GB, free: 3.355 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.001443/0.001443, allocations: 59.91 kB / 0.6216 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7364/0.7378, allocations: 104.7 MB / 0.7238 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.003395/0.7413, allocations: 1.397 MB / 0.7252 GB, free: 11.76 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003654/0.7417, allocations: 108.5 kB / 0.7253 GB, free: 11.65 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.174e-05/0.7417, allocations: 0 / 0.7253 GB, free: 11.65 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.7419, allocations: 3.938 kB / 0.7253 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.048e-05/0.7419, allocations: 4 kB / 0.7253 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001157/0.7421, allocations: 7.984 kB / 0.7253 GB, free: 11.63 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.988e-05/0.7421, allocations: 23.92 kB / 0.7253 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.7423, allocations: 8 kB / 0.7253 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.431e-05/0.7423, allocations: 7.938 kB / 0.7253 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.545e-05/0.7424, allocations: 19.91 kB / 0.7254 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.7424, allocations: 0 / 0.7254 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.288e-05/0.7425, allocations: 4 kB / 0.7254 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.645e-05/0.7425, allocations: 7.984 kB / 0.7254 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.484e-05/0.7426, allocations: 7.938 kB / 0.7254 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.567e-05/0.7427, allocations: 27.89 kB / 0.7254 GB, free: 11.53 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.7427, allocations: 4 kB / 0.7254 GB, free: 11.52 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7427, allocations: 0 / 0.7254 GB, free: 11.52 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.7427, allocations: 0 / 0.7254 GB, free: 11.52 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.0004803/0.7432, allocations: 345.5 kB / 0.7257 GB, free: 11.14 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.7433, allocations: 8.031 kB / 0.7257 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.7433, allocations: 4.844 kB / 0.7257 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.7435, allocations: 176.2 kB / 0.7259 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.7435, allocations: 4.375 kB / 0.7259 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.7435, allocations: 4.375 kB / 0.7259 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.7438, allocations: 50.23 kB / 0.726 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.7438, allocations: 8.188 kB / 0.726 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.7438, allocations: 7.875 kB / 0.726 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.7438, allocations: 0 / 0.726 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001901/0.744, allocations: 43.95 kB / 0.726 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004684/0.7445, allocations: 276.7 kB / 0.7263 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.7446, allocations: 38.56 kB / 0.7263 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.121e-05/0.7447, allocations: 20.91 kB / 0.7263 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.7448, allocations: 0 / 0.7263 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.7448, allocations: 34.55 kB / 0.7264 GB, free: 10.36 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.7448, allocations: 0 / 0.7264 GB, free: 10.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0003358/0.7451, allocations: 77.59 kB / 0.7265 GB, free: 10.28 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.7452, allocations: 51.41 kB / 0.7265 GB, free: 10.21 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.957e-05/0.7453, allocations: 105.8 kB / 0.7266 GB, free: 10.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.7453, allocations: 25.7 kB / 0.7266 GB, free: 10.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.956e-05/0.7454, allocations: 84.14 kB / 0.7267 GB, free: 9.984 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.7454, allocations: 7.906 kB / 0.7267 GB, free: 9.977 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.7454, allocations: 17.83 kB / 0.7267 GB, free: 9.953 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002401/0.7457, allocations: 314.8 kB / 0.727 GB, free: 9.637 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.757e-05/0.7458, allocations: 15.98 kB / 0.727 GB, free: 9.621 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.082e-05/0.7459, allocations: 15.98 kB / 0.7271 GB, free: 9.605 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.746, allocations: 36.81 kB / 0.7271 GB, free: 9.566 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.746, allocations: 4.062 kB / 0.7271 GB, free: 9.562 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001822/0.7462, allocations: 61.61 kB / 0.7272 GB, free: 9.496 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.7462, allocations: 4 kB / 0.7272 GB, free: 9.492 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.7462, allocations: 3.984 kB / 0.7272 GB, free: 9.488 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.7463, allocations: 4 kB / 0.7272 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.748e-05/0.7463, allocations: 4 kB / 0.7272 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.7464, allocations: 0 / 0.7272 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.747e-05/0.7464, allocations: 12.02 kB / 0.7272 GB, free: 9.469 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.7464, allocations: 0 / 0.7272 GB, free: 9.469 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 8.384e-05/0.7465, allocations: 113.8 kB / 0.7273 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.7466, allocations: 0 / 0.7273 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.342e-05/0.7466, allocations: 7.125 kB / 0.7273 GB, free: 9.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.7466, allocations: 3.984 kB / 0.7273 GB, free: 9.336 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.7466, allocations: 0 / 0.7273 GB, free: 9.336 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.7466, allocations: 0 / 0.7273 GB, free: 9.336 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.7468, allocations: 165.6 kB / 0.7275 GB, free: 9.125 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.7468, allocations: 0 / 0.7275 GB, free: 9.125 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.66e-05/0.7469, allocations: 11.98 kB / 0.7275 GB, free: 9.113 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.7469, allocations: 3.938 kB / 0.7275 GB, free: 9.109 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-06/0.7469, allocations: 0 / 0.7275 GB, free: 9.109 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.7469, allocations: 4 kB / 0.7275 GB, free: 9.105 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7469, allocations: 256 / 0.7275 GB, free: 9.105 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.7471, allocations: 171.2 kB / 0.7276 GB, free: 8.922 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-05/0.7472, allocations: 77.11 kB / 0.7277 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.7472, allocations: 4 kB / 0.7277 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.287e-05/0.7473, allocations: 7.984 kB / 0.7277 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.7473, allocations: 8 kB / 0.7277 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.7473, allocations: 0 / 0.7277 GB, free: 8.809 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.167e-05/0.7474, allocations: 83.27 kB / 0.7278 GB, free: 8.727 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7474, allocations: 0 / 0.7278 GB, free: 8.727 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002245/0.7476, allocations: 4 kB / 0.7278 GB, free: 8.723 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.0001771/0.7478, allocations: 103.3 kB / 0.7279 GB, free: 8.609 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002244/0.748, allocations: 35.91 kB / 0.728 GB, free: 8.574 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.7481, allocations: 0 / 0.728 GB, free: 8.574 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.131e-05/0.7481, allocations: 15.98 kB / 0.728 GB, free: 8.559 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.7485, allocations: 11.92 kB / 0.728 GB, free: 8.547 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003381/0.7489, allocations: 122.8 kB / 0.7281 GB, free: 8.406 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.7493, allocations: 0.6848 MB / 0.7288 GB, free: 7.695 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.13e-05/0.7493, allocations: 0 / 0.7288 GB, free: 7.695 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.961e-05/0.7494, allocations: 11.38 kB / 0.7288 GB, free: 7.684 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.7494, allocations: 0 / 0.7288 GB, free: 7.684 MB / 0.545 GB Notification: Performance of Templates: time 0.002767/0.7521, allocations: 354.5 kB / 0.7291 GB, free: 7.34 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)