Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator") translateModel(BuildingSystems.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8103/0.8103, allocations: 143.8 MB / 159.1 MB, free: 6.527 MB / 122.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.001306/0.001306, allocations: 186.3 kB / 192 MB, free: 6.73 MB / 154.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.5/1.5, allocations: 225.7 MB / 450.4 MB, free: 4.953 MB / 330.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.0008191/0.0008191, allocations: 103.5 kB / 0.5211 GB, free: 1.609 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001644/0.001644, allocations: 280.1 kB / 0.6025 GB, free: 49.27 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004642/0.0004644, allocations: 14.06 kB / 0.6948 GB, free: 59.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1767, allocations: 82.46 MB / 0.7753 GB, free: 14.34 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegerReplicator): time 0.002318/0.179, allocations: 1.46 MB / 0.7767 GB, free: 12.87 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001929/0.181, allocations: 1.481 MB / 0.7782 GB, free: 11.27 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.994e-05/0.1811, allocations: 3.938 kB / 0.7782 GB, free: 11.27 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003147/0.1814, allocations: 51.81 kB / 0.7782 GB, free: 11.21 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002125/0.1816, allocations: 71.78 kB / 0.7783 GB, free: 11.14 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000563/0.1822, allocations: 191.7 kB / 0.7785 GB, free: 10.96 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.1824, allocations: 135.6 kB / 0.7786 GB, free: 10.82 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.1825, allocations: 29.08 kB / 0.7786 GB, free: 10.8 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.401e-05/0.1826, allocations: 55.72 kB / 0.7787 GB, free: 10.74 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.1828, allocations: 59.69 kB / 0.7788 GB, free: 10.68 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.1828, allocations: 4 kB / 0.7788 GB, free: 10.68 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.1829, allocations: 51.97 kB / 0.7788 GB, free: 10.63 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 8.319e-05/0.183, allocations: 35.91 kB / 0.7788 GB, free: 10.59 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 8.63e-05/0.1831, allocations: 81.25 kB / 0.7789 GB, free: 10.51 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.1834, allocations: 187.7 kB / 0.7791 GB, free: 10.32 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1834, allocations: 0 / 0.7791 GB, free: 10.32 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1834, allocations: 0 / 0.7791 GB, free: 10.32 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1834, allocations: 0 / 0.7791 GB, free: 10.32 MB / 458.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.000634/0.1841, allocations: 472.5 kB / 0.7795 GB, free: 9.809 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.1841, allocations: 8.031 kB / 0.7796 GB, free: 9.801 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.536e-05/0.1842, allocations: 16.75 kB / 0.7796 GB, free: 9.785 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/0.1845, allocations: 260.7 kB / 0.7798 GB, free: 9.488 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.1846, allocations: 384 / 0.7798 GB, free: 9.488 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.1846, allocations: 12.12 kB / 0.7798 GB, free: 9.477 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.1848, allocations: 92.23 kB / 0.7799 GB, free: 9.371 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1848, allocations: 0 / 0.7799 GB, free: 9.371 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.1849, allocations: 0 / 0.7799 GB, free: 9.371 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/0.1849, allocations: 4 kB / 0.7799 GB, free: 9.367 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.185, allocations: 39.91 kB / 0.78 GB, free: 9.328 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005646/0.1856, allocations: 356.7 kB / 0.7803 GB, free: 8.93 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.1858, allocations: 90.7 kB / 0.7804 GB, free: 8.832 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.581e-05/0.1859, allocations: 32.84 kB / 0.7804 GB, free: 8.797 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.1859, allocations: 4 kB / 0.7804 GB, free: 8.793 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002326/0.1862, allocations: 83.36 kB / 0.7805 GB, free: 8.699 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 3.757e-06/0.1862, allocations: 0 / 0.7805 GB, free: 8.699 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003632/0.1866, allocations: 149.3 kB / 0.7806 GB, free: 8.547 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.973e-05/0.1867, allocations: 102.8 kB / 0.7807 GB, free: 8.422 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.1869, allocations: 262.9 kB / 0.781 GB, free: 8.156 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.187, allocations: 29.7 kB / 0.781 GB, free: 8.121 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.819e-05/0.1871, allocations: 120.1 kB / 0.7811 GB, free: 8 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.1871, allocations: 19.75 kB / 0.7812 GB, free: 7.98 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-06/0.1871, allocations: 0 / 0.7812 GB, free: 7.98 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1873, allocations: 330.8 kB / 0.7815 GB, free: 7.648 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.546e-05/0.1874, allocations: 27.98 kB / 0.7815 GB, free: 7.621 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.1875, allocations: 72.27 kB / 0.7816 GB, free: 7.535 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.1876, allocations: 65.64 kB / 0.7816 GB, free: 7.465 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1876, allocations: 4 kB / 0.7816 GB, free: 7.461 MB / 458.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000196/0.1878, allocations: 105.5 kB / 0.7817 GB, free: 7.352 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1878, allocations: 15.95 kB / 0.7817 GB, free: 7.336 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.1879, allocations: 4 kB / 0.7818 GB, free: 7.332 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1879, allocations: 192 / 0.7818 GB, free: 7.332 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.38e-05/0.188, allocations: 12 kB / 0.7818 GB, free: 7.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.188, allocations: 7.938 kB / 0.7818 GB, free: 7.312 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.887e-05/0.1881, allocations: 15.83 kB / 0.7818 GB, free: 7.297 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.1881, allocations: 0 / 0.7818 GB, free: 7.297 MB / 458.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.0001267/0.1882, allocations: 141.8 kB / 0.7819 GB, free: 7.148 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.798e-05/0.1883, allocations: 15.81 kB / 0.7819 GB, free: 7.133 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.941e-05/0.1884, allocations: 25.39 kB / 0.782 GB, free: 7.109 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.1884, allocations: 0 / 0.782 GB, free: 7.109 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1884, allocations: 0 / 0.782 GB, free: 7.109 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.1884, allocations: 3.938 kB / 0.782 GB, free: 7.105 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.1886, allocations: 221.6 kB / 0.7822 GB, free: 6.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1886, allocations: 0 / 0.7822 GB, free: 6.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.204e-05/0.1887, allocations: 7.938 kB / 0.7822 GB, free: 6.832 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1887, allocations: 0 / 0.7822 GB, free: 6.832 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.1887, allocations: 3.984 kB / 0.7822 GB, free: 6.828 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1887, allocations: 0 / 0.7822 GB, free: 6.828 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1887, allocations: 7.938 kB / 0.7822 GB, free: 6.82 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.1889, allocations: 144.9 kB / 0.7823 GB, free: 6.66 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.873e-05/0.189, allocations: 100.9 kB / 0.7824 GB, free: 6.543 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.189, allocations: 0 / 0.7824 GB, free: 6.543 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.944e-05/0.1891, allocations: 7.984 kB / 0.7824 GB, free: 6.535 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.398e-05/0.1892, allocations: 8 kB / 0.7824 GB, free: 6.527 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.1892, allocations: 11.92 kB / 0.7825 GB, free: 6.516 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001692/0.1894, allocations: 196.4 kB / 0.7826 GB, free: 6.324 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1894, allocations: 0 / 0.7826 GB, free: 6.324 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003943/0.1898, allocations: 31.94 kB / 0.7827 GB, free: 6.293 MB / 458.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.001129/0.1909, allocations: 492.9 kB / 0.7831 GB, free: 5.941 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002235/0.1911, allocations: 67.95 kB / 0.7832 GB, free: 5.875 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.1911, allocations: 4 kB / 0.7832 GB, free: 5.871 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.071e-05/0.1912, allocations: 39.92 kB / 0.7833 GB, free: 5.832 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.1915, allocations: 38.95 kB / 0.7833 GB, free: 5.797 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005393/0.1921, allocations: 326 kB / 0.7836 GB, free: 5.453 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.1924, allocations: 0.7203 MB / 0.7843 GB, free: 4.707 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.536e-05/0.1925, allocations: 25.38 kB / 0.7843 GB, free: 4.676 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.743e-05/0.1926, allocations: 23.42 kB / 0.7843 GB, free: 4.656 MB / 458.7 MB Notification: Performance of SimCode: time 3.01e-07/0.1926, allocations: 4 kB / 0.7844 GB, free: 4.652 MB / 458.7 MB Notification: Performance of Templates: time 0.005961/0.1986, allocations: 2.413 MB / 0.7867 GB, free: 2.262 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)