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.652/2.652, allocations: 287.5 MB / 302.4 MB, free: 8.301 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.001332/0.001332, allocations: 177.2 kB / 371 MB, free: 10.88 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.25/2.25, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0008943/0.0008941, allocations: 82.42 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007288/0.0007291, allocations: 11.41 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2721, allocations: 115.3 MB / 0.9784 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.0009188/0.2731, allocations: 377.8 kB / 0.9787 GB, free: 28.01 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.2742, allocations: 0.8205 MB / 0.9795 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.954e-05/0.2743, allocations: 0 / 0.9795 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.583e-05/0.2744, allocations: 4 kB / 0.9795 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.102e-05/0.2744, allocations: 3.938 kB / 0.9795 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.2746, allocations: 15.98 kB / 0.9795 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.578e-05/0.2747, allocations: 27.92 kB / 0.9796 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.2749, allocations: 8 kB / 0.9796 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.222e-05/0.2749, allocations: 11.92 kB / 0.9796 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.686e-05/0.275, allocations: 15.97 kB / 0.9796 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.275, allocations: 4 kB / 0.9796 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.395e-05/0.275, allocations: 7.938 kB / 0.9796 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.928e-05/0.2751, allocations: 15.92 kB / 0.9796 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.642e-05/0.2751, allocations: 25.7 kB / 0.9797 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.791e-05/0.2752, allocations: 23.95 kB / 0.9797 GB, free: 27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2752, allocations: 0 / 0.9797 GB, free: 27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2752, allocations: 0 / 0.9797 GB, free: 27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.2753, allocations: 0 / 0.9797 GB, free: 27 MB / 0.6198 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.0004929/0.2758, allocations: 351.5 kB / 0.98 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.2758, allocations: 8.031 kB / 0.98 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.2759, allocations: 4 kB / 0.98 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.276, allocations: 178.9 kB / 0.9802 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.276, allocations: 3.938 kB / 0.9802 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.2761, allocations: 4 kB / 0.9802 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002641/0.2763, allocations: 61.67 kB / 0.9803 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.2764, allocations: 0 / 0.9803 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.2764, allocations: 8 kB / 0.9803 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.2764, allocations: 7.984 kB / 0.9803 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003089/0.2767, allocations: 51.94 kB / 0.9803 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.2771, allocations: 280.8 kB / 0.9806 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.2774, allocations: 46.55 kB / 0.9806 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.2775, allocations: 32.91 kB / 0.9807 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.2776, allocations: 0 / 0.9807 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.2776, allocations: 30.56 kB / 0.9807 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.2776, allocations: 0 / 0.9807 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0005702/0.2782, allocations: 109.5 kB / 0.9808 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.2782, allocations: 59.34 kB / 0.9809 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.164e-05/0.2783, allocations: 101.9 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.2783, allocations: 29.64 kB / 0.981 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.922e-05/0.2784, allocations: 96 kB / 0.9811 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.2784, allocations: 7.906 kB / 0.9811 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-06/0.2784, allocations: 128 / 0.9811 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.293e-05/0.2785, allocations: 318.8 kB / 0.9814 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.2786, allocations: 19.98 kB / 0.9814 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.2788, allocations: 23.97 kB / 0.9814 GB, free: 25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.279, allocations: 28.05 kB / 0.9815 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.115e-06/0.279, allocations: 0 / 0.9815 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003401/0.2793, allocations: 81.59 kB / 0.9815 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.2794, allocations: 8.031 kB / 0.9815 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.2794, allocations: 0 / 0.9815 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.2794, allocations: 0 / 0.9815 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.2796, allocations: 15.98 kB / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.2796, allocations: 4.203 kB / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.131e-05/0.2797, allocations: 7.984 kB / 0.9816 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.2797, allocations: 8 kB / 0.9816 GB, free: 24.84 MB / 0.6198 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.0001265/0.2799, allocations: 113.8 kB / 0.9817 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.2799, allocations: 11.89 kB / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.486e-05/0.2799, allocations: 7.109 kB / 0.9817 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.28, allocations: 0 / 0.9817 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.28, allocations: 0 / 0.9817 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.28, allocations: 3.953 kB / 0.9817 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.2802, allocations: 165.7 kB / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2802, allocations: 0 / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.2803, allocations: 8 kB / 0.9819 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.2803, allocations: 11.98 kB / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.2803, allocations: 0 / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.2804, allocations: 0 / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2804, allocations: 0 / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003652/0.2807, allocations: 183.4 kB / 0.9821 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.512e-05/0.2808, allocations: 81.05 kB / 0.9821 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.2808, allocations: 0 / 0.9821 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.2809, allocations: 11.98 kB / 0.9822 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.256e-05/0.281, allocations: 7.984 kB / 0.9822 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.281, allocations: 4 kB / 0.9822 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.071e-05/0.2811, allocations: 79.28 kB / 0.9822 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2811, allocations: 4.031 kB / 0.9822 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002925/0.2814, allocations: 4 kB / 0.9822 GB, free: 24.07 MB / 0.6198 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.0001253/0.2815, allocations: 95.25 kB / 0.9823 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003535/0.2819, allocations: 55.95 kB / 0.9824 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.2819, allocations: 0 / 0.9824 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.2821, allocations: 39.84 kB / 0.9824 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.2824, allocations: 6.141 kB / 0.9824 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004276/0.2828, allocations: 132.7 kB / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/0.283, allocations: 0.677 MB / 0.9832 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.662e-05/0.2831, allocations: 7.984 kB / 0.9832 GB, free: 23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.806e-05/0.2831, allocations: 7.438 kB / 0.9832 GB, free: 23 MB / 0.6198 GB Notification: Performance of SimCode: time 1.202e-06/0.2831, allocations: 4 kB / 0.9832 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of Templates: time 0.003358/0.2865, allocations: 0.5053 MB / 0.9837 GB, free: 22.49 MB / 0.6198 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)