Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.888/4.888, allocations: 0.5623 GB / 0.5769 GB, free: 3.285 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002373/0.002373, allocations: 362.2 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.385/4.385, allocations: 410.7 MB / 1.112 GB, free: 6.055 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001782/0.001782, allocations: 195 kB / 1.225 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005053/0.0005057, allocations: 12 kB / 1.348 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6277/0.6283, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.0006826/0.629, allocations: 374.6 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0008484/0.6299, allocations: 0.8127 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.718e-05/0.6299, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 6.359e-05/0.63, allocations: 8.5 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.024e-05/0.63, allocations: 11.92 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001338/0.6302, allocations: 16.58 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.569e-05/0.6303, allocations: 28.55 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.659e-05/0.6303, allocations: 10.28 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.526e-05/0.6304, allocations: 11.98 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.806e-05/0.6305, allocations: 15.92 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.6305, allocations: 3.984 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.22e-05/0.6305, allocations: 4 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.476e-05/0.6306, allocations: 0.5938 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.591e-05/0.6306, allocations: 37.64 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 5.69e-05/0.6307, allocations: 23.41 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.205e-06/0.6307, allocations: 4 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.74e-06/0.6307, allocations: 0 / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.321e-06/0.6307, allocations: 0 / 1.462 GB, free: 283 MB / 0.8542 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.0003792/0.6311, allocations: 341.4 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.6311, allocations: 15.62 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.6312, allocations: 5.359 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.6313, allocations: 176.2 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.6313, allocations: 4 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.6314, allocations: 4.688 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.6316, allocations: 70.78 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.084e-06/0.6316, allocations: 1.062 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.6316, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.6316, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002168/0.6319, allocations: 62.27 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.6322, allocations: 284.8 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.6324, allocations: 46.5 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.6325, allocations: 39.16 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.6325, allocations: 0 / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.6326, allocations: 30.56 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.849e-06/0.6326, allocations: 4 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0004218/0.633, allocations: 100.8 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.011e-05/0.633, allocations: 56.11 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.217e-05/0.6331, allocations: 106.3 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.733e-06/0.6331, allocations: 25.7 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.985e-05/0.6332, allocations: 89.83 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.6332, allocations: 3.906 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-06/0.6332, allocations: 3.938 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.061e-05/0.6333, allocations: 319.9 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.6334, allocations: 20.64 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.582e-05/0.6335, allocations: 29.31 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.6336, allocations: 22.39 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.232e-06/0.6336, allocations: 3.938 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002491/0.6339, allocations: 84.16 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.6339, allocations: 4 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.017e-06/0.6339, allocations: 0.5 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.634, allocations: 4.688 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.6341, allocations: 13.14 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.6341, allocations: 3.953 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.977e-05/0.6342, allocations: 12.73 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.646e-06/0.6342, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 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 9.522e-05/0.6343, allocations: 115.2 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.475e-05/0.6343, allocations: 0 / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.957e-05/0.6344, allocations: 9.062 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.59e-06/0.6344, allocations: 4 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.6344, allocations: 1.266 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.42e-06/0.6344, allocations: 3.953 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.6346, allocations: 165.6 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.88e-06/0.6346, allocations: 1.281 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.608e-05/0.6347, allocations: 16.23 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.217e-06/0.6347, allocations: 1.781 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.073e-06/0.6347, allocations: 4 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.112e-06/0.6347, allocations: 0 / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.6348, allocations: 7.984 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.635, allocations: 174.8 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.982e-05/0.6351, allocations: 81.89 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.6351, allocations: 0 / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.6352, allocations: 9.828 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.6353, allocations: 4 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.049e-06/0.6353, allocations: 3.938 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.02e-05/0.6353, allocations: 88.14 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.07e-07/0.6353, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002925/0.6356, allocations: 7.938 kB / 1.465 GB, free: 280.1 MB / 0.8542 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 8.484e-05/0.6357, allocations: 100.8 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002581/0.636, allocations: 50.61 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.537e-06/0.636, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.6362, allocations: 33.78 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.6365, allocations: 8.547 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003145/0.6368, allocations: 135 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.637, allocations: 0.6809 MB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.665e-05/0.637, allocations: 10.23 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/0.6371, allocations: 12.59 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of SimCode: time 1.478e-06/0.6371, allocations: 3.938 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of Templates: time 0.002776/0.6399, allocations: 0.4969 MB / 1.466 GB, free: 278.6 MB / 0.8542 GB