Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.611/1.611, allocations: 285.4 MB / 298 MB, free: 5.973 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.001288/0.001288, allocations: 188.8 kB / 366.4 MB, free: 2.082 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.988/1.988, allocations: 205.1 MB / 0.6248 GB, free: 7.738 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.0008275/0.0008276, allocations: 92.77 kB / 0.738 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.168e-05/4.17e-05, allocations: 11.98 kB / 0.8584 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7334/0.7334, allocations: 115.3 MB / 0.971 GB, free: 77.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1949/0.9284, allocations: 137.4 MB / 1.105 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.9287, allocations: 67.97 kB / 1.105 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.001734/0.9305, allocations: 0.6239 MB / 1.106 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.506e-06/0.9305, allocations: 0 / 1.106 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.9305, allocations: 10.84 kB / 1.106 GB, free: 13.64 MB / 0.7136 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.0003511/0.9309, allocations: 345.9 kB / 1.106 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.608e-05/0.931, allocations: 13.06 kB / 1.106 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.776e-05/0.931, allocations: 30.56 kB / 1.106 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.829e-05/0.9311, allocations: 6.688 kB / 1.106 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.9313, allocations: 179 kB / 1.106 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.9313, allocations: 0 / 1.106 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.9313, allocations: 4 kB / 1.106 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.9314, allocations: 43.33 kB / 1.106 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.393e-06/0.9314, allocations: 0 / 1.106 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.9315, allocations: 0 / 1.106 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.9315, allocations: 4.891 kB / 1.106 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.767e-05/0.9315, allocations: 19.92 kB / 1.107 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004417/0.932, allocations: 276.9 kB / 1.107 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.46e-05/0.932, allocations: 21.52 kB / 1.107 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.614e-05/0.9321, allocations: 12.92 kB / 1.107 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.9321, allocations: 0 / 1.107 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.9321, allocations: 34.5 kB / 1.107 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.9321, allocations: 0 / 1.107 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001458/0.9323, allocations: 45.59 kB / 1.107 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.9323, allocations: 52.56 kB / 1.107 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.663e-05/0.9324, allocations: 94.77 kB / 1.107 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.9324, allocations: 26.61 kB / 1.107 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.153e-05/0.9325, allocations: 88.14 kB / 1.107 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.9325, allocations: 4.438 kB / 1.107 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/0.9325, allocations: 0.5 kB / 1.107 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.9327, allocations: 315.5 kB / 1.107 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.915e-05/0.9327, allocations: 10.44 kB / 1.107 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.072e-05/0.9327, allocations: 0 / 1.107 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2e-05/0.9328, allocations: 4 kB / 1.107 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.9328, allocations: 7.219 kB / 1.107 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.004e-05/0.9328, allocations: 37.7 kB / 1.108 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.9329, allocations: 6.312 kB / 1.108 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.9329, allocations: 4 kB / 1.108 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.9329, allocations: 3.984 kB / 1.108 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.252e-05/0.933, allocations: 4 kB / 1.108 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.933, allocations: 4 kB / 1.108 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.388e-05/0.9331, allocations: 13.73 kB / 1.108 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.9331, allocations: 3.953 kB / 1.108 GB, free: 11.78 MB / 0.7136 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 7.272e-05/0.9332, allocations: 107.7 kB / 1.108 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.9332, allocations: 0 / 1.108 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/0.9332, allocations: 8.812 kB / 1.108 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.9332, allocations: 3.125 kB / 1.108 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.9332, allocations: 0 / 1.108 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.9332, allocations: 0 / 1.108 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.9334, allocations: 165.6 kB / 1.108 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.9334, allocations: 0 / 1.108 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.93e-05/0.9335, allocations: 12.98 kB / 1.108 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.9335, allocations: 0 / 1.108 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.9335, allocations: 0.5938 kB / 1.108 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.9335, allocations: 3.938 kB / 1.108 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.9335, allocations: 3.219 kB / 1.108 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.9337, allocations: 131.5 kB / 1.108 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-05/0.9337, allocations: 89 kB / 1.108 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.9337, allocations: 0.5 kB / 1.108 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.545e-05/0.9338, allocations: 8.156 kB / 1.108 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.9339, allocations: 7.984 kB / 1.108 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.9339, allocations: 0 / 1.108 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.375e-05/0.9339, allocations: 85.59 kB / 1.108 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.482e-06/0.9339, allocations: 1.688 kB / 1.108 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002116/0.9342, allocations: 7.938 kB / 1.108 GB, free: 11.08 MB / 0.7136 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.000413/0.9346, allocations: 0.6734 MB / 1.109 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.575e-05/0.9347, allocations: 8 kB / 1.109 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.9347, allocations: 0 / 1.109 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.136e-05/0.9347, allocations: 8 kB / 1.109 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.9349, allocations: 0 / 1.109 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000381/0.9353, allocations: 101.1 kB / 1.109 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.9356, allocations: 0.6848 MB / 1.11 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.189e-05/0.9356, allocations: 4 kB / 1.11 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.145e-05/0.9356, allocations: 15.42 kB / 1.11 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of SimCode: time 6.41e-07/0.9356, allocations: 0 / 1.11 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01231/0.948, allocations: 1.031 MB / 1.111 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002687/0.9483, allocations: 177.8 kB / 1.111 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.463/2.411, allocations: 0 / 1.111 GB, free: 8.43 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe 2>&1)