Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.687/2.687, allocations: 287.5 MB / 303.2 MB, free: 8.305 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.001995/0.001994, allocations: 176.5 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.017/2.017, allocations: 205.4 MB / 0.6305 GB, free: 10.55 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.0009452/0.0009451, allocations: 97.27 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004803/0.0004805, allocations: 11.66 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2234, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9369/1.16, allocations: 137.5 MB / 1.114 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/1.161, allocations: 74.59 kB / 1.114 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003573/1.164, allocations: 0.8201 MB / 1.114 GB, free: 31.55 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.436e-06/1.164, allocations: 0 / 1.114 GB, free: 31.55 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.014e-05/1.164, allocations: 1.859 kB / 1.114 GB, free: 31.55 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.0004665/1.165, allocations: 354.7 kB / 1.115 GB, free: 31.19 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/1.165, allocations: 11.38 kB / 1.115 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/1.165, allocations: 2.578 kB / 1.115 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/1.165, allocations: 172.1 kB / 1.115 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/1.165, allocations: 6.219 kB / 1.115 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/1.165, allocations: 384 / 1.115 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/1.165, allocations: 69.8 kB / 1.115 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/1.165, allocations: 192 / 1.115 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/1.165, allocations: 11.5 kB / 1.115 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/1.165, allocations: 0 / 1.115 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003135/1.166, allocations: 57.2 kB / 1.115 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004405/1.166, allocations: 284.4 kB / 1.115 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/1.166, allocations: 44.34 kB / 1.115 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/1.167, allocations: 36.25 kB / 1.115 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/1.167, allocations: 3.938 kB / 1.115 GB, free: 30.63 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/1.167, allocations: 34.95 kB / 1.116 GB, free: 30.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/1.167, allocations: 0 / 1.116 GB, free: 30.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0005725/1.167, allocations: 107.2 kB / 1.116 GB, free: 30.55 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/1.167, allocations: 51.41 kB / 1.116 GB, free: 30.49 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.542e-05/1.167, allocations: 110.1 kB / 1.116 GB, free: 30.39 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/1.167, allocations: 25.7 kB / 1.116 GB, free: 30.36 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.246e-05/1.168, allocations: 80.14 kB / 1.116 GB, free: 30.28 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/1.168, allocations: 9.234 kB / 1.116 GB, free: 30.28 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/1.168, allocations: 4.125 kB / 1.116 GB, free: 30.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001273/1.168, allocations: 318.6 kB / 1.116 GB, free: 29.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/1.168, allocations: 28.55 kB / 1.116 GB, free: 29.95 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/1.168, allocations: 17.38 kB / 1.116 GB, free: 29.95 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/1.168, allocations: 56.77 kB / 1.116 GB, free: 29.94 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.168, allocations: 0 / 1.116 GB, free: 29.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003484/1.169, allocations: 81.7 kB / 1.116 GB, free: 29.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/1.169, allocations: 7.719 kB / 1.116 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/1.169, allocations: 1.594 kB / 1.116 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/1.169, allocations: 0 / 1.116 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/1.169, allocations: 11.02 kB / 1.116 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.007e-05/1.169, allocations: 0 / 1.116 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.884e-05/1.169, allocations: 17.17 kB / 1.116 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/1.169, allocations: 9.203 kB / 1.116 GB, free: 29.89 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.0001125/1.169, allocations: 115.1 kB / 1.117 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/1.169, allocations: 3.906 kB / 1.117 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/1.169, allocations: 10.72 kB / 1.117 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/1.169, allocations: 0.875 kB / 1.117 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.169, allocations: 0 / 1.117 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/1.169, allocations: 1.312 kB / 1.117 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/1.17, allocations: 164.9 kB / 1.117 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.17, allocations: 4 kB / 1.117 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/1.17, allocations: 10.73 kB / 1.117 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/1.17, allocations: 256 / 1.117 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/1.17, allocations: 5.297 kB / 1.117 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/1.17, allocations: 4 kB / 1.117 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.17, allocations: 0 / 1.117 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004024/1.17, allocations: 181.4 kB / 1.117 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.051e-05/1.17, allocations: 78.84 kB / 1.117 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/1.17, allocations: 3.844 kB / 1.117 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/1.17, allocations: 10.5 kB / 1.117 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.786e-05/1.17, allocations: 11.33 kB / 1.117 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/1.171, allocations: 0 / 1.117 GB, free: 29.34 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.063e-05/1.171, allocations: 87.98 kB / 1.117 GB, free: 29.26 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.171, allocations: 0 / 1.117 GB, free: 29.26 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002987/1.171, allocations: 15.78 kB / 1.117 GB, free: 29.25 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.000144/1.171, allocations: 99.98 kB / 1.117 GB, free: 29.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003618/1.171, allocations: 62.41 kB / 1.117 GB, free: 29.15 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/1.171, allocations: 0 / 1.117 GB, free: 29.15 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001627/1.172, allocations: 24.72 kB / 1.117 GB, free: 29.15 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/1.172, allocations: 5.406 kB / 1.117 GB, free: 29.15 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003998/1.172, allocations: 135.7 kB / 1.117 GB, free: 29.03 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/1.173, allocations: 0.6812 MB / 1.118 GB, free: 28.33 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.24e-05/1.173, allocations: 2.625 kB / 1.118 GB, free: 28.33 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.413e-05/1.173, allocations: 11.28 kB / 1.118 GB, free: 28.32 MB / 0.698 GB Notification: Performance of SimCode: time 6.51e-07/1.173, allocations: 4 kB / 1.118 GB, free: 28.32 MB / 0.698 GB Notification: Performance of Templates: time 0.003065/1.176, allocations: 0.5004 MB / 1.119 GB, free: 28.27 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)