Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.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.RealVectorReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",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.743/1.743, allocations: 289.9 MB / 297.4 MB, free: 6.43 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.00154/0.00154, allocations: 176.8 kB / 366.7 MB, free: 1.691 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.935/1.935, allocations: 205.2 MB / 0.626 GB, free: 7.191 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.0007975/0.0007976, allocations: 89.05 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.012e-05/4.003e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7121/0.7122, allocations: 116.3 MB / 0.9734 GB, free: 76.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1838/0.896, allocations: 137.8 MB / 1.108 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001995/0.8963, allocations: 71.95 kB / 1.108 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.002486/0.8988, allocations: 0.9116 MB / 1.109 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8988, allocations: 4.969 kB / 1.109 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.8988, allocations: 3.5 kB / 1.109 GB, free: 11.45 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004388/0.8992, allocations: 385 kB / 1.109 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.8993, allocations: 8.781 kB / 1.109 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.8993, allocations: 7.906 kB / 1.109 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.8995, allocations: 188.4 kB / 1.109 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.8995, allocations: 7.562 kB / 1.109 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.8996, allocations: 0 / 1.109 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001266/0.8997, allocations: 67.88 kB / 1.11 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.8998, allocations: 92.66 kB / 1.11 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.8998, allocations: 0 / 1.11 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.8999, allocations: 5.016 kB / 1.11 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.8999, allocations: 0 / 1.11 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003764/0.9003, allocations: 372.5 kB / 1.11 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.627e-05/0.9003, allocations: 61.66 kB / 1.11 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.341e-05/0.9004, allocations: 40.41 kB / 1.11 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.9005, allocations: 0 / 1.11 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.9005, allocations: 30.56 kB / 1.11 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.9005, allocations: 0 / 1.11 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.000179/0.9007, allocations: 78.94 kB / 1.11 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.9007, allocations: 85.11 kB / 1.11 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.639e-05/0.9008, allocations: 110.4 kB / 1.11 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.9008, allocations: 25.7 kB / 1.11 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.46e-05/0.9009, allocations: 96.97 kB / 1.11 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.9009, allocations: 7.844 kB / 1.11 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.9009, allocations: 0 / 1.11 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.901, allocations: 321.5 kB / 1.111 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.448e-05/0.9011, allocations: 28.03 kB / 1.111 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.73e-05/0.9011, allocations: 33.69 kB / 1.111 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.045e-05/0.9012, allocations: 17.77 kB / 1.111 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.9012, allocations: 0 / 1.111 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001025/0.9013, allocations: 81.5 kB / 1.111 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.9013, allocations: 5.25 kB / 1.111 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.9013, allocations: 8.125 kB / 1.111 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.9013, allocations: 0 / 1.111 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.9015, allocations: 23.97 kB / 1.111 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.9015, allocations: 2.062 kB / 1.111 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.9016, allocations: 27.97 kB / 1.111 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.9016, allocations: 3.953 kB / 1.111 GB, free: 9.07 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.469e-05/0.9017, allocations: 105 kB / 1.111 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001335/0.9018, allocations: 77.59 kB / 1.111 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/0.9019, allocations: 7.906 kB / 1.111 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.488e-05/0.9019, allocations: 7.953 kB / 1.111 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.9019, allocations: 4 kB / 1.111 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.9019, allocations: 3.953 kB / 1.111 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.9019, allocations: 0 / 1.111 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.9021, allocations: 150.2 kB / 1.111 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.9021, allocations: 4.062 kB / 1.111 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.9023, allocations: 25.38 kB / 1.111 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.9023, allocations: 4 kB / 1.111 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.607e-06/0.9023, allocations: 0 / 1.111 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.9023, allocations: 3.984 kB / 1.111 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.9023, allocations: 1.125 kB / 1.111 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.9025, allocations: 268.3 kB / 1.112 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.702e-05/0.9025, allocations: 81.02 kB / 1.112 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.9026, allocations: 4 kB / 1.112 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.9027, allocations: 19.97 kB / 1.112 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.9028, allocations: 15.94 kB / 1.112 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.9028, allocations: 4.031 kB / 1.112 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.112e-05/0.9028, allocations: 97.23 kB / 1.112 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9029, allocations: 0 / 1.112 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002416/0.9031, allocations: 8 kB / 1.112 GB, free: 8.109 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0005026/0.9036, allocations: 0.8581 MB / 1.113 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001133/0.9037, allocations: 47.95 kB / 1.113 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.9037, allocations: 0 / 1.113 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.528e-05/0.9038, allocations: 39.95 kB / 1.113 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.904, allocations: 11.89 kB / 1.113 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004205/0.9045, allocations: 149.2 kB / 1.113 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.9047, allocations: 0.7048 MB / 1.114 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.305e-05/0.9048, allocations: 7.984 kB / 1.114 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.442e-05/0.9048, allocations: 23.19 kB / 1.114 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of SimCode: time 2.81e-07/0.9049, allocations: 0 / 1.114 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01884/0.9237, allocations: 1.123 MB / 1.115 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/0.924, allocations: 155.9 kB / 1.115 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.521/2.445, allocations: 0 / 1.115 GB, free: 4.91 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1)