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.638/1.638, allocations: 251.9 MB / 266.8 MB, free: 11.02 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.001031/0.001031, allocations: 179.2 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.023/2.023, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009033/0.000903, allocations: 96 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003532, allocations: 10.53 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2494, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.204/0.4535, allocations: 131.4 MB / 1.028 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/0.4539, allocations: 71.95 kB / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002082/0.456, allocations: 0.6452 MB / 1.029 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.29e-06/0.456, allocations: 0 / 1.029 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.456, allocations: 3.938 kB / 1.029 GB, free: 11.55 MB / 0.6823 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.0004771/0.4565, allocations: 347.3 kB / 1.029 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.4566, allocations: 8.031 kB / 1.029 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.291e-05/0.4566, allocations: 30.56 kB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.4567, allocations: 11.89 kB / 1.03 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.4569, allocations: 175 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.188e-06/0.4569, allocations: 0 / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.4569, allocations: 4 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.4572, allocations: 65.61 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.4572, allocations: 0 / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.4572, allocations: 0 / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.4573, allocations: 11.97 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.4574, allocations: 39.97 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005322/0.458, allocations: 280.9 kB / 1.03 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.4581, allocations: 46.48 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.4581, allocations: 0 / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.4582, allocations: 34.62 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.974e-06/0.4582, allocations: 0 / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0003734/0.4586, allocations: 93.55 kB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.4586, allocations: 59.3 kB / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.44e-05/0.4587, allocations: 97 kB / 1.03 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.4587, allocations: 25.7 kB / 1.03 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.901e-05/0.4588, allocations: 84.12 kB / 1.031 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.4588, allocations: 3.906 kB / 1.031 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.4588, allocations: 4.125 kB / 1.031 GB, free: 9.949 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.459, allocations: 318.8 kB / 1.031 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.839e-05/0.4591, allocations: 15.98 kB / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.353e-05/0.4592, allocations: 23.98 kB / 1.031 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.524e-05/0.4592, allocations: 27.97 kB / 1.031 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4593, allocations: 0 / 1.031 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001893/0.4595, allocations: 69.67 kB / 1.031 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.829e-05/0.4595, allocations: 8.031 kB / 1.031 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.4595, allocations: 0 / 1.031 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.4595, allocations: 0 / 1.031 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.4597, allocations: 16.17 kB / 1.031 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.4597, allocations: 0 / 1.031 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.356e-05/0.4597, allocations: 15.94 kB / 1.031 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.4597, allocations: 4 kB / 1.031 GB, free: 9.445 MB / 0.6823 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 0.0001014/0.4599, allocations: 117.8 kB / 1.031 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.4599, allocations: 4 kB / 1.031 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.415e-05/0.4599, allocations: 3.125 kB / 1.031 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.4599, allocations: 0 / 1.031 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4599, allocations: 0 / 1.031 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.4599, allocations: 3.984 kB / 1.031 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.4601, allocations: 161.6 kB / 1.031 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4601, allocations: 0 / 1.031 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.575e-05/0.4602, allocations: 11.98 kB / 1.031 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.4602, allocations: 4 kB / 1.031 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.4602, allocations: 0 / 1.031 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.4602, allocations: 0 / 1.031 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4602, allocations: 0 / 1.031 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.4605, allocations: 175.5 kB / 1.031 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.085e-05/0.4606, allocations: 88.89 kB / 1.032 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.4606, allocations: 0 / 1.032 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.395e-05/0.4607, allocations: 11.98 kB / 1.032 GB, free: 8.781 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.4607, allocations: 0 / 1.032 GB, free: 8.781 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.4607, allocations: 0 / 1.032 GB, free: 8.781 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.509e-05/0.4608, allocations: 79.28 kB / 1.032 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4608, allocations: 4.031 kB / 1.032 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000207/0.461, allocations: 4 kB / 1.032 GB, free: 8.695 MB / 0.6823 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.0005922/0.4616, allocations: 0.7053 MB / 1.032 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002184/0.4618, allocations: 43.91 kB / 1.032 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4618, allocations: 96 / 1.032 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.414e-05/0.4619, allocations: 23.98 kB / 1.032 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.4622, allocations: 7.938 kB / 1.032 GB, free: 7.891 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008811/0.463, allocations: 406.9 kB / 1.033 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.4634, allocations: 0.6809 MB / 1.033 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.361e-05/0.4634, allocations: 7.984 kB / 1.033 GB, free: 6.73 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.4635, allocations: 13.5 kB / 1.033 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/0.4635, allocations: 0 / 1.033 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01315/0.4766, allocations: 1.026 MB / 1.034 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/0.4769, allocations: 192.5 kB / 1.035 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.481/1.958, allocations: 0 / 1.035 GB, free: 5.629 MB / 0.6823 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)