Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.734/0.734, allocations: 131 MB / 146.3 MB, free: 1.297 MB / 106.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.001025/0.001025, allocations: 191 kB / 176.4 MB, free: 4.863 MB / 138.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.441/1.441, allocations: 225.7 MB / 431.9 MB, free: 8.836 MB / 314.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.0007628/0.0007628, allocations: 89.66 kB / 0.5003 GB, free: 9.93 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00033/0.00033, allocations: 12 kB / 0.5885 GB, free: 72.69 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1393, allocations: 79.6 MB / 0.6663 GB, free: 8.926 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.002211/0.1415, allocations: 1.461 MB / 0.6677 GB, free: 7.453 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.1436, allocations: 1.482 MB / 0.6691 GB, free: 5.855 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.059e-05/0.1437, allocations: 0 / 0.6691 GB, free: 5.855 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003312/0.1441, allocations: 55.81 kB / 0.6692 GB, free: 5.801 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.1443, allocations: 63.8 kB / 0.6692 GB, free: 5.738 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006173/0.1449, allocations: 199.7 kB / 0.6694 GB, free: 5.543 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.1451, allocations: 135.6 kB / 0.6696 GB, free: 5.41 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.1452, allocations: 17.12 kB / 0.6696 GB, free: 5.395 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.1454, allocations: 59.64 kB / 0.6696 GB, free: 5.336 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.807e-05/0.1455, allocations: 59.69 kB / 0.6697 GB, free: 5.277 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.1455, allocations: 4 kB / 0.6697 GB, free: 5.273 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.1456, allocations: 51.97 kB / 0.6698 GB, free: 5.223 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.1458, allocations: 39.84 kB / 0.6698 GB, free: 5.184 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 8.902e-05/0.1459, allocations: 85.3 kB / 0.6699 GB, free: 5.094 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.1462, allocations: 183.7 kB / 0.67 GB, free: 4.914 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1462, allocations: 0 / 0.67 GB, free: 4.914 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1462, allocations: 0 / 0.67 GB, free: 4.914 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.1462, allocations: 0 / 0.67 GB, free: 4.914 MB / 442.7 MB 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.0006033/0.1468, allocations: 464.5 kB / 0.6705 GB, free: 4.406 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.1468, allocations: 8.031 kB / 0.6705 GB, free: 4.398 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.594e-05/0.1469, allocations: 16.75 kB / 0.6705 GB, free: 4.383 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.1472, allocations: 256.9 kB / 0.6708 GB, free: 4.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.1472, allocations: 384 / 0.6708 GB, free: 4.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.1472, allocations: 12.12 kB / 0.6708 GB, free: 4.078 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.1474, allocations: 92.17 kB / 0.6709 GB, free: 3.973 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1475, allocations: 4 kB / 0.6709 GB, free: 3.969 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.1475, allocations: 3.984 kB / 0.6709 GB, free: 3.965 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.75e-05/0.1475, allocations: 4 kB / 0.6709 GB, free: 3.961 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.9e-05/0.1476, allocations: 35.97 kB / 0.6709 GB, free: 3.926 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004898/0.1481, allocations: 364.6 kB / 0.6713 GB, free: 3.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.1483, allocations: 86.7 kB / 0.6713 GB, free: 3.426 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.908e-05/0.1484, allocations: 28.84 kB / 0.6714 GB, free: 3.395 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.1484, allocations: 4 kB / 0.6714 GB, free: 3.391 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/0.1486, allocations: 79.38 kB / 0.6714 GB, free: 3.301 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 3.316e-06/0.1487, allocations: 4 kB / 0.6714 GB, free: 3.297 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.000341/0.149, allocations: 145.3 kB / 0.6716 GB, free: 3.148 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.647e-05/0.1491, allocations: 102.8 kB / 0.6717 GB, free: 3.023 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.1494, allocations: 263.7 kB / 0.6719 GB, free: 2.758 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.1494, allocations: 33.7 kB / 0.672 GB, free: 2.719 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.953e-05/0.1495, allocations: 120 kB / 0.6721 GB, free: 2.598 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.1495, allocations: 15.81 kB / 0.6721 GB, free: 2.582 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-06/0.1495, allocations: 0 / 0.6721 GB, free: 2.582 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1496, allocations: 330.8 kB / 0.6724 GB, free: 2.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.067e-05/0.1497, allocations: 23.98 kB / 0.6724 GB, free: 2.227 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.1498, allocations: 80.14 kB / 0.6725 GB, free: 2.133 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.15, allocations: 66.02 kB / 0.6726 GB, free: 2.062 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.15, allocations: 0 / 0.6726 GB, free: 2.062 MB / 442.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002039/0.1502, allocations: 125.4 kB / 0.6727 GB, free: 1.934 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.1502, allocations: 4 kB / 0.6727 GB, free: 1.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1502, allocations: 0 / 0.6727 GB, free: 1.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.1503, allocations: 4 kB / 0.6727 GB, free: 1.926 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.751e-05/0.1503, allocations: 8 kB / 0.6727 GB, free: 1.918 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1504, allocations: 4 kB / 0.6727 GB, free: 1.914 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.508e-05/0.1504, allocations: 19.8 kB / 0.6727 GB, free: 1.895 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.1505, allocations: 4 kB / 0.6727 GB, free: 1.891 MB / 442.7 MB 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 0.0001229/0.1506, allocations: 142.8 kB / 0.6729 GB, free: 1.742 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.1506, allocations: 15.81 kB / 0.6729 GB, free: 1.727 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.325e-05/0.1507, allocations: 21.33 kB / 0.6729 GB, free: 1.711 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.958e-06/0.1507, allocations: 4 kB / 0.6729 GB, free: 1.707 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1507, allocations: 0 / 0.6729 GB, free: 1.707 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.1507, allocations: 3.938 kB / 0.6729 GB, free: 1.703 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.1509, allocations: 217.6 kB / 0.6731 GB, free: 1.441 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1509, allocations: 4 kB / 0.6731 GB, free: 1.438 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.74e-05/0.1509, allocations: 8 kB / 0.6731 GB, free: 1.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.1509, allocations: 0 / 0.6731 GB, free: 1.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.151, allocations: 7.969 kB / 0.6731 GB, free: 1.422 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.151, allocations: 0 / 0.6731 GB, free: 1.422 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.151, allocations: 3.938 kB / 0.6731 GB, free: 1.418 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.1512, allocations: 140.8 kB / 0.6733 GB, free: 1.262 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.564e-05/0.1513, allocations: 100.9 kB / 0.6734 GB, free: 1.145 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.1513, allocations: 4 kB / 0.6734 GB, free: 1.141 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.478e-05/0.1513, allocations: 7.984 kB / 0.6734 GB, free: 1.133 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.1514, allocations: 11.98 kB / 0.6734 GB, free: 1.121 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.1514, allocations: 7.875 kB / 0.6734 GB, free: 1.113 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001644/0.1516, allocations: 200.2 kB / 0.6736 GB, free: 0.918 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1516, allocations: 0 / 0.6736 GB, free: 0.918 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002186/0.1518, allocations: 35.98 kB / 0.6736 GB, free: 0.8828 MB / 442.7 MB 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.0009123/0.1527, allocations: 480.4 kB / 0.6741 GB, free: 0.5391 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.153, allocations: 72.14 kB / 0.6742 GB, free: 480 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.153, allocations: 0 / 0.6742 GB, free: 480 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.412e-05/0.1531, allocations: 39.86 kB / 0.6742 GB, free: 440 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.1534, allocations: 41.05 kB / 0.6742 GB, free: 400 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005366/0.1539, allocations: 330.1 kB / 0.6745 GB, free: 40 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.1542, allocations: 0.7243 MB / 0.6753 GB, free: 15.29 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.246e-05/0.1543, allocations: 25.39 kB / 0.6753 GB, free: 15.26 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.895e-05/0.1543, allocations: 19.42 kB / 0.6753 GB, free: 15.25 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1543, allocations: 0 / 0.6753 GB, free: 15.25 MB / 458.7 MB Notification: Performance of Templates: time 0.005172/0.1595, allocations: 2.427 MB / 0.6777 GB, free: 12.84 MB / 458.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)