Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.64/1.64, allocations: 289.7 MB / 302.2 MB, free: 2.164 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.00109/0.00109, allocations: 182.9 kB / 371.6 MB, free: 3.379 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.678/1.678, allocations: 205.2 MB / 0.6309 GB, free: 11.78 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.001046/0.001046, allocations: 90.69 kB / 0.745 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.548e-05/4.55e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3283, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9704/1.299, allocations: 138.6 MB / 1.115 GB, free: 45.01 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/1.299, allocations: 69.91 kB / 1.115 GB, free: 44.98 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002152/1.301, allocations: 0.8114 MB / 1.116 GB, free: 44.4 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.064e-06/1.301, allocations: 0 / 1.116 GB, free: 44.4 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.688e-06/1.301, allocations: 0.5312 kB / 1.116 GB, free: 44.4 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00032/1.302, allocations: 347.9 kB / 1.116 GB, free: 44.04 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/1.302, allocations: 8.688 kB / 1.116 GB, free: 44.03 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.195e-05/1.302, allocations: 6.312 kB / 1.116 GB, free: 44.03 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/1.302, allocations: 171.9 kB / 1.117 GB, free: 43.83 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/1.302, allocations: 6.531 kB / 1.117 GB, free: 43.83 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/1.302, allocations: 7.266 kB / 1.117 GB, free: 43.82 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/1.302, allocations: 55.2 kB / 1.117 GB, free: 43.77 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/1.302, allocations: 6.359 kB / 1.117 GB, free: 43.77 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/1.302, allocations: 0 / 1.117 GB, free: 43.77 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/1.302, allocations: 0 / 1.117 GB, free: 43.77 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.863e-05/1.302, allocations: 21.33 kB / 1.117 GB, free: 43.76 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/1.303, allocations: 283.2 kB / 1.117 GB, free: 43.47 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.654e-05/1.303, allocations: 28.7 kB / 1.117 GB, free: 43.44 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.668e-05/1.303, allocations: 12.86 kB / 1.117 GB, free: 43.43 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/1.303, allocations: 4.656 kB / 1.117 GB, free: 43.42 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/1.303, allocations: 36.83 kB / 1.117 GB, free: 43.38 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/1.303, allocations: 0 / 1.117 GB, free: 43.38 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001633/1.303, allocations: 45.52 kB / 1.117 GB, free: 43.34 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/1.303, allocations: 51.41 kB / 1.117 GB, free: 43.27 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.977e-05/1.303, allocations: 102.2 kB / 1.117 GB, free: 43.18 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/1.303, allocations: 29.73 kB / 1.117 GB, free: 43.14 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.088e-05/1.303, allocations: 95.25 kB / 1.117 GB, free: 43.05 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.232e-05/1.303, allocations: 0 / 1.117 GB, free: 43.05 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-06/1.303, allocations: 0 / 1.117 GB, free: 43.05 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.519e-05/1.303, allocations: 318.2 kB / 1.118 GB, free: 42.74 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.728e-05/1.303, allocations: 4 kB / 1.118 GB, free: 42.73 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.451e-05/1.303, allocations: 7.875 kB / 1.118 GB, free: 42.73 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.046e-05/1.303, allocations: 4.656 kB / 1.118 GB, free: 42.73 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.303, allocations: 8.062 kB / 1.118 GB, free: 42.72 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.711e-05/1.303, allocations: 52.19 kB / 1.118 GB, free: 42.67 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/1.303, allocations: 4 kB / 1.118 GB, free: 42.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/1.303, allocations: 0 / 1.118 GB, free: 42.67 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/1.303, allocations: 3.938 kB / 1.118 GB, free: 42.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/1.303, allocations: 11.38 kB / 1.118 GB, free: 42.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/1.303, allocations: 0.5625 kB / 1.118 GB, free: 42.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.755e-05/1.303, allocations: 11.52 kB / 1.118 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/1.304, allocations: 7.984 kB / 1.118 GB, free: 42.64 MB / 0.7448 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 () * 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 5.343e-05/1.304, allocations: 107.6 kB / 1.118 GB, free: 42.53 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/1.304, allocations: 0.7031 kB / 1.118 GB, free: 42.53 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.252e-05/1.304, allocations: 10.14 kB / 1.118 GB, free: 42.53 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/1.304, allocations: 1.656 kB / 1.118 GB, free: 42.53 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/1.304, allocations: 0 / 1.118 GB, free: 42.53 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/1.304, allocations: 4 kB / 1.118 GB, free: 42.52 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/1.304, allocations: 168.1 kB / 1.118 GB, free: 42.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/1.304, allocations: 0 / 1.118 GB, free: 42.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.117e-05/1.304, allocations: 17.2 kB / 1.118 GB, free: 42.31 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/1.304, allocations: 0 / 1.118 GB, free: 42.31 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/1.304, allocations: 0 / 1.118 GB, free: 42.31 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/1.304, allocations: 0 / 1.118 GB, free: 42.31 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/1.304, allocations: 0.75 kB / 1.118 GB, free: 42.31 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.378e-05/1.304, allocations: 150.8 kB / 1.118 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.169e-05/1.304, allocations: 88.42 kB / 1.118 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/1.304, allocations: 0.5 kB / 1.118 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.701e-05/1.304, allocations: 8 kB / 1.118 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/1.304, allocations: 7 kB / 1.118 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/1.304, allocations: 0.75 kB / 1.118 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.536e-05/1.304, allocations: 90.95 kB / 1.118 GB, free: 41.97 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.304, allocations: 1.031 kB / 1.118 GB, free: 41.97 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002222/1.304, allocations: 7.938 kB / 1.118 GB, free: 41.96 MB / 0.7448 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 () * 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.0001517/1.305, allocations: 104.9 kB / 1.118 GB, free: 41.85 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.217e-05/1.305, allocations: 19.23 kB / 1.118 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/1.305, allocations: 0 / 1.118 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.785e-05/1.305, allocations: 15.88 kB / 1.118 GB, free: 41.83 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/1.305, allocations: 3.953 kB / 1.118 GB, free: 41.82 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002107/1.305, allocations: 74.3 kB / 1.119 GB, free: 41.74 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/1.305, allocations: 0.6844 MB / 1.119 GB, free: 41.04 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.608e-05/1.305, allocations: 7.938 kB / 1.119 GB, free: 41.03 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/1.305, allocations: 11.31 kB / 1.119 GB, free: 41.03 MB / 0.7448 GB Notification: Performance of SimCode: time 3.31e-07/1.305, allocations: 0 / 1.119 GB, free: 41.03 MB / 0.7448 GB Notification: Performance of Templates: time 0.002273/1.308, allocations: 0.512 MB / 1.12 GB, free: 40.75 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)