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 loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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") 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.474/2.474, allocations: 251.3 MB / 266.2 MB, free: 11.54 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.001405/0.001404, allocations: 180.6 kB / 325.8 MB, free: 2.789 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.502/2.502, allocations: 205.4 MB / 0.5767 GB, free: 20.71 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.001304/0.001303, allocations: 98.28 kB / 0.6813 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006502/0.0006505, allocations: 11.41 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2066, allocations: 106.3 MB / 0.8991 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.001567/0.2082, allocations: 1.065 MB / 0.9001 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003675/0.2086, allocations: 141.6 kB / 0.9002 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.81e-05/0.2087, allocations: 0 / 0.9002 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.673e-05/0.2088, allocations: 4 kB / 0.9002 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.568e-05/0.2088, allocations: 7.922 kB / 0.9002 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001542/0.209, allocations: 11.98 kB / 0.9002 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.917e-05/0.209, allocations: 27.92 kB / 0.9003 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.61e-05/0.2091, allocations: 16 kB / 0.9003 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.733e-05/0.2092, allocations: 15.92 kB / 0.9003 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.16e-05/0.2093, allocations: 7.984 kB / 0.9003 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.2093, allocations: 7.922 kB / 0.9003 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.295e-05/0.2093, allocations: 4 kB / 0.9003 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.257e-05/0.2094, allocations: 11.98 kB / 0.9003 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.972e-05/0.2094, allocations: 25.7 kB / 0.9004 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.624e-05/0.2095, allocations: 27.95 kB / 0.9004 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2095, allocations: 3.938 kB / 0.9004 GB, free: 64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2095, allocations: 0 / 0.9004 GB, free: 64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.2095, allocations: 4 kB / 0.9004 GB, free: 64 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.0004587/0.21, allocations: 351.4 kB / 0.9007 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.21, allocations: 8.031 kB / 0.9007 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.2101, allocations: 4.844 kB / 0.9007 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.2102, allocations: 176.5 kB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.2103, allocations: 4.375 kB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.2103, allocations: 8.375 kB / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002627/0.2106, allocations: 66.23 kB / 0.901 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2106, allocations: 192 / 0.901 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.2106, allocations: 7.922 kB / 0.901 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.2106, allocations: 0 / 0.901 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000314/0.2109, allocations: 59.95 kB / 0.9011 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003867/0.2113, allocations: 284.7 kB / 0.9013 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.2116, allocations: 42.56 kB / 0.9014 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.2117, allocations: 32.89 kB / 0.9014 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.2118, allocations: 0 / 0.9014 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.2118, allocations: 34.56 kB / 0.9014 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.2118, allocations: 0 / 0.9014 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0005764/0.2124, allocations: 105.6 kB / 0.9015 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.2124, allocations: 51.41 kB / 0.9016 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.735e-05/0.2125, allocations: 114 kB / 0.9017 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.2125, allocations: 25.7 kB / 0.9017 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.492e-05/0.2126, allocations: 88.03 kB / 0.9018 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.2126, allocations: 0 / 0.9018 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.2126, allocations: 0 / 0.9018 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.16e-05/0.2127, allocations: 322.8 kB / 0.9021 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.2129, allocations: 15.98 kB / 0.9021 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.213, allocations: 35.91 kB / 0.9022 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.2132, allocations: 23.98 kB / 0.9022 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2132, allocations: 0 / 0.9022 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003417/0.2135, allocations: 89.56 kB / 0.9023 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.2136, allocations: 4 kB / 0.9023 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2136, allocations: 0 / 0.9023 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.2136, allocations: 0 / 0.9023 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.2138, allocations: 11.98 kB / 0.9023 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.2138, allocations: 4.031 kB / 0.9023 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.295e-05/0.2139, allocations: 11.98 kB / 0.9023 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.2139, allocations: 0 / 0.9023 GB, free: 61.84 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.0001143/0.214, allocations: 117.8 kB / 0.9024 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.2141, allocations: 0 / 0.9024 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.184e-05/0.2141, allocations: 11.06 kB / 0.9024 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.2141, allocations: 3.984 kB / 0.9024 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.2141, allocations: 0 / 0.9024 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2141, allocations: 4 kB / 0.9024 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.2143, allocations: 169.8 kB / 0.9026 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2143, allocations: 0 / 0.9026 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.2144, allocations: 12 kB / 0.9026 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.2145, allocations: 0 / 0.9026 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.2145, allocations: 3.984 kB / 0.9026 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2145, allocations: 4 kB / 0.9026 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.2145, allocations: 3.938 kB / 0.9026 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/0.2149, allocations: 179.5 kB / 0.9028 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.47e-05/0.2149, allocations: 81.02 kB / 0.9029 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.2149, allocations: 0 / 0.9029 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.2151, allocations: 12.02 kB / 0.9029 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.2151, allocations: 11.98 kB / 0.9029 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.942e-06/0.2152, allocations: 0 / 0.9029 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.085e-05/0.2152, allocations: 79.28 kB / 0.903 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2152, allocations: 0 / 0.903 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002677/0.2155, allocations: 11.94 kB / 0.903 GB, free: 61.05 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 (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.0001035/0.2156, allocations: 99.25 kB / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003819/0.216, allocations: 59.83 kB / 0.9031 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.216, allocations: 0 / 0.9031 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.2162, allocations: 39.97 kB / 0.9032 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.2165, allocations: 0 / 0.9032 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003535/0.2169, allocations: 126.7 kB / 0.9033 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.217, allocations: 0.6809 MB / 0.9039 GB, free: 60 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.264e-05/0.2171, allocations: 8.062 kB / 0.9039 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.777e-05/0.2171, allocations: 11.42 kB / 0.904 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of SimCode: time 6.41e-07/0.2171, allocations: 0 / 0.904 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of Templates: time 0.003016/0.2202, allocations: 0.506 MB / 0.9045 GB, free: 59.47 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)