Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.457/1.457, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 183 kB / 327.6 MB, free: 2.082 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.733/1.733, allocations: 205.4 MB / 0.5786 GB, free: 20.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 95.16 kB / 0.6832 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.0003451, allocations: 9.062 kB / 0.7976 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2267, allocations: 106.3 MB / 0.9015 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.001456/0.2282, allocations: 1.077 MB / 0.9025 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003276/0.2286, allocations: 148.4 kB / 0.9027 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.466e-05/0.2286, allocations: 0 / 0.9027 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.463e-05/0.2287, allocations: 0 / 0.9027 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.244e-05/0.2288, allocations: 7.922 kB / 0.9027 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.2289, allocations: 19.98 kB / 0.9027 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.476e-05/0.229, allocations: 27.98 kB / 0.9027 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.2291, allocations: 15.94 kB / 0.9027 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.783e-05/0.2292, allocations: 11.92 kB / 0.9027 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.333e-05/0.2292, allocations: 19.91 kB / 0.9028 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.887e-05/0.2293, allocations: 0 / 0.9028 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.26e-05/0.2293, allocations: 4 kB / 0.9028 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.313e-05/0.2293, allocations: 0 / 0.9028 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.482e-05/0.2294, allocations: 45.56 kB / 0.9028 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.479e-05/0.2295, allocations: 23.95 kB / 0.9028 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2295, allocations: 0 / 0.9028 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2295, allocations: 0 / 0.9028 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.2295, allocations: 0 / 0.9028 GB, free: 61.88 MB / 0.6042 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.0004105/0.2299, allocations: 351.5 kB / 0.9032 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.23, allocations: 8.031 kB / 0.9032 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.202e-05/0.23, allocations: 8.844 kB / 0.9032 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.2301, allocations: 172.6 kB / 0.9033 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.2302, allocations: 8.359 kB / 0.9034 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.2302, allocations: 4.375 kB / 0.9034 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.2304, allocations: 74.17 kB / 0.9034 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.2304, allocations: 4.172 kB / 0.9034 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.2304, allocations: 3.938 kB / 0.9034 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.2304, allocations: 4 kB / 0.9034 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.2306, allocations: 55.95 kB / 0.9035 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003295/0.2309, allocations: 272.8 kB / 0.9038 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.2311, allocations: 54.48 kB / 0.9038 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.72e-05/0.2312, allocations: 28.91 kB / 0.9038 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.2312, allocations: 0 / 0.9038 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.236e-05/0.2312, allocations: 30.56 kB / 0.9039 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.2312, allocations: 0 / 0.9039 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.000356/0.2316, allocations: 105.6 kB / 0.904 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/0.2316, allocations: 55.34 kB / 0.904 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.922e-05/0.2317, allocations: 106 kB / 0.9041 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.2317, allocations: 33.64 kB / 0.9041 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.304e-05/0.2317, allocations: 95.97 kB / 0.9042 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.207e-05/0.2318, allocations: 3.906 kB / 0.9042 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.2318, allocations: 0 / 0.9042 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.74e-05/0.2318, allocations: 318.8 kB / 0.9045 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.449e-05/0.2319, allocations: 19.98 kB / 0.9046 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.542e-05/0.232, allocations: 31.97 kB / 0.9046 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.2322, allocations: 44.83 kB / 0.9046 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2322, allocations: 4.062 kB / 0.9046 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001955/0.2324, allocations: 89.58 kB / 0.9047 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.2324, allocations: 4 kB / 0.9047 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2324, allocations: 0 / 0.9047 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.2324, allocations: 0 / 0.9047 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.2325, allocations: 20.02 kB / 0.9048 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.2326, allocations: 0 / 0.9048 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.45e-05/0.2326, allocations: 4 kB / 0.9048 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.2326, allocations: 4 kB / 0.9048 GB, free: 59.68 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.727e-05/0.2327, allocations: 117.8 kB / 0.9049 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.2328, allocations: 4 kB / 0.9049 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.497e-05/0.2328, allocations: 7.125 kB / 0.9049 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.2328, allocations: 0 / 0.9049 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2328, allocations: 0 / 0.9049 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2328, allocations: 0 / 0.9049 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.2329, allocations: 169.6 kB / 0.905 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.233, allocations: 0 / 0.905 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.888e-05/0.233, allocations: 11.98 kB / 0.9051 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.233, allocations: 4 kB / 0.9051 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.2331, allocations: 0 / 0.9051 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.2331, allocations: 0 / 0.9051 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2331, allocations: 8.188 kB / 0.9051 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.2333, allocations: 187.3 kB / 0.9052 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.085e-05/0.2333, allocations: 85.03 kB / 0.9053 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.2333, allocations: 8.031 kB / 0.9053 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.847e-05/0.2334, allocations: 8 kB / 0.9053 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.641e-05/0.2335, allocations: 3.984 kB / 0.9053 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.2335, allocations: 4 kB / 0.9053 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.436e-05/0.2335, allocations: 83.28 kB / 0.9054 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2335, allocations: 0 / 0.9054 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001946/0.2337, allocations: 4 kB / 0.9054 GB, free: 58.9 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.654e-05/0.2338, allocations: 103.2 kB / 0.9055 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002065/0.234, allocations: 55.89 kB / 0.9056 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.234, allocations: 4 kB / 0.9056 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.878e-05/0.2341, allocations: 31.92 kB / 0.9056 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.2344, allocations: 9.688 kB / 0.9056 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00029/0.2347, allocations: 150.4 kB / 0.9058 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.2348, allocations: 0.6809 MB / 0.9064 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.2349, allocations: 15.48 kB / 0.9065 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of SimCode: time 4.21e-07/0.2349, allocations: 0 / 0.9065 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of Templates: time 0.001785/0.2366, allocations: 0.6632 MB / 0.9071 GB, free: 57.13 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)