Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/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") 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.302/2.302, allocations: 251.1 MB / 266.7 MB, free: 11.55 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.001397/0.001397, allocations: 177.5 kB / 326.3 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.508/2.508, allocations: 205.4 MB / 0.5772 GB, free: 20.8 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.0008616/0.0008611, allocations: 94.41 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004742/0.0004743, allocations: 16.38 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2074, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.001595/0.209, allocations: 1.065 MB / 0.9005 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004131/0.2095, allocations: 145.6 kB / 0.9007 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.657e-05/0.2096, allocations: 0 / 0.9007 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.351e-05/0.2097, allocations: 4 kB / 0.9007 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.552e-05/0.2097, allocations: 7.875 kB / 0.9007 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.2099, allocations: 15.97 kB / 0.9007 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.724e-05/0.21, allocations: 27.92 kB / 0.9007 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.905e-05/0.2101, allocations: 15.98 kB / 0.9008 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.629e-05/0.2102, allocations: 7.938 kB / 0.9008 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.46e-05/0.2102, allocations: 15.92 kB / 0.9008 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.2103, allocations: 4 kB / 0.9008 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.225e-05/0.2103, allocations: 4 kB / 0.9008 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.628e-05/0.2103, allocations: 15.97 kB / 0.9008 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.612e-05/0.2104, allocations: 25.7 kB / 0.9008 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.954e-05/0.2104, allocations: 31.94 kB / 0.9009 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2105, allocations: 0 / 0.9009 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2105, allocations: 0 / 0.9009 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.2105, allocations: 0 / 0.9009 GB, free: 64.13 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.0004634/0.211, allocations: 339.4 kB / 0.9012 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.211, allocations: 12.03 kB / 0.9012 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/0.2111, allocations: 16.78 kB / 0.9012 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.2112, allocations: 176.5 kB / 0.9014 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.2113, allocations: 4.375 kB / 0.9014 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.2113, allocations: 4.375 kB / 0.9014 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/0.2116, allocations: 70.2 kB / 0.9014 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2116, allocations: 4.172 kB / 0.9015 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.2116, allocations: 11.94 kB / 0.9015 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.2116, allocations: 0 / 0.9015 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003097/0.2119, allocations: 51.95 kB / 0.9015 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004178/0.2124, allocations: 288.7 kB / 0.9018 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.2126, allocations: 46.61 kB / 0.9018 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.2128, allocations: 28.84 kB / 0.9019 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.2128, allocations: 4 kB / 0.9019 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.2128, allocations: 30.56 kB / 0.9019 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 2.044e-06/0.2128, allocations: 0 / 0.9019 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0005801/0.2134, allocations: 109.6 kB / 0.902 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.018e-05/0.2135, allocations: 51.41 kB / 0.902 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.382e-05/0.2136, allocations: 105.8 kB / 0.9021 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.2136, allocations: 29.7 kB / 0.9022 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.026e-05/0.2136, allocations: 84.05 kB / 0.9023 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.2137, allocations: 0 / 0.9023 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/0.2137, allocations: 4.125 kB / 0.9023 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.442e-05/0.2138, allocations: 322.8 kB / 0.9026 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.2139, allocations: 23.97 kB / 0.9026 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.2141, allocations: 19.98 kB / 0.9026 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.2143, allocations: 28.05 kB / 0.9026 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2143, allocations: 7.875 kB / 0.9026 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003479/0.2146, allocations: 85.5 kB / 0.9027 GB, free: 62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.2147, allocations: 12.02 kB / 0.9027 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.2147, allocations: 0 / 0.9027 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.2147, allocations: 0 / 0.9027 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.2149, allocations: 8 kB / 0.9027 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.2149, allocations: 7.984 kB / 0.9028 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.343e-05/0.215, allocations: 4 kB / 0.9028 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.215, allocations: 0 / 0.9028 GB, free: 61.96 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001282/0.2152, allocations: 126.4 kB / 0.9029 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.2152, allocations: 0 / 0.9029 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.53e-05/0.2152, allocations: 7.125 kB / 0.9029 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2153, allocations: 0 / 0.9029 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2153, allocations: 0 / 0.9029 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.606e-05/0.2153, allocations: 77.11 kB / 0.903 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.2153, allocations: 0 / 0.903 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.2155, allocations: 19.92 kB / 0.903 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.2155, allocations: 3.984 kB / 0.903 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004477/0.216, allocations: 168.9 kB / 0.9031 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003924/0.2164, allocations: 258.7 kB / 0.9034 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001682/0.2166, allocations: 24.27 kB / 0.9034 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.787e-05/0.2166, allocations: 91.27 kB / 0.9035 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of Backend: time 9.12e-07/0.2167, allocations: 4 kB / 0.9035 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005275/0.2172, allocations: 100.4 kB / 0.9036 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004298/0.2176, allocations: 0.5782 MB / 0.9042 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of Templates: time 0.003279/0.2209, allocations: 0.5762 MB / 0.9047 GB, free: 59.85 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)