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.735/1.735, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.001547/0.001547, allocations: 184 kB / 377.1 MB, free: 1.531 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.612/1.612, allocations: 205.4 MB / 0.6366 GB, free: 8.617 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.0008335/0.0008337, allocations: 84.42 kB / 0.7509 GB, free: 63.06 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003832/0.0003832, allocations: 8 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2489, allocations: 116.3 MB / 0.9884 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7464/0.9954, allocations: 138.5 MB / 1.124 GB, free: 35.91 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/0.9956, allocations: 66.3 kB / 1.124 GB, free: 35.86 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002428/0.9981, allocations: 0.9138 MB / 1.125 GB, free: 35.16 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.404e-06/0.9981, allocations: 0 / 1.125 GB, free: 35.16 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.9981, allocations: 4.547 kB / 1.125 GB, free: 35.15 MB / 0.7292 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.0004541/0.9986, allocations: 392.6 kB / 1.125 GB, free: 34.75 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.9986, allocations: 16.02 kB / 1.125 GB, free: 34.73 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.616e-05/0.9987, allocations: 34.56 kB / 1.125 GB, free: 34.69 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/0.9987, allocations: 9.969 kB / 1.125 GB, free: 34.68 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.9989, allocations: 195.4 kB / 1.125 GB, free: 34.46 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.9989, allocations: 0.625 kB / 1.125 GB, free: 34.46 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.9989, allocations: 7.438 kB / 1.125 GB, free: 34.45 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003137/0.9992, allocations: 143.6 kB / 1.125 GB, free: 34.33 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.9993, allocations: 0.5469 kB / 1.125 GB, free: 34.33 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.9993, allocations: 4 kB / 1.125 GB, free: 34.32 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.9993, allocations: 4 kB / 1.125 GB, free: 34.32 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003492/0.9996, allocations: 154.5 kB / 1.126 GB, free: 34.21 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/1, allocations: 389.7 kB / 1.126 GB, free: 33.8 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/1, allocations: 105.7 kB / 1.126 GB, free: 33.7 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/1, allocations: 4 kB / 1.126 GB, free: 33.7 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/1, allocations: 30.56 kB / 1.126 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/1, allocations: 0 / 1.126 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0006284/1.001, allocations: 230.1 kB / 1.126 GB, free: 33.48 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/1.001, allocations: 77.86 kB / 1.126 GB, free: 33.39 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.807e-05/1.001, allocations: 109.6 kB / 1.127 GB, free: 33.28 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/1.001, allocations: 25.7 kB / 1.127 GB, free: 33.25 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.735e-05/1.001, allocations: 103.7 kB / 1.127 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/1.001, allocations: 11.89 kB / 1.127 GB, free: 33.13 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/1.001, allocations: 0 / 1.127 GB, free: 33.13 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.939e-05/1.001, allocations: 314.3 kB / 1.127 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/1.001, allocations: 70.05 kB / 1.127 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/1.002, allocations: 70.53 kB / 1.127 GB, free: 32.71 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/1.002, allocations: 64.56 kB / 1.127 GB, free: 32.67 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.002, allocations: 0 / 1.127 GB, free: 32.67 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003514/1.002, allocations: 163.6 kB / 1.127 GB, free: 32.54 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/1.002, allocations: 4 kB / 1.127 GB, free: 32.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/1.002, allocations: 0.6562 kB / 1.127 GB, free: 32.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/1.002, allocations: 0 / 1.127 GB, free: 32.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/1.002, allocations: 31.61 kB / 1.127 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/1.002, allocations: 6.812 kB / 1.127 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.366e-05/1.002, allocations: 22.92 kB / 1.127 GB, free: 32.49 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/1.002, allocations: 4 kB / 1.127 GB, free: 32.49 MB / 0.7292 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 () * Number of clocked 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 7.043e-05/1.003, allocations: 121.3 kB / 1.127 GB, free: 32.36 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.726e-05/1.003, allocations: 4.75 kB / 1.127 GB, free: 32.36 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/1.003, allocations: 11.53 kB / 1.127 GB, free: 32.35 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/1.003, allocations: 0.5156 kB / 1.127 GB, free: 32.35 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.003, allocations: 3.562 kB / 1.127 GB, free: 32.35 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/1.003, allocations: 7.953 kB / 1.127 GB, free: 32.34 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/1.003, allocations: 172.6 kB / 1.128 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/1.003, allocations: 4 kB / 1.128 GB, free: 32.13 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/1.003, allocations: 22.75 kB / 1.128 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/1.003, allocations: 5.781 kB / 1.128 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/1.003, allocations: 4.438 kB / 1.128 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/1.003, allocations: 3.422 kB / 1.128 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/1.003, allocations: 4 kB / 1.128 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003949/1.003, allocations: 338.7 kB / 1.128 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.295e-05/1.003, allocations: 88.67 kB / 1.128 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/1.003, allocations: 4.656 kB / 1.128 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/1.004, allocations: 23.03 kB / 1.128 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.966e-05/1.004, allocations: 7.609 kB / 1.128 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/1.004, allocations: 4 kB / 1.128 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.282e-05/1.004, allocations: 91.92 kB / 1.128 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.004, allocations: 0 / 1.128 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002371/1.004, allocations: 12.59 kB / 1.128 GB, free: 31.56 MB / 0.7292 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 () * Number of clocked 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.0005936/1.005, allocations: 0.9438 MB / 1.129 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003734/1.005, allocations: 130 kB / 1.129 GB, free: 30.53 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.005, allocations: 4.125 kB / 1.129 GB, free: 30.53 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001716/1.005, allocations: 73.19 kB / 1.129 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/1.005, allocations: 17.75 kB / 1.129 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/1.006, allocations: 0.7706 MB / 1.13 GB, free: 29.72 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/1.007, allocations: 0.6994 MB / 1.131 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.106e-05/1.007, allocations: 12.59 kB / 1.131 GB, free: 29 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.474e-05/1.007, allocations: 15.44 kB / 1.131 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of SimCode: time 3.51e-07/1.007, allocations: 3.938 kB / 1.131 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01177/1.019, allocations: 1.495 MB / 1.132 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001482/1.019, allocations: 194.3 kB / 1.132 GB, free: 27.96 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/2.722, allocations: 0 / 1.132 GB, free: 27.96 MB / 0.7292 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)