Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.252/1.252, allocations: 255.9 MB / 271.2 MB, free: 8.883 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009473/0.0009473, allocations: 186.9 kB / 330.8 MB, free: 460 kB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 225.7 MB / 0.6016 GB, free: 15.88 MB / 442.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006789/0.0006788, allocations: 98.28 kB / 0.709 GB, free: 5.336 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003383, allocations: 9.938 kB / 0.8261 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1578, allocations: 109.2 MB / 0.9328 GB, free: 24.09 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.00192/0.1598, allocations: 1.464 MB / 0.9342 GB, free: 22.61 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.1612, allocations: 1.475 MB / 0.9356 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.1613, allocations: 4 kB / 0.9356 GB, free: 21.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.1616, allocations: 55.81 kB / 0.9357 GB, free: 20.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002122/0.1618, allocations: 67.73 kB / 0.9358 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005688/0.1624, allocations: 191.7 kB / 0.9359 GB, free: 20.7 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.1626, allocations: 139.6 kB / 0.9361 GB, free: 20.57 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.73e-05/0.1627, allocations: 21.11 kB / 0.9361 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.155e-05/0.1628, allocations: 59.7 kB / 0.9361 GB, free: 20.49 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.546e-05/0.1629, allocations: 59.75 kB / 0.9362 GB, free: 20.43 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.1629, allocations: 0 / 0.9362 GB, free: 20.43 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.163, allocations: 59.91 kB / 0.9363 GB, free: 20.37 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.095e-05/0.1631, allocations: 27.91 kB / 0.9363 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.865e-05/0.1631, allocations: 77.31 kB / 0.9364 GB, free: 20.26 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.1634, allocations: 199.6 kB / 0.9366 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1634, allocations: 0 / 0.9366 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.173e-06/0.1634, allocations: 4 kB / 0.9366 GB, free: 20.06 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.1634, allocations: 0 / 0.9366 GB, free: 20.06 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004711/0.1639, allocations: 460.5 kB / 0.937 GB, free: 19.56 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.1639, allocations: 15.98 kB / 0.937 GB, free: 19.54 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.164, allocations: 16.73 kB / 0.937 GB, free: 19.53 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.1642, allocations: 250.2 kB / 0.9373 GB, free: 19.24 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.1642, allocations: 4.375 kB / 0.9373 GB, free: 19.24 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.1642, allocations: 8.125 kB / 0.9373 GB, free: 19.23 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.1644, allocations: 96.17 kB / 0.9374 GB, free: 19.12 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1644, allocations: 3.984 kB / 0.9374 GB, free: 19.12 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1644, allocations: 7.984 kB / 0.9374 GB, free: 19.11 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.1645, allocations: 0 / 0.9374 GB, free: 19.11 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.721e-05/0.1646, allocations: 31.98 kB / 0.9374 GB, free: 19.08 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003794/0.1649, allocations: 360.5 kB / 0.9378 GB, free: 18.68 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.1651, allocations: 86.67 kB / 0.9378 GB, free: 18.58 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.909e-05/0.1652, allocations: 32.94 kB / 0.9379 GB, free: 18.55 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.1652, allocations: 7.922 kB / 0.9379 GB, free: 18.54 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.1654, allocations: 79.36 kB / 0.9379 GB, free: 18.45 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 2.064e-06/0.1654, allocations: 4 kB / 0.938 GB, free: 18.45 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002806/0.1657, allocations: 137.4 kB / 0.9381 GB, free: 18.3 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.1657, allocations: 106.8 kB / 0.9382 GB, free: 18.18 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.1659, allocations: 267.4 kB / 0.9384 GB, free: 17.91 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.1659, allocations: 29.64 kB / 0.9385 GB, free: 17.87 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.891e-05/0.166, allocations: 120 kB / 0.9386 GB, free: 17.75 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.166, allocations: 11.81 kB / 0.9386 GB, free: 17.74 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/0.166, allocations: 4 kB / 0.9386 GB, free: 17.73 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 4.375e-05/0.1661, allocations: 334.8 kB / 0.9389 GB, free: 17.4 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.789e-05/0.1661, allocations: 23.98 kB / 0.9389 GB, free: 17.38 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.955e-05/0.1662, allocations: 68.27 kB / 0.939 GB, free: 17.29 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.1663, allocations: 69.69 kB / 0.9391 GB, free: 17.22 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1663, allocations: 3.938 kB / 0.9391 GB, free: 17.21 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001692/0.1665, allocations: 113.5 kB / 0.9392 GB, free: 17.1 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.1665, allocations: 8 kB / 0.9392 GB, free: 17.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1665, allocations: 0 / 0.9392 GB, free: 17.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.1666, allocations: 192 / 0.9392 GB, free: 17.09 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.006e-05/0.1666, allocations: 15.94 kB / 0.9392 GB, free: 17.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.1666, allocations: 3.938 kB / 0.9392 GB, free: 17.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.068e-05/0.1667, allocations: 19.86 kB / 0.9392 GB, free: 17.05 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.527e-06/0.1667, allocations: 8 kB / 0.9392 GB, free: 17.04 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.intTab.combiTimeTable.nextTimeEvent,intTab.y,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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 8.625e-05/0.1668, allocations: 141.8 kB / 0.9394 GB, free: 16.89 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.1668, allocations: 15.81 kB / 0.9394 GB, free: 16.88 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.674e-05/0.1669, allocations: 25.39 kB / 0.9394 GB, free: 16.86 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.1669, allocations: 0 / 0.9394 GB, free: 16.86 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1669, allocations: 4 kB / 0.9394 GB, free: 16.85 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1669, allocations: 3.938 kB / 0.9394 GB, free: 16.85 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.167, allocations: 221.5 kB / 0.9396 GB, free: 16.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1671, allocations: 0 / 0.9396 GB, free: 16.58 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.522e-05/0.1671, allocations: 4 kB / 0.9396 GB, free: 16.58 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1671, allocations: 3.984 kB / 0.9396 GB, free: 16.57 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.1671, allocations: 12 kB / 0.9397 GB, free: 16.56 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1671, allocations: 0 / 0.9397 GB, free: 16.56 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1671, allocations: 3.938 kB / 0.9397 GB, free: 16.56 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.1673, allocations: 141.2 kB / 0.9398 GB, free: 16.4 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.555e-05/0.1674, allocations: 96.92 kB / 0.9399 GB, free: 16.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.1674, allocations: 0 / 0.9399 GB, free: 16.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.109e-05/0.1674, allocations: 7.984 kB / 0.9399 GB, free: 16.28 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.1675, allocations: 11.98 kB / 0.9399 GB, free: 16.27 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.1675, allocations: 11.94 kB / 0.9399 GB, free: 16.26 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001352/0.1676, allocations: 188.6 kB / 0.9401 GB, free: 16.07 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1677, allocations: 0 / 0.9401 GB, free: 16.07 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002029/0.1679, allocations: 39.98 kB / 0.9401 GB, free: 16.04 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 0.0008108/0.1687, allocations: 0.4894 MB / 0.9406 GB, free: 15.67 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000173/0.1689, allocations: 71.89 kB / 0.9407 GB, free: 15.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1689, allocations: 4.062 kB / 0.9407 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.285e-05/0.169, allocations: 31.98 kB / 0.9407 GB, free: 15.56 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.1692, allocations: 34.55 kB / 0.9407 GB, free: 15.53 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003749/0.1696, allocations: 334 kB / 0.9411 GB, free: 15.18 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.1697, allocations: 0.7204 MB / 0.9418 GB, free: 14.44 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.415e-05/0.1698, allocations: 25.38 kB / 0.9418 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.681e-05/0.1698, allocations: 23.42 kB / 0.9418 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of SimCode: time 2.11e-07/0.1698, allocations: 0 / 0.9418 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of Templates: time 0.004263/0.1741, allocations: 2.406 MB / 0.9442 GB, free: 12 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)