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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.543/1.543, allocations: 249.3 MB / 261.8 MB, free: 5.82 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001303/0.001305, allocations: 178.1 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.77/1.77, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.001035/0.001035, allocations: 82.53 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.314e-05/5.333e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2235, allocations: 106.3 MB / 0.8919 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6793/0.9028, allocations: 131.3 MB / 1.02 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001988/0.9031, allocations: 71.64 kB / 1.02 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001633/0.9047, allocations: 0.6637 MB / 1.021 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.332e-06/0.9048, allocations: 0 / 1.021 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.9048, allocations: 0 / 1.021 GB, free: 2.758 MB / 0.6355 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.0003687/0.9051, allocations: 339.7 kB / 1.021 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.9052, allocations: 8.031 kB / 1.021 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.528e-05/0.9052, allocations: 33.75 kB / 1.021 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.448e-05/0.9053, allocations: 4 kB / 1.021 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.9054, allocations: 174.9 kB / 1.021 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.9054, allocations: 7.312 kB / 1.021 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.9055, allocations: 0 / 1.021 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.598e-05/0.9056, allocations: 37.64 kB / 1.021 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.9056, allocations: 0 / 1.021 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.9056, allocations: 7.875 kB / 1.021 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.9056, allocations: 6.734 kB / 1.021 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.933e-05/0.9056, allocations: 19.86 kB / 1.021 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003742/0.906, allocations: 272.5 kB / 1.022 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.504e-05/0.9061, allocations: 18.58 kB / 1.022 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.639e-05/0.9061, allocations: 16.73 kB / 1.022 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.737e-06/0.9061, allocations: 3.938 kB / 1.022 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.9062, allocations: 30.56 kB / 1.022 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.9062, allocations: 0 / 1.022 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001202/0.9063, allocations: 41.56 kB / 1.022 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.9063, allocations: 55.36 kB / 1.022 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.068e-05/0.9064, allocations: 93.88 kB / 1.022 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.9064, allocations: 29.73 kB / 1.022 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.494e-05/0.9065, allocations: 87.36 kB / 1.022 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.217e-05/0.9065, allocations: 0 / 1.022 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-06/0.9065, allocations: 0 / 1.022 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.9066, allocations: 322.3 kB / 1.022 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.405e-05/0.9066, allocations: 2.719 kB / 1.022 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.283e-05/0.9066, allocations: 4 kB / 1.022 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.474e-05/0.9067, allocations: 6.562 kB / 1.022 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.9067, allocations: 8.062 kB / 1.022 GB, free: 1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.612e-05/0.9067, allocations: 40.61 kB / 1.022 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.9068, allocations: 5.25 kB / 1.022 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.9068, allocations: 0 / 1.022 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.9068, allocations: 7.922 kB / 1.022 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.735e-05/0.9069, allocations: 11.94 kB / 1.022 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.9069, allocations: 0 / 1.022 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.923e-05/0.907, allocations: 15.88 kB / 1.022 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.907, allocations: 8.031 kB / 1.022 GB, free: 0.9141 MB / 0.6355 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 () * 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.666e-05/0.907, allocations: 101 kB / 1.023 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.9071, allocations: 0 / 1.023 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.241e-05/0.9071, allocations: 10.89 kB / 1.023 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.9071, allocations: 7.984 kB / 1.023 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.9071, allocations: 0 / 1.023 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.9071, allocations: 0 / 1.023 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.9073, allocations: 165.5 kB / 1.023 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.9073, allocations: 0 / 1.023 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.646e-05/0.9073, allocations: 15.98 kB / 1.023 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.9073, allocations: 3.938 kB / 1.023 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.9074, allocations: 0 / 1.023 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.9074, allocations: 0 / 1.023 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.9074, allocations: 4 kB / 1.023 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.9075, allocations: 131.5 kB / 1.023 GB, free: 432 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-05/0.9076, allocations: 81.09 kB / 1.023 GB, free: 332 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.9076, allocations: 4.031 kB / 1.023 GB, free: 328 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.116e-05/0.9077, allocations: 8 kB / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.9077, allocations: 3.984 kB / 1.023 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.9077, allocations: 0 / 1.023 GB, free: 316 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.594e-05/0.9078, allocations: 83.22 kB / 1.023 GB, free: 236 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9078, allocations: 0 / 1.023 GB, free: 236 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001969/0.908, allocations: 4 kB / 1.023 GB, free: 232 kB / 0.6355 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 () * 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 0.0004129/0.9084, allocations: 0.6809 MB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.828e-05/0.9085, allocations: 4 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.9085, allocations: 0 / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.98e-05/0.9085, allocations: 7.875 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.9087, allocations: 8.156 kB / 1.024 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003689/0.9091, allocations: 102.8 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.9094, allocations: 0.6809 MB / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.267e-05/0.9094, allocations: 0 / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.223e-05/0.9095, allocations: 15.3 kB / 1.025 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of SimCode: time 4.01e-07/0.9095, allocations: 0 / 1.025 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01068/0.9202, allocations: 1.033 MB / 1.026 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001945/0.9204, allocations: 179 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.458/2.378, allocations: 0 / 1.026 GB, free: 13.52 MB / 0.6511 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe 2>&1)