Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.449/2.449, allocations: 284.9 MB / 292.4 MB, free: 10.59 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.001424/0.001424, allocations: 180.9 kB / 360.6 MB, free: 7.309 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.166/2.166, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.00118/0.00118, allocations: 88.22 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.585e-05/2.623e-05, allocations: 4 kB / 0.8509 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8571/0.8571, allocations: 115.3 MB / 0.9634 GB, free: 78.9 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2633/1.121, allocations: 136.6 MB / 1.097 GB, free: 3.93 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/1.121, allocations: 71.95 kB / 1.097 GB, free: 3.859 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002262/1.123, allocations: 0.6257 MB / 1.097 GB, free: 3.246 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.724e-06/1.123, allocations: 0.5 kB / 1.097 GB, free: 3.246 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.041e-05/1.123, allocations: 0 / 1.097 GB, free: 3.246 MB / 0.698 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.0004685/1.124, allocations: 344.1 kB / 1.098 GB, free: 2.875 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.935e-05/1.124, allocations: 8.031 kB / 1.098 GB, free: 2.867 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/1.124, allocations: 9.109 kB / 1.098 GB, free: 2.859 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/1.124, allocations: 181.6 kB / 1.098 GB, free: 2.645 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/1.124, allocations: 0 / 1.098 GB, free: 2.645 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/1.124, allocations: 0 / 1.098 GB, free: 2.645 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.233e-05/1.124, allocations: 12 kB / 1.098 GB, free: 2.633 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.759e-05/1.124, allocations: 42.22 kB / 1.098 GB, free: 2.586 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/1.124, allocations: 0 / 1.098 GB, free: 2.586 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/1.124, allocations: 1.594 kB / 1.098 GB, free: 2.586 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/1.124, allocations: 0 / 1.098 GB, free: 2.586 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005165/1.125, allocations: 259 kB / 1.098 GB, free: 2.297 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.643e-05/1.125, allocations: 19.86 kB / 1.098 GB, free: 2.27 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.614e-05/1.125, allocations: 12.92 kB / 1.098 GB, free: 2.254 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/1.125, allocations: 0.8125 kB / 1.098 GB, free: 2.254 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/1.125, allocations: 31.41 kB / 1.098 GB, free: 2.215 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 3.497e-06/1.125, allocations: 2.422 kB / 1.098 GB, free: 2.215 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.000177/1.125, allocations: 41.59 kB / 1.098 GB, free: 2.168 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/1.125, allocations: 55.97 kB / 1.098 GB, free: 2.102 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.798e-05/1.125, allocations: 96.62 kB / 1.099 GB, free: 2.004 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/1.125, allocations: 26.58 kB / 1.099 GB, free: 1.973 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.767e-05/1.125, allocations: 88.14 kB / 1.099 GB, free: 1.883 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/1.126, allocations: 4.562 kB / 1.099 GB, free: 1.879 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-06/1.126, allocations: 0 / 1.099 GB, free: 1.879 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001332/1.126, allocations: 319.5 kB / 1.099 GB, free: 1.559 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.302e-05/1.126, allocations: 11.91 kB / 1.099 GB, free: 1.551 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.179e-05/1.126, allocations: 4.594 kB / 1.099 GB, free: 1.547 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.439e-05/1.126, allocations: 4.719 kB / 1.099 GB, free: 1.543 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.126, allocations: 0 / 1.099 GB, free: 1.543 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.096e-05/1.126, allocations: 38.23 kB / 1.099 GB, free: 1.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/1.126, allocations: 5.969 kB / 1.099 GB, free: 1.496 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/1.126, allocations: 0 / 1.099 GB, free: 1.496 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/1.126, allocations: 2.594 kB / 1.099 GB, free: 1.496 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/1.126, allocations: 11.98 kB / 1.099 GB, free: 1.484 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/1.126, allocations: 2.5 kB / 1.099 GB, free: 1.484 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.264e-05/1.126, allocations: 11.98 kB / 1.099 GB, free: 1.473 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/1.126, allocations: 2.625 kB / 1.099 GB, free: 1.473 MB / 0.698 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 8.657e-05/1.126, allocations: 112.7 kB / 1.099 GB, free: 1.355 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.051e-05/1.126, allocations: 37.7 kB / 1.099 GB, free: 1.312 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/1.126, allocations: 0 / 1.099 GB, free: 1.312 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.068e-05/1.127, allocations: 11.73 kB / 1.099 GB, free: 1.301 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/1.127, allocations: 0 / 1.099 GB, free: 1.301 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.127, allocations: 4.156 kB / 1.099 GB, free: 1.297 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/1.127, allocations: 3.953 kB / 1.099 GB, free: 1.293 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/1.127, allocations: 134.2 kB / 1.099 GB, free: 1.125 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.127, allocations: 0 / 1.099 GB, free: 1.125 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.519e-05/1.127, allocations: 11.98 kB / 1.099 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/1.127, allocations: 0 / 1.099 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/1.127, allocations: 0 / 1.099 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/1.127, allocations: 0 / 1.099 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.127, allocations: 3.5 kB / 1.099 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/1.127, allocations: 154.1 kB / 1.1 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/1.127, allocations: 77.11 kB / 1.1 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/1.127, allocations: 0 / 1.1 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/1.127, allocations: 4 kB / 1.1 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/1.127, allocations: 7.984 kB / 1.1 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/1.127, allocations: 0 / 1.1 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.13e-05/1.127, allocations: 87.31 kB / 1.1 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/1.127, allocations: 0 / 1.1 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003058/1.128, allocations: 4 kB / 1.1 GB, free: 0.7539 MB / 0.698 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.0004445/1.128, allocations: 0.6656 MB / 1.1 GB, free: 68 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001022/1.128, allocations: 19.91 kB / 1.1 GB, free: 48 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.128, allocations: 0 / 1.1 GB, free: 48 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.043e-05/1.128, allocations: 4 kB / 1.1 GB, free: 44 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/1.129, allocations: 6.062 kB / 1.1 GB, free: 40 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004468/1.129, allocations: 95.98 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/1.129, allocations: 0.6807 MB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.285e-05/1.129, allocations: 0 / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.788e-05/1.13, allocations: 15.55 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of SimCode: time 9.02e-07/1.13, allocations: 4 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0337/1.163, allocations: 0.7042 MB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003019/1.164, allocations: 157.4 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.45/3.614, allocations: 0 / 1.102 GB, free: 14.32 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe 2>&1)