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.915/1.915, allocations: 289.9 MB / 297.4 MB, free: 6.418 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.001587/0.001587, allocations: 172.9 kB / 366.7 MB, free: 1.66 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.877/1.877, allocations: 205.2 MB / 0.626 GB, free: 7.188 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.0008345/0.0008346, allocations: 96.23 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.359e-05/2.352e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6609/0.661, allocations: 116.3 MB / 0.9734 GB, free: 76.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1818/0.8428, allocations: 137.8 MB / 1.108 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/0.8432, allocations: 71.95 kB / 1.108 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.001987/0.8452, allocations: 0.6195 MB / 1.109 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.402e-06/0.8452, allocations: 0.5312 kB / 1.109 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.8452, allocations: 0 / 1.109 GB, free: 11.78 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.0004068/0.8456, allocations: 340.2 kB / 1.109 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.8457, allocations: 12.45 kB / 1.109 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.8458, allocations: 12.77 kB / 1.109 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.846, allocations: 171 kB / 1.109 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.846, allocations: 0 / 1.109 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.846, allocations: 3.125 kB / 1.109 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.22e-05/0.8461, allocations: 19.25 kB / 1.109 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.236e-05/0.8462, allocations: 42.66 kB / 1.109 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.8462, allocations: 0 / 1.109 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.8462, allocations: 0.7188 kB / 1.109 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.8462, allocations: 0 / 1.109 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/0.8467, allocations: 252 kB / 1.109 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.027e-05/0.8468, allocations: 28.05 kB / 1.109 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.509e-05/0.8468, allocations: 12.91 kB / 1.109 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.8468, allocations: 0.625 kB / 1.109 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.8469, allocations: 31.06 kB / 1.109 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.8469, allocations: 1.312 kB / 1.109 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001452/0.847, allocations: 41.61 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.8471, allocations: 51.94 kB / 1.11 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.414e-05/0.8471, allocations: 93.5 kB / 1.11 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.8472, allocations: 25.7 kB / 1.11 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.8472, allocations: 89.16 kB / 1.11 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.8473, allocations: 7.906 kB / 1.11 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-06/0.8473, allocations: 0.9062 kB / 1.11 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.8474, allocations: 314.8 kB / 1.11 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.641e-05/0.8474, allocations: 5.969 kB / 1.11 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.078e-05/0.8474, allocations: 7.938 kB / 1.11 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.665e-05/0.8475, allocations: 4 kB / 1.11 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.8475, allocations: 1.219 kB / 1.11 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.093e-05/0.8475, allocations: 37.69 kB / 1.11 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.8476, allocations: 4.75 kB / 1.11 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.8476, allocations: 1.781 kB / 1.11 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.8476, allocations: 0 / 1.11 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.8477, allocations: 18.94 kB / 1.11 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.8477, allocations: 0 / 1.11 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.932e-05/0.8478, allocations: 9.469 kB / 1.11 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.8478, allocations: 0 / 1.11 GB, free: 10.01 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 6.92e-05/0.8479, allocations: 106.5 kB / 1.11 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.481e-05/0.848, allocations: 44.06 kB / 1.11 GB, free: 9.852 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.848, allocations: 4 kB / 1.11 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.626e-05/0.848, allocations: 9.031 kB / 1.11 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.848, allocations: 3.984 kB / 1.11 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.848, allocations: 0 / 1.11 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.8481, allocations: 4.156 kB / 1.11 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.8482, allocations: 146.2 kB / 1.11 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.8482, allocations: 1 kB / 1.11 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.633e-05/0.8483, allocations: 8 kB / 1.11 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.8483, allocations: 0 / 1.11 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.8483, allocations: 0 / 1.11 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.8483, allocations: 0 / 1.11 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.8483, allocations: 4 kB / 1.11 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.8484, allocations: 143.4 kB / 1.111 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.5e-05/0.8485, allocations: 79.42 kB / 1.111 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.8485, allocations: 0 / 1.111 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.94e-05/0.8486, allocations: 11.98 kB / 1.111 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.8486, allocations: 0 / 1.111 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.8486, allocations: 3.938 kB / 1.111 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.296e-05/0.8487, allocations: 79.28 kB / 1.111 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8487, allocations: 4.031 kB / 1.111 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002216/0.8489, allocations: 4 kB / 1.111 GB, free: 9.285 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.000396/0.8493, allocations: 0.6721 MB / 1.111 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.025e-05/0.8494, allocations: 12 kB / 1.111 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.8494, allocations: 96 / 1.111 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.738e-05/0.8494, allocations: 8 kB / 1.111 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.8496, allocations: 10.89 kB / 1.111 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003464/0.85, allocations: 92.22 kB / 1.112 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.8503, allocations: 0.6846 MB / 1.112 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.219e-05/0.8503, allocations: 4 kB / 1.112 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.943e-05/0.8504, allocations: 11.44 kB / 1.112 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.8504, allocations: 0 / 1.112 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0199/0.8703, allocations: 0.7083 MB / 1.113 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002878/0.8706, allocations: 146.3 kB / 1.113 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/2.43, allocations: 0 / 1.113 GB, free: 6.855 MB / 0.7136 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)