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.449/1.449, allocations: 249.5 MB / 257 MB, free: 6.961 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.0009866/0.0009866, allocations: 184.8 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.0007747/0.0007747, allocations: 95.58 kB / 0.6714 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.801e-05/1.806e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1713, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6144/0.7857, allocations: 131.6 MB / 1.014 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001876/0.7859, allocations: 71.14 kB / 1.014 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001582/0.7875, allocations: 0.6477 MB / 1.015 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.303e-06/0.7875, allocations: 0 / 1.015 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.7875, allocations: 0 / 1.015 GB, free: 5.207 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.0003291/0.7879, allocations: 335.9 kB / 1.015 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.7879, allocations: 12.03 kB / 1.015 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.788, allocations: 0.875 kB / 1.015 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.7881, allocations: 178.9 kB / 1.015 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.7882, allocations: 4 kB / 1.015 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.7882, allocations: 7.984 kB / 1.015 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.9e-05/0.7883, allocations: 18.56 kB / 1.015 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.252e-05/0.7883, allocations: 37.39 kB / 1.015 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.7883, allocations: 2.516 kB / 1.015 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.7884, allocations: 7.938 kB / 1.015 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.7884, allocations: 0 / 1.015 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003516/0.7887, allocations: 259.4 kB / 1.015 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.673e-05/0.7888, allocations: 22.52 kB / 1.015 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.069e-05/0.7888, allocations: 7.984 kB / 1.015 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.7888, allocations: 0 / 1.015 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.7888, allocations: 34.62 kB / 1.015 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.7889, allocations: 4 kB / 1.015 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001148/0.789, allocations: 31.77 kB / 1.015 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.789, allocations: 51.41 kB / 1.015 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.27e-05/0.7891, allocations: 99.98 kB / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.7891, allocations: 25.7 kB / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.7891, allocations: 87.36 kB / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.106e-05/0.7892, allocations: 0 / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-06/0.7892, allocations: 0 / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.7893, allocations: 322.8 kB / 1.016 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.7893, allocations: 7.125 kB / 1.016 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.021e-05/0.7893, allocations: 4 kB / 1.016 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.486e-05/0.7893, allocations: 7.172 kB / 1.016 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.7893, allocations: 4 kB / 1.016 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.4e-05/0.7894, allocations: 33.61 kB / 1.016 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.7894, allocations: 11.94 kB / 1.016 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.7894, allocations: 0 / 1.016 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.7894, allocations: 0 / 1.016 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.7896, allocations: 16.08 kB / 1.016 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/0.7896, allocations: 0 / 1.016 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.73e-05/0.7896, allocations: 4 kB / 1.016 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.7896, allocations: 0 / 1.016 GB, free: 3.453 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 6.705e-05/0.7897, allocations: 116.1 kB / 1.016 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.193e-05/0.7898, allocations: 37.64 kB / 1.016 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.7898, allocations: 4.031 kB / 1.016 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.449e-05/0.7898, allocations: 11.2 kB / 1.016 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.7898, allocations: 0 / 1.016 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.7899, allocations: 0 / 1.016 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.7899, allocations: 7.953 kB / 1.016 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.79, allocations: 137.6 kB / 1.016 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.79, allocations: 0 / 1.016 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.796e-05/0.7901, allocations: 8 kB / 1.016 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.7901, allocations: 3.984 kB / 1.016 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.7901, allocations: 0 / 1.016 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.7901, allocations: 4 kB / 1.016 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.7901, allocations: 2.375 kB / 1.016 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.906e-05/0.7902, allocations: 134.4 kB / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.639e-05/0.7902, allocations: 81.02 kB / 1.017 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.7903, allocations: 4 kB / 1.017 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.704e-05/0.7903, allocations: 7.984 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.7904, allocations: 7.969 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.7904, allocations: 2.438 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.177e-05/0.7904, allocations: 83.27 kB / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7904, allocations: 0 / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000195/0.7906, allocations: 4 kB / 1.017 GB, free: 2.738 MB / 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.0003336/0.791, allocations: 0.6751 MB / 1.017 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.387e-05/0.7911, allocations: 7.5 kB / 1.017 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.7911, allocations: 0 / 1.017 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-05/0.7911, allocations: 7.938 kB / 1.017 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.7912, allocations: 10.33 kB / 1.017 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003097/0.7916, allocations: 93.47 kB / 1.017 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.7918, allocations: 0.6847 MB / 1.018 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.854e-05/0.7919, allocations: 4 kB / 1.018 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.7919, allocations: 10.44 kB / 1.018 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/0.7919, allocations: 0 / 1.018 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01555/0.8075, allocations: 0.7097 MB / 1.019 GB, free: 500 kB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/0.8077, allocations: 159.5 kB / 1.019 GB, free: 304 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.438/2.246, allocations: 5.25 kB / 1.019 GB, free: 300 kB / 0.6355 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)