Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.207/2.207, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002723/0.002723, allocations: 185.7 kB / 325.6 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.515/2.515, allocations: 205.4 MB / 0.5766 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 92.59 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004909/0.0004909, allocations: 12.16 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2927, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2258/0.5186, allocations: 131.4 MB / 1.027 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.5189, allocations: 71.95 kB / 1.027 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003257/0.5222, allocations: 0.8328 MB / 1.028 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5222, allocations: 0 / 1.028 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.956e-06/0.5222, allocations: 0 / 1.028 GB, free: 12.97 MB / 0.6823 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.0004965/0.5227, allocations: 359.2 kB / 1.028 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.5228, allocations: 8.031 kB / 1.028 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.5229, allocations: 11.89 kB / 1.028 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.523, allocations: 179 kB / 1.029 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/0.5231, allocations: 0 / 1.029 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.5231, allocations: 8 kB / 1.029 GB, free: 12.33 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/0.5234, allocations: 69.59 kB / 1.029 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.5234, allocations: 0 / 1.029 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.5235, allocations: 3.984 kB / 1.029 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.5235, allocations: 4 kB / 1.029 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003391/0.5238, allocations: 55.95 kB / 1.029 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004815/0.5243, allocations: 276.7 kB / 1.029 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.5246, allocations: 50.55 kB / 1.029 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.5246, allocations: 0 / 1.029 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.5246, allocations: 34.56 kB / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.5246, allocations: 0 / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0005938/0.5252, allocations: 109.6 kB / 1.029 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.5253, allocations: 51.41 kB / 1.029 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.115e-05/0.5254, allocations: 101.1 kB / 1.029 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.5254, allocations: 29.7 kB / 1.029 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.955e-05/0.5255, allocations: 87.98 kB / 1.029 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.5255, allocations: 4 kB / 1.029 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.296e-06/0.5255, allocations: 4 kB / 1.029 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.5256, allocations: 310.8 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.5258, allocations: 27.97 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.526, allocations: 27.92 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.5262, allocations: 23.97 kB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5262, allocations: 0 / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003708/0.5266, allocations: 85.62 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.5266, allocations: 4 kB / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.5266, allocations: 3.938 kB / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.5266, allocations: 4 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.5268, allocations: 11.98 kB / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.5268, allocations: 3.953 kB / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.898e-05/0.5269, allocations: 8.281 kB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.5269, allocations: 4 kB / 1.03 GB, free: 10.84 MB / 0.6823 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.0001004/0.5271, allocations: 115.4 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.5271, allocations: 4 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.938e-05/0.5271, allocations: 11.12 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.5272, allocations: 0 / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.5272, allocations: 0 / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.5272, allocations: 7.953 kB / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.5274, allocations: 161.7 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.5274, allocations: 0 / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.5275, allocations: 19.92 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.5276, allocations: 0 / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.5276, allocations: 0 / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.5276, allocations: 0 / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5276, allocations: 0 / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004136/0.528, allocations: 183.4 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.674e-05/0.5281, allocations: 85 kB / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.5281, allocations: 0 / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.5283, allocations: 12.03 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.5283, allocations: 11.98 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.5283, allocations: 0 / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.813e-05/0.5284, allocations: 83.27 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/0.5284, allocations: 0 / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002964/0.5287, allocations: 11.94 kB / 1.031 GB, free: 10.05 MB / 0.6823 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.0001507/0.5289, allocations: 99.25 kB / 1.031 GB, free: 9.945 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003699/0.5293, allocations: 51.95 kB / 1.031 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.5293, allocations: 0 / 1.031 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.5295, allocations: 31.92 kB / 1.031 GB, free: 9.863 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.5297, allocations: 14.25 kB / 1.031 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003874/0.5301, allocations: 132.6 kB / 1.031 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.5304, allocations: 0.6809 MB / 1.032 GB, free: 8.988 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.414e-05/0.5304, allocations: 3.984 kB / 1.032 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.5305, allocations: 15.44 kB / 1.032 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of SimCode: time 6.11e-07/0.5305, allocations: 0 / 1.032 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of Templates: time 0.003171/0.5337, allocations: 0.4941 MB / 1.032 GB, free: 8.477 MB / 0.6823 GB