Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.747/1.747, allocations: 292.6 MB / 307.5 MB, free: 5.18 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.001118/0.001118, allocations: 192.1 kB / 377.1 MB, free: 1.516 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.783/1.783, allocations: 205.4 MB / 0.6366 GB, free: 8.613 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009669/0.0009668, allocations: 88.56 kB / 0.7509 GB, free: 63.06 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003453, allocations: 15.98 kB / 0.8749 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2498, allocations: 116.3 MB / 0.9884 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6434/0.8932, allocations: 138.5 MB / 1.124 GB, free: 35.89 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/0.8935, allocations: 71.16 kB / 1.124 GB, free: 35.83 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001571/0.8951, allocations: 0.6243 MB / 1.124 GB, free: 35.32 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.244e-06/0.8951, allocations: 0 / 1.124 GB, free: 35.32 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.8951, allocations: 0.625 kB / 1.124 GB, free: 35.32 MB / 0.7292 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.000365/0.8955, allocations: 351.3 kB / 1.125 GB, free: 34.95 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.8956, allocations: 12.02 kB / 1.125 GB, free: 34.93 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.807e-05/0.8956, allocations: 36.25 kB / 1.125 GB, free: 34.89 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.8956, allocations: 2.062 kB / 1.125 GB, free: 34.89 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.8958, allocations: 176.1 kB / 1.125 GB, free: 34.68 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.8958, allocations: 0 / 1.125 GB, free: 34.68 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.8958, allocations: 9.625 kB / 1.125 GB, free: 34.68 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.896, allocations: 56.97 kB / 1.125 GB, free: 34.62 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.046e-06/0.896, allocations: 8 kB / 1.125 GB, free: 34.62 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.8961, allocations: 0.5156 kB / 1.125 GB, free: 34.62 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.8961, allocations: 3.938 kB / 1.125 GB, free: 34.61 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.8962, allocations: 42.83 kB / 1.125 GB, free: 34.58 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003487/0.8966, allocations: 287.2 kB / 1.125 GB, free: 34.27 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.997e-05/0.8967, allocations: 39.11 kB / 1.125 GB, free: 34.23 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.8967, allocations: 8.062 kB / 1.125 GB, free: 34.22 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.8967, allocations: 34.17 kB / 1.125 GB, free: 34.18 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.8967, allocations: 0 / 1.125 GB, free: 34.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0003159/0.8971, allocations: 88.19 kB / 1.125 GB, free: 34.11 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.8971, allocations: 55.95 kB / 1.126 GB, free: 34.04 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.292e-05/0.8972, allocations: 93.62 kB / 1.126 GB, free: 33.94 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.8972, allocations: 26.55 kB / 1.126 GB, free: 33.91 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.762e-05/0.8972, allocations: 83.7 kB / 1.126 GB, free: 33.83 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.359e-05/0.8972, allocations: 11.84 kB / 1.126 GB, free: 33.82 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.8972, allocations: 4 kB / 1.126 GB, free: 33.81 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.399e-05/0.8973, allocations: 318.8 kB / 1.126 GB, free: 33.49 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.755e-05/0.8974, allocations: 22.92 kB / 1.126 GB, free: 33.48 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.763e-05/0.8975, allocations: 23.42 kB / 1.126 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.432e-05/0.8975, allocations: 19.62 kB / 1.126 GB, free: 33.44 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.8975, allocations: 0 / 1.126 GB, free: 33.44 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001819/0.8977, allocations: 72.67 kB / 1.126 GB, free: 33.38 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.8978, allocations: 5.25 kB / 1.126 GB, free: 33.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.8978, allocations: 7.453 kB / 1.126 GB, free: 33.37 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.8978, allocations: 0 / 1.126 GB, free: 33.37 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.605e-05/0.8979, allocations: 8 kB / 1.126 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.8979, allocations: 0 / 1.126 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.115e-05/0.898, allocations: 13.02 kB / 1.126 GB, free: 33.35 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.898, allocations: 0 / 1.126 GB, free: 33.35 MB / 0.7292 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 7.271e-05/0.8981, allocations: 117.2 kB / 1.126 GB, free: 33.23 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.8981, allocations: 8 kB / 1.126 GB, free: 33.22 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.322e-05/0.8981, allocations: 3.922 kB / 1.126 GB, free: 33.22 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.8981, allocations: 0 / 1.126 GB, free: 33.22 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/0.8981, allocations: 0 / 1.126 GB, free: 33.22 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.8982, allocations: 0.8438 kB / 1.126 GB, free: 33.22 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.8983, allocations: 168.6 kB / 1.126 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.8983, allocations: 0.5 kB / 1.126 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.655e-05/0.8984, allocations: 11.33 kB / 1.126 GB, free: 33.01 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.8984, allocations: 0 / 1.126 GB, free: 33.01 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.8984, allocations: 5 kB / 1.126 GB, free: 33 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.8984, allocations: 0 / 1.126 GB, free: 33 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.8984, allocations: 0 / 1.126 GB, free: 33 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.8986, allocations: 178.3 kB / 1.127 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/0.8987, allocations: 78.14 kB / 1.127 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.8987, allocations: 0 / 1.127 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.527e-05/0.8988, allocations: 11.56 kB / 1.127 GB, free: 32.72 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.8988, allocations: 0 / 1.127 GB, free: 32.72 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.8988, allocations: 0.6875 kB / 1.127 GB, free: 32.72 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.925e-05/0.8989, allocations: 82.66 kB / 1.127 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.472e-06/0.8989, allocations: 0 / 1.127 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001972/0.8991, allocations: 11.88 kB / 1.127 GB, free: 32.63 MB / 0.7292 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 0.0004271/0.8995, allocations: 0.7147 MB / 1.128 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001891/0.8997, allocations: 39.5 kB / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.8997, allocations: 0 / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.763e-05/0.8998, allocations: 30.95 kB / 1.128 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.9, allocations: 4 kB / 1.128 GB, free: 31.85 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008156/0.9008, allocations: 412.7 kB / 1.128 GB, free: 31.44 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001879/0.901, allocations: 0.6805 MB / 1.129 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.912e-05/0.901, allocations: 11.47 kB / 1.129 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.9011, allocations: 8.094 kB / 1.129 GB, free: 30.72 MB / 0.7292 GB Notification: Performance of SimCode: time 3.6e-07/0.9011, allocations: 0 / 1.129 GB, free: 30.72 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01262/0.9137, allocations: 1.01 MB / 1.13 GB, free: 30.19 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/0.9139, allocations: 186.1 kB / 1.13 GB, free: 29.95 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.545/2.459, allocations: 0 / 1.13 GB, free: 29.95 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe 2>&1)