Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.689/1.689, allocations: 291.7 MB / 306.8 MB, free: 7.676 MB / 234.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.001282/0.001282, allocations: 192.1 kB / 375.4 MB, free: 5.113 MB / 298.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.454/1.454, allocations: 225.7 MB / 0.6538 GB, free: 13.63 MB / 490.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.001041/0.001041, allocations: 101.8 kB / 0.7699 GB, free: 50.34 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005505/0.0005507, allocations: 14.09 kB / 0.8956 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6806/0.6812, allocations: 118.1 MB / 1.011 GB, free: 57.77 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.001899/0.6832, allocations: 1.458 MB / 1.012 GB, free: 57.71 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.6845, allocations: 1.008 MB / 1.013 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.161e-05/0.6846, allocations: 6.844 kB / 1.013 GB, free: 57.58 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002711/0.6849, allocations: 53.8 kB / 1.013 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.6851, allocations: 62.8 kB / 1.013 GB, free: 57.56 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004882/0.6856, allocations: 191.8 kB / 1.014 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.6857, allocations: 128.8 kB / 1.014 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.6858, allocations: 15.8 kB / 1.014 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.881e-05/0.6859, allocations: 53.64 kB / 1.014 GB, free: 57.51 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.128e-05/0.686, allocations: 53.88 kB / 1.014 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.6861, allocations: 3.172 kB / 1.014 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.6862, allocations: 62.14 kB / 1.014 GB, free: 57.49 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.738e-05/0.6862, allocations: 31.22 kB / 1.014 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.97e-05/0.6863, allocations: 44.83 kB / 1.014 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.6865, allocations: 160.5 kB / 1.014 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.6865, allocations: 0 / 1.014 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.774e-06/0.6865, allocations: 0 / 1.014 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.6865, allocations: 0 / 1.014 GB, free: 57.43 MB / 0.7136 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.0004906/0.687, allocations: 463.6 kB / 1.015 GB, free: 56.99 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.687, allocations: 8.344 kB / 1.015 GB, free: 56.99 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.6871, allocations: 17.41 kB / 1.015 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.6873, allocations: 253.7 kB / 1.015 GB, free: 56.76 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.6873, allocations: 8 kB / 1.015 GB, free: 56.76 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.6874, allocations: 6.812 kB / 1.015 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.6875, allocations: 98.86 kB / 1.015 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.6876, allocations: 0 / 1.015 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.6876, allocations: 0 / 1.015 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.6876, allocations: 5.844 kB / 1.015 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.377e-05/0.6877, allocations: 33.05 kB / 1.015 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004016/0.6881, allocations: 358.8 kB / 1.015 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.6883, allocations: 84.94 kB / 1.015 GB, free: 56.4 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.746e-05/0.6884, allocations: 31.55 kB / 1.015 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.6884, allocations: 3 kB / 1.015 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00019/0.6886, allocations: 85.84 kB / 1.016 GB, free: 56.34 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.703e-06/0.6886, allocations: 1.344 kB / 1.016 GB, free: 56.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0003187/0.689, allocations: 136.7 kB / 1.016 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.689, allocations: 109.8 kB / 1.016 GB, free: 56.18 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.6892, allocations: 264.9 kB / 1.016 GB, free: 56.08 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.6892, allocations: 25.7 kB / 1.016 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.174e-05/0.6893, allocations: 118 kB / 1.016 GB, free: 55.96 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.6893, allocations: 21.41 kB / 1.016 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.6893, allocations: 0 / 1.016 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.446e-05/0.6894, allocations: 335.2 kB / 1.016 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.218e-05/0.6895, allocations: 26.72 kB / 1.017 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.159e-05/0.6895, allocations: 71.41 kB / 1.017 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.6897, allocations: 66.27 kB / 1.017 GB, free: 55.58 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.6897, allocations: 2.375 kB / 1.017 GB, free: 55.58 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002142/0.6899, allocations: 116 kB / 1.017 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.6899, allocations: 7.344 kB / 1.017 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.6899, allocations: 1.5 kB / 1.017 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.69, allocations: 0 / 1.017 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.298e-05/0.6901, allocations: 14.3 kB / 1.017 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.6901, allocations: 0 / 1.017 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.548e-05/0.6901, allocations: 14.41 kB / 1.017 GB, free: 55.53 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.6902, allocations: 7.797 kB / 1.017 GB, free: 55.52 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.6903, allocations: 154.1 kB / 1.017 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.6903, allocations: 16 kB / 1.017 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.132e-05/0.6904, allocations: 17.12 kB / 1.017 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.6904, allocations: 5.766 kB / 1.017 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.6904, allocations: 1.172 kB / 1.017 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.6904, allocations: 5.625 kB / 1.017 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.6905, allocations: 222.4 kB / 1.017 GB, free: 55.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.6905, allocations: 2.531 kB / 1.017 GB, free: 55.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.803e-05/0.6906, allocations: 6.812 kB / 1.017 GB, free: 55.19 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.6906, allocations: 8.062 kB / 1.017 GB, free: 55.19 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.6906, allocations: 0 / 1.017 GB, free: 55.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6906, allocations: 0 / 1.017 GB, free: 55.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.6906, allocations: 0 / 1.017 GB, free: 55.19 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.6908, allocations: 147 kB / 1.017 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.183e-05/0.6909, allocations: 97.92 kB / 1.017 GB, free: 55.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.6909, allocations: 3.359 kB / 1.017 GB, free: 55.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.216e-05/0.691, allocations: 7.25 kB / 1.017 GB, free: 55.01 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.691, allocations: 10.31 kB / 1.017 GB, free: 55.01 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.691, allocations: 10.22 kB / 1.017 GB, free: 55.01 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001524/0.6912, allocations: 195.2 kB / 1.018 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6912, allocations: 0 / 1.018 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002359/0.6914, allocations: 37.86 kB / 1.018 GB, free: 54.93 MB / 0.7136 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 (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.0009607/0.6924, allocations: 487.8 kB / 1.018 GB, free: 54.76 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002212/0.6926, allocations: 71.83 kB / 1.018 GB, free: 54.76 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.6927, allocations: 0 / 1.018 GB, free: 54.76 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.562e-05/0.6927, allocations: 37.22 kB / 1.018 GB, free: 54.76 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.693, allocations: 31.69 kB / 1.018 GB, free: 54.76 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000467/0.6935, allocations: 314.1 kB / 1.019 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.6937, allocations: 0.7266 MB / 1.019 GB, free: 53.89 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.869e-05/0.6937, allocations: 28 kB / 1.019 GB, free: 53.89 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.6938, allocations: 21.2 kB / 1.019 GB, free: 53.88 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.6938, allocations: 0 / 1.019 GB, free: 53.88 MB / 0.7136 GB Notification: Performance of Templates: time 0.00533/0.6991, allocations: 2.352 MB / 1.022 GB, free: 53.75 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)