Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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.IntegerVectorReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",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.971/1.971, allocations: 289.9 MB / 297.4 MB, free: 6.363 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.001296/0.001296, allocations: 164.9 kB / 366.7 MB, free: 1.664 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.722/1.722, allocations: 205.2 MB / 0.626 GB, free: 7.152 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.0008027/0.0008028, allocations: 87.88 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.308e-05/2.311e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7846/0.7846, allocations: 116.3 MB / 0.9734 GB, free: 76.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2251/1.01, allocations: 138 MB / 1.108 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/1.01, allocations: 71.95 kB / 1.108 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003905/1.014, allocations: 1.237 MB / 1.109 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.212e-06/1.014, allocations: 0 / 1.109 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.471e-05/1.014, allocations: 4 kB / 1.109 GB, free: 10.95 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005252/1.015, allocations: 405.4 kB / 1.11 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/1.015, allocations: 8.031 kB / 1.11 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/1.015, allocations: 9.219 kB / 1.11 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/1.015, allocations: 193.2 kB / 1.11 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/1.015, allocations: 3.938 kB / 1.11 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/1.015, allocations: 4.531 kB / 1.11 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001747/1.015, allocations: 87.92 kB / 1.11 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/1.015, allocations: 121.3 kB / 1.11 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/1.015, allocations: 0 / 1.11 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/1.015, allocations: 0 / 1.11 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/1.015, allocations: 0.75 kB / 1.11 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005586/1.016, allocations: 422.2 kB / 1.111 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/1.016, allocations: 82.39 kB / 1.111 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.3e-05/1.016, allocations: 47.06 kB / 1.111 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/1.016, allocations: 4.141 kB / 1.111 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/1.016, allocations: 39.39 kB / 1.111 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/1.016, allocations: 1.219 kB / 1.111 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0002349/1.017, allocations: 97.53 kB / 1.111 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/1.017, allocations: 82.27 kB / 1.111 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/1.017, allocations: 114.8 kB / 1.111 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/1.017, allocations: 27.89 kB / 1.111 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/1.017, allocations: 102.7 kB / 1.111 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/1.017, allocations: 7.844 kB / 1.111 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-06/1.017, allocations: 0 / 1.111 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.017, allocations: 318.9 kB / 1.111 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.266e-05/1.017, allocations: 35.97 kB / 1.111 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.682e-05/1.017, allocations: 49.67 kB / 1.112 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.213e-05/1.017, allocations: 19.98 kB / 1.112 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/1.017, allocations: 4 kB / 1.112 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001443/1.017, allocations: 101.5 kB / 1.112 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/1.017, allocations: 9.25 kB / 1.112 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/1.017, allocations: 5.562 kB / 1.112 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/1.017, allocations: 0 / 1.112 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/1.018, allocations: 31.97 kB / 1.112 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/1.018, allocations: 0 / 1.112 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/1.018, allocations: 27.92 kB / 1.112 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/1.018, allocations: 0 / 1.112 GB, free: 8.328 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: 2 (intRep.u[1],intRep.u[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.17e-05/1.018, allocations: 109 kB / 1.112 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001652/1.018, allocations: 105.5 kB / 1.112 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/1.018, allocations: 0 / 1.112 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.055e-05/1.018, allocations: 11.97 kB / 1.112 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/1.018, allocations: 3.953 kB / 1.112 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/1.018, allocations: 0 / 1.112 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/1.018, allocations: 0 / 1.112 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/1.018, allocations: 170.2 kB / 1.112 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/1.018, allocations: 6.812 kB / 1.112 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/1.018, allocations: 27.97 kB / 1.112 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/1.019, allocations: 1.688 kB / 1.112 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/1.019, allocations: 11.92 kB / 1.112 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/1.019, allocations: 0 / 1.112 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/1.019, allocations: 0 / 1.112 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/1.019, allocations: 288.4 kB / 1.112 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/1.019, allocations: 85.03 kB / 1.113 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/1.019, allocations: 0 / 1.113 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/1.019, allocations: 23.97 kB / 1.113 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/1.019, allocations: 27.92 kB / 1.113 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/1.019, allocations: 4 kB / 1.113 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.45e-05/1.019, allocations: 97.8 kB / 1.113 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.11e-07/1.019, allocations: 0 / 1.113 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000266/1.019, allocations: 27.84 kB / 1.113 GB, free: 7.258 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: 2 (intRep.u[1],intRep.u[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0005311/1.02, allocations: 0.8798 MB / 1.114 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001481/1.02, allocations: 79.86 kB / 1.114 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.02, allocations: 0 / 1.114 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.556e-05/1.02, allocations: 55.95 kB / 1.114 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/1.021, allocations: 14 kB / 1.114 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005161/1.021, allocations: 175.6 kB / 1.114 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/1.021, allocations: 0.7079 MB / 1.115 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.38e-05/1.021, allocations: 19.92 kB / 1.115 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.927e-05/1.021, allocations: 23.42 kB / 1.115 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of SimCode: time 2.8e-07/1.021, allocations: 0 / 1.115 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/1.046, allocations: 1.601 MB / 1.116 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002219/1.047, allocations: 157.9 kB / 1.116 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/2.721, allocations: 0.5 kB / 1.116 GB, free: 3.48 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1)