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.674/2.674, allocations: 287.3 MB / 302.3 MB, free: 8.293 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.001894/0.001894, allocations: 166.5 kB / 370.8 MB, free: 10.87 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.176/2.176, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001115/0.001115, allocations: 89.06 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005241/0.0005243, allocations: 11.83 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2254, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.000865/0.2263, allocations: 373.8 kB / 0.9786 GB, free: 28.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009808/0.2273, allocations: 0.8205 MB / 0.9794 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.949e-05/0.2273, allocations: 0 / 0.9794 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.592e-05/0.2274, allocations: 3.938 kB / 0.9794 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.962e-05/0.2275, allocations: 4 kB / 0.9794 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.2276, allocations: 15.92 kB / 0.9794 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.422e-05/0.2277, allocations: 27.91 kB / 0.9794 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.283e-05/0.2278, allocations: 4 kB / 0.9794 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.149e-05/0.2279, allocations: 11.98 kB / 0.9794 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.567e-05/0.2279, allocations: 15.91 kB / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.228, allocations: 4 kB / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.326e-05/0.228, allocations: 0 / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.298e-05/0.2281, allocations: 8 kB / 0.9794 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.029e-05/0.2281, allocations: 29.64 kB / 0.9795 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.386e-05/0.2282, allocations: 27.94 kB / 0.9795 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.2282, allocations: 4 kB / 0.9795 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2282, allocations: 0 / 0.9795 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.2282, allocations: 0 / 0.9795 GB, free: 27.04 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.0004708/0.2287, allocations: 347.5 kB / 0.9798 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.2287, allocations: 11.97 kB / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/0.2288, allocations: 4 kB / 0.9799 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.2289, allocations: 174.9 kB / 0.98 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.229, allocations: 8 kB / 0.98 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.229, allocations: 4 kB / 0.98 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.2292, allocations: 73.58 kB / 0.9801 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2293, allocations: 0 / 0.9801 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.2293, allocations: 3.984 kB / 0.9801 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.2293, allocations: 4 kB / 0.9801 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003108/0.2296, allocations: 55.95 kB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.23, allocations: 268.9 kB / 0.9804 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.2302, allocations: 58.48 kB / 0.9805 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.2303, allocations: 0 / 0.9805 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.2303, allocations: 34.56 kB / 0.9805 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.2303, allocations: 0 / 0.9805 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0005533/0.2309, allocations: 109.6 kB / 0.9806 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.2309, allocations: 55.36 kB / 0.9807 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.82e-05/0.231, allocations: 105.8 kB / 0.9808 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.231, allocations: 29.69 kB / 0.9808 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.63e-05/0.2311, allocations: 96.2 kB / 0.9809 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.2311, allocations: 3.906 kB / 0.9809 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/0.2311, allocations: 0 / 0.9809 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.114e-05/0.2312, allocations: 310.8 kB / 0.9812 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.2313, allocations: 27.97 kB / 0.9812 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.2315, allocations: 23.98 kB / 0.9812 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.2316, allocations: 19.98 kB / 0.9813 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2317, allocations: 3.938 kB / 0.9813 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003303/0.232, allocations: 85.72 kB / 0.9813 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.232, allocations: 4 kB / 0.9813 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.232, allocations: 3.938 kB / 0.9813 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.2321, allocations: 7.984 kB / 0.9814 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.2322, allocations: 8 kB / 0.9814 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.2323, allocations: 3.938 kB / 0.9814 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.396e-05/0.2324, allocations: 15.97 kB / 0.9814 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.2324, allocations: 4 kB / 0.9814 GB, free: 24.89 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.0001095/0.2325, allocations: 105.8 kB / 0.9815 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.2325, allocations: 11.89 kB / 0.9815 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.119e-05/0.2326, allocations: 7.125 kB / 0.9815 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2326, allocations: 0 / 0.9815 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2326, allocations: 0 / 0.9815 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2326, allocations: 0 / 0.9815 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.2328, allocations: 165.9 kB / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.2328, allocations: 8 kB / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.2329, allocations: 19.98 kB / 0.9817 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2329, allocations: 0 / 0.9817 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.233, allocations: 0 / 0.9817 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.233, allocations: 0 / 0.9817 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.233, allocations: 0 / 0.9817 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003566/0.2333, allocations: 179.5 kB / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.38e-05/0.2334, allocations: 81.05 kB / 0.9819 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.2334, allocations: 0 / 0.9819 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.2335, allocations: 11.98 kB / 0.982 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.692e-05/0.2336, allocations: 7.984 kB / 0.982 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.2336, allocations: 4.031 kB / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.089e-05/0.2337, allocations: 83.28 kB / 0.982 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.4e-07/0.2337, allocations: 0 / 0.982 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002926/0.234, allocations: 4 kB / 0.982 GB, free: 24.13 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 9.896e-05/0.2341, allocations: 99.23 kB / 0.9821 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003408/0.2344, allocations: 47.97 kB / 0.9822 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2345, allocations: 0 / 0.9822 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.2346, allocations: 31.97 kB / 0.9822 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.2349, allocations: 6.016 kB / 0.9822 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003372/0.2352, allocations: 150.7 kB / 0.9824 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.2354, allocations: 0.6848 MB / 0.983 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.3e-05/0.2354, allocations: 0 / 0.983 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.2355, allocations: 11.44 kB / 0.983 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of SimCode: time 6.31e-07/0.2355, allocations: 4 kB / 0.983 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of Templates: time 0.002932/0.2384, allocations: 0.4977 MB / 0.9835 GB, free: 22.55 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)