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.628/1.628, allocations: 289.7 MB / 302.2 MB, free: 2.156 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.001025/0.001025, allocations: 183.5 kB / 371.6 MB, free: 3.34 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.479/1.479, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009979/0.0009974, allocations: 88.98 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.018e-05/5.03e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3037, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9519/1.256, allocations: 138.6 MB / 1.115 GB, free: 44.84 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/1.256, allocations: 70.36 kB / 1.115 GB, free: 44.81 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.004448/1.26, allocations: 1.24 MB / 1.117 GB, free: 44 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.397e-06/1.261, allocations: 0 / 1.117 GB, free: 44 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.236e-05/1.261, allocations: 8 kB / 1.117 GB, free: 43.99 MB / 0.7448 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.0006285/1.261, allocations: 392.8 kB / 1.117 GB, free: 43.59 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/1.261, allocations: 8.031 kB / 1.117 GB, free: 43.59 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.021e-05/1.261, allocations: 41.67 kB / 1.117 GB, free: 43.54 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.753e-05/1.261, allocations: 14.41 kB / 1.117 GB, free: 43.53 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/1.262, allocations: 197.7 kB / 1.117 GB, free: 43.31 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.395e-05/1.262, allocations: 8.484 kB / 1.117 GB, free: 43.31 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/1.262, allocations: 7.812 kB / 1.117 GB, free: 43.3 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/1.262, allocations: 126.2 kB / 1.117 GB, free: 43.21 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/1.262, allocations: 0 / 1.117 GB, free: 43.21 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/1.262, allocations: 0 / 1.117 GB, free: 43.21 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/1.262, allocations: 4 kB / 1.117 GB, free: 43.21 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/1.262, allocations: 93.39 kB / 1.117 GB, free: 43.16 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000713/1.263, allocations: 454.6 kB / 1.118 GB, free: 42.73 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/1.263, allocations: 86.98 kB / 1.118 GB, free: 42.66 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.792e-05/1.263, allocations: 44.33 kB / 1.118 GB, free: 42.62 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/1.263, allocations: 4.641 kB / 1.118 GB, free: 42.62 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/1.263, allocations: 34.56 kB / 1.118 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.753e-06/1.263, allocations: 0 / 1.118 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0002958/1.264, allocations: 102.6 kB / 1.118 GB, free: 42.5 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/1.264, allocations: 88.52 kB / 1.118 GB, free: 42.4 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/1.264, allocations: 116.8 kB / 1.118 GB, free: 42.29 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/1.264, allocations: 25.7 kB / 1.118 GB, free: 42.25 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.298e-05/1.264, allocations: 96.09 kB / 1.118 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/1.264, allocations: 11.66 kB / 1.118 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/1.264, allocations: 0 / 1.118 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.246e-05/1.264, allocations: 318.8 kB / 1.119 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.7e-05/1.264, allocations: 33.58 kB / 1.119 GB, free: 41.82 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.675e-05/1.264, allocations: 48.58 kB / 1.119 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.578e-05/1.264, allocations: 26.92 kB / 1.119 GB, free: 41.77 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.264, allocations: 0 / 1.119 GB, free: 41.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001587/1.264, allocations: 106.2 kB / 1.119 GB, free: 41.69 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/1.265, allocations: 5.5 kB / 1.119 GB, free: 41.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/1.265, allocations: 7.375 kB / 1.119 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/1.265, allocations: 8.625 kB / 1.119 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/1.265, allocations: 26.94 kB / 1.119 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/1.265, allocations: 0 / 1.119 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/1.265, allocations: 26.53 kB / 1.119 GB, free: 41.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-06/1.265, allocations: 0.8438 kB / 1.119 GB, free: 41.64 MB / 0.7448 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 7.233e-05/1.265, allocations: 114.3 kB / 1.119 GB, free: 41.53 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.669e-05/1.265, allocations: 0 / 1.119 GB, free: 41.53 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.853e-05/1.265, allocations: 15.72 kB / 1.119 GB, free: 41.52 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/1.265, allocations: 0 / 1.119 GB, free: 41.52 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/1.265, allocations: 8.203 kB / 1.119 GB, free: 41.52 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/1.265, allocations: 4 kB / 1.119 GB, free: 41.51 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/1.265, allocations: 191.2 kB / 1.119 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/1.265, allocations: 0 / 1.119 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/1.266, allocations: 35.7 kB / 1.119 GB, free: 41.28 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/1.266, allocations: 1.594 kB / 1.119 GB, free: 41.28 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/1.266, allocations: 7.938 kB / 1.119 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/1.266, allocations: 0 / 1.119 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.266, allocations: 0.5625 kB / 1.119 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/1.266, allocations: 284.6 kB / 1.12 GB, free: 41.01 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.484e-05/1.266, allocations: 88.95 kB / 1.12 GB, free: 40.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/1.266, allocations: 8.594 kB / 1.12 GB, free: 40.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/1.266, allocations: 23.42 kB / 1.12 GB, free: 40.88 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.996e-05/1.266, allocations: 25.92 kB / 1.12 GB, free: 40.87 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/1.266, allocations: 0 / 1.12 GB, free: 40.87 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.728e-05/1.266, allocations: 95.44 kB / 1.12 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.266, allocations: 4.75 kB / 1.12 GB, free: 40.78 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002546/1.266, allocations: 23.94 kB / 1.12 GB, free: 40.76 MB / 0.7448 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.0005195/1.267, allocations: 0.8911 MB / 1.121 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000153/1.267, allocations: 77.34 kB / 1.121 GB, free: 39.84 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.267, allocations: 0 / 1.121 GB, free: 39.84 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.262e-05/1.267, allocations: 64.86 kB / 1.121 GB, free: 39.8 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/1.268, allocations: 9.078 kB / 1.121 GB, free: 39.79 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005052/1.268, allocations: 178.2 kB / 1.121 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/1.268, allocations: 0.7104 MB / 1.122 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.686e-05/1.268, allocations: 15.47 kB / 1.122 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.495e-05/1.268, allocations: 24.34 kB / 1.122 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of SimCode: time 5.61e-07/1.268, allocations: 0 / 1.122 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01647/1.285, allocations: 1.981 MB / 1.124 GB, free: 37.81 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000203/1.285, allocations: 171 kB / 1.124 GB, free: 37.59 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/3.065, allocations: 0 / 1.124 GB, free: 37.59 MB / 0.7448 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)