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.IntegerReplicator.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.IntegerReplicator,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator",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.689/1.689, allocations: 288.2 MB / 303.2 MB, free: 8.141 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.001123/0.001123, allocations: 177.6 kB / 371.8 MB, free: 10.13 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.705/1.705, allocations: 205.4 MB / 0.6305 GB, free: 9.977 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009614/0.0009614, allocations: 100.1 kB / 0.7439 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000412/0.000412, allocations: 15.88 kB / 0.8669 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2843, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8626/1.147, allocations: 137.7 MB / 1.114 GB, free: 16.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/1.147, allocations: 74.64 kB / 1.114 GB, free: 16.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003027/1.15, allocations: 0.8144 MB / 1.115 GB, free: 31.92 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.505e-06/1.15, allocations: 0 / 1.115 GB, free: 31.92 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.19e-05/1.15, allocations: 0 / 1.115 GB, free: 31.92 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004833/1.151, allocations: 355.8 kB / 1.115 GB, free: 31.56 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/1.151, allocations: 15.64 kB / 1.115 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.582e-05/1.151, allocations: 36.06 kB / 1.115 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.782e-05/1.151, allocations: 3.875 kB / 1.115 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/1.151, allocations: 170.4 kB / 1.115 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/1.151, allocations: 3.5 kB / 1.115 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/1.151, allocations: 3.844 kB / 1.115 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/1.151, allocations: 75.31 kB / 1.115 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/1.151, allocations: 0 / 1.115 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/1.151, allocations: 3.875 kB / 1.115 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/1.151, allocations: 0 / 1.115 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000187/1.152, allocations: 62.97 kB / 1.116 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003959/1.152, allocations: 283.2 kB / 1.116 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/1.152, allocations: 50.34 kB / 1.116 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/1.152, allocations: 3.141 kB / 1.116 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/1.152, allocations: 30.56 kB / 1.116 GB, free: 30.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.133e-06/1.152, allocations: 0 / 1.116 GB, free: 30.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0004058/1.153, allocations: 110.3 kB / 1.116 GB, free: 30.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/1.153, allocations: 51.41 kB / 1.116 GB, free: 30.82 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/1.153, allocations: 104.8 kB / 1.116 GB, free: 30.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/1.153, allocations: 25.7 kB / 1.116 GB, free: 30.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.911e-05/1.153, allocations: 86.98 kB / 1.116 GB, free: 30.61 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/1.153, allocations: 8.031 kB / 1.116 GB, free: 30.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-06/1.153, allocations: 0 / 1.116 GB, free: 30.61 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001522/1.153, allocations: 317.6 kB / 1.117 GB, free: 30.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.029e-05/1.153, allocations: 20.55 kB / 1.117 GB, free: 30.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.599e-05/1.153, allocations: 22.89 kB / 1.117 GB, free: 30.29 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.751e-05/1.153, allocations: 28.36 kB / 1.117 GB, free: 30.29 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/1.153, allocations: 0 / 1.117 GB, free: 30.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002074/1.154, allocations: 85 kB / 1.117 GB, free: 30.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/1.154, allocations: 7.281 kB / 1.117 GB, free: 30.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/1.154, allocations: 3.938 kB / 1.117 GB, free: 30.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/1.154, allocations: 7.25 kB / 1.117 GB, free: 30.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/1.154, allocations: 11.8 kB / 1.117 GB, free: 30.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/1.154, allocations: 0 / 1.117 GB, free: 30.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.097e-05/1.154, allocations: 10.95 kB / 1.117 GB, free: 30.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/1.154, allocations: 3.953 kB / 1.117 GB, free: 30.24 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * 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 0.0001197/1.154, allocations: 113.2 kB / 1.117 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/1.154, allocations: 0 / 1.117 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.829e-05/1.154, allocations: 10.25 kB / 1.117 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/1.154, allocations: 0 / 1.117 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/1.154, allocations: 3.141 kB / 1.117 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/1.154, allocations: 0 / 1.117 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/1.154, allocations: 172.3 kB / 1.117 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/1.154, allocations: 0 / 1.117 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.915e-05/1.154, allocations: 17.14 kB / 1.117 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/1.154, allocations: 3.219 kB / 1.117 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/1.154, allocations: 2.578 kB / 1.117 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/1.154, allocations: 0 / 1.117 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.154, allocations: 0 / 1.117 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/1.155, allocations: 180.8 kB / 1.117 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/1.155, allocations: 80.11 kB / 1.117 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/1.155, allocations: 0 / 1.117 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.702e-05/1.155, allocations: 13.86 kB / 1.117 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/1.155, allocations: 6.438 kB / 1.117 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/1.155, allocations: 0 / 1.117 GB, free: 29.69 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.809e-05/1.155, allocations: 86.38 kB / 1.117 GB, free: 29.61 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.155, allocations: 0 / 1.117 GB, free: 29.61 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002118/1.155, allocations: 14.67 kB / 1.117 GB, free: 29.61 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * 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.0005826/1.156, allocations: 0.727 MB / 1.118 GB, free: 28.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002284/1.156, allocations: 53.58 kB / 1.118 GB, free: 28.93 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.156, allocations: 0 / 1.118 GB, free: 28.93 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.111e-05/1.156, allocations: 28.16 kB / 1.118 GB, free: 28.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/1.156, allocations: 7.984 kB / 1.118 GB, free: 28.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008568/1.157, allocations: 432 kB / 1.119 GB, free: 28.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/1.158, allocations: 0.684 MB / 1.119 GB, free: 27.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.145e-05/1.158, allocations: 3.875 kB / 1.119 GB, free: 27.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.4e-05/1.158, allocations: 13.14 kB / 1.119 GB, free: 27.89 MB / 0.698 GB Notification: Performance of SimCode: time 2.6e-07/1.158, allocations: 3.938 kB / 1.119 GB, free: 27.89 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01502/1.173, allocations: 1.222 MB / 1.12 GB, free: 27.75 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/1.173, allocations: 213.3 kB / 1.121 GB, free: 27.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.569/2.742, allocations: 0 / 1.121 GB, free: 27.5 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)