Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.654/1.654, allocations: 292.6 MB / 307.9 MB, free: 7.133 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.001032/0.001032, allocations: 185 kB / 376.5 MB, free: 4.441 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.389/1.389, allocations: 225.7 MB / 0.655 GB, free: 13.08 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.001028/0.001028, allocations: 102.6 kB / 0.7711 GB, free: 50.51 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005758/0.0005759, allocations: 12 kB / 0.897 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6176/0.6182, allocations: 118.2 MB / 1.012 GB, free: 57.7 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002123/0.6204, allocations: 1.443 MB / 1.014 GB, free: 57.65 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.6219, allocations: 1.014 MB / 1.015 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.713e-05/0.622, allocations: 0.9062 kB / 1.015 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002786/0.6223, allocations: 59.61 kB / 1.015 GB, free: 57.51 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001691/0.6224, allocations: 64.2 kB / 1.015 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004949/0.6229, allocations: 185.6 kB / 1.015 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.6231, allocations: 120.8 kB / 1.015 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.857e-05/0.6232, allocations: 23.25 kB / 1.015 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.915e-05/0.6233, allocations: 55.3 kB / 1.015 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.37e-05/0.6234, allocations: 57.39 kB / 1.015 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.6234, allocations: 2.531 kB / 1.015 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.6235, allocations: 57.22 kB / 1.015 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.606e-05/0.6236, allocations: 32.69 kB / 1.015 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.888e-05/0.6237, allocations: 77.39 kB / 1.015 GB, free: 57.37 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.6239, allocations: 148.9 kB / 1.016 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.6239, allocations: 1.469 kB / 1.016 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6239, allocations: 0 / 1.016 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.6239, allocations: 0 / 1.016 GB, free: 57.36 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.000498/0.6244, allocations: 465.5 kB / 1.016 GB, free: 56.92 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.6245, allocations: 10.28 kB / 1.016 GB, free: 56.92 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.246e-05/0.6245, allocations: 14.28 kB / 1.016 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.6248, allocations: 260.1 kB / 1.016 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.6248, allocations: 8.656 kB / 1.016 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.6248, allocations: 6.969 kB / 1.016 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.625, allocations: 90.78 kB / 1.016 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.625, allocations: 1.219 kB / 1.016 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.625, allocations: 3.938 kB / 1.016 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.625, allocations: 2.406 kB / 1.016 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.309e-05/0.6251, allocations: 40.17 kB / 1.017 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004051/0.6256, allocations: 344.9 kB / 1.017 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.6258, allocations: 99.27 kB / 1.017 GB, free: 56.33 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.082e-05/0.6259, allocations: 30.03 kB / 1.017 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.6259, allocations: 0 / 1.017 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.6261, allocations: 87.22 kB / 1.017 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.6261, allocations: 0 / 1.017 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0002978/0.6264, allocations: 139.2 kB / 1.017 GB, free: 56.23 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.6264, allocations: 105.9 kB / 1.017 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.6267, allocations: 260.4 kB / 1.018 GB, free: 56 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.6267, allocations: 41.09 kB / 1.018 GB, free: 55.96 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.006e-05/0.6267, allocations: 111.5 kB / 1.018 GB, free: 55.88 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.6268, allocations: 22.97 kB / 1.018 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-06/0.6268, allocations: 0.6562 kB / 1.018 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.355e-05/0.6268, allocations: 335 kB / 1.018 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.056e-05/0.6269, allocations: 23.03 kB / 1.018 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.424e-05/0.627, allocations: 67.92 kB / 1.018 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.6271, allocations: 74.8 kB / 1.018 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6271, allocations: 0 / 1.018 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001886/0.6273, allocations: 109.6 kB / 1.018 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.6274, allocations: 8.75 kB / 1.018 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.6274, allocations: 0 / 1.018 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.6274, allocations: 5.688 kB / 1.018 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.785e-05/0.6275, allocations: 12.42 kB / 1.018 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.6275, allocations: 2.562 kB / 1.018 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.418e-05/0.6276, allocations: 17.16 kB / 1.018 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.6276, allocations: 3.969 kB / 1.018 GB, free: 55.45 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.0001046/0.6277, allocations: 139.2 kB / 1.018 GB, free: 55.33 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.6277, allocations: 16.91 kB / 1.018 GB, free: 55.32 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.412e-05/0.6278, allocations: 21.92 kB / 1.018 GB, free: 55.31 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.6278, allocations: 5.781 kB / 1.018 GB, free: 55.31 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.6278, allocations: 0 / 1.018 GB, free: 55.31 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.6278, allocations: 6.906 kB / 1.019 GB, free: 55.31 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.628, allocations: 226.2 kB / 1.019 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.628, allocations: 0 / 1.019 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.201e-05/0.628, allocations: 7.219 kB / 1.019 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.628, allocations: 5.438 kB / 1.019 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.628, allocations: 5.281 kB / 1.019 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.6281, allocations: 0.6562 kB / 1.019 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6281, allocations: 0 / 1.019 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.6283, allocations: 145.4 kB / 1.019 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.961e-05/0.6283, allocations: 96.47 kB / 1.019 GB, free: 54.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.6284, allocations: 9.688 kB / 1.019 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.432e-05/0.6284, allocations: 3.453 kB / 1.019 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.6285, allocations: 10.03 kB / 1.019 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.6285, allocations: 7.375 kB / 1.019 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001376/0.6286, allocations: 197.2 kB / 1.019 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6286, allocations: 0 / 1.019 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002203/0.6289, allocations: 35.53 kB / 1.019 GB, free: 54.85 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.001043/0.6299, allocations: 0.4902 MB / 1.02 GB, free: 54.67 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002203/0.6301, allocations: 62.41 kB / 1.02 GB, free: 54.67 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.6302, allocations: 4.688 kB / 1.02 GB, free: 54.67 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.754e-05/0.6303, allocations: 39.7 kB / 1.02 GB, free: 54.67 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.6305, allocations: 37.41 kB / 1.02 GB, free: 54.67 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004953/0.631, allocations: 310.7 kB / 1.02 GB, free: 54.5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/0.6312, allocations: 0.7202 MB / 1.021 GB, free: 53.8 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.218e-05/0.6313, allocations: 28.03 kB / 1.021 GB, free: 53.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.6314, allocations: 16.78 kB / 1.021 GB, free: 53.79 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.6314, allocations: 6.844 kB / 1.021 GB, free: 53.79 MB / 0.7136 GB Notification: Performance of Templates: time 0.005413/0.6368, allocations: 2.392 MB / 1.023 GB, free: 53.66 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)