Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.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) 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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.806/1.806, allocations: 306.1 MB / 321.4 MB, free: 10.72 MB / 250.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.00104/0.00104, allocations: 179.5 kB / 393.1 MB, free: 4.051 MB / 314.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.332/1.332, allocations: 225.7 MB / 0.6743 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007477/0.0007478, allocations: 96.77 kB / 0.7935 GB, free: 39.97 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003181/0.0003181, allocations: 12 kB / 0.9224 GB, free: 8.609 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5026/0.5029, allocations: 121.3 MB / 1.041 GB, free: 58.23 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.001842/0.5048, allocations: 1.462 MB / 1.042 GB, free: 57.25 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001472/0.5063, allocations: 1.485 MB / 1.044 GB, free: 55.99 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.096e-05/0.5064, allocations: 0 / 1.044 GB, free: 55.99 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.5067, allocations: 58.36 kB / 1.044 GB, free: 55.97 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.5069, allocations: 67.17 kB / 1.044 GB, free: 55.94 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000489/0.5074, allocations: 193.7 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.5076, allocations: 136.5 kB / 1.044 GB, free: 55.79 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.5077, allocations: 23.28 kB / 1.044 GB, free: 55.78 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.638e-05/0.5078, allocations: 51.75 kB / 1.044 GB, free: 55.76 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.521e-05/0.5079, allocations: 65.61 kB / 1.044 GB, free: 55.73 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.5079, allocations: 3.906 kB / 1.044 GB, free: 55.73 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.508, allocations: 54.3 kB / 1.044 GB, free: 55.72 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 7.221e-05/0.5081, allocations: 33.95 kB / 1.044 GB, free: 55.71 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.363e-05/0.5082, allocations: 81.67 kB / 1.044 GB, free: 55.64 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.5084, allocations: 193 kB / 1.045 GB, free: 55.57 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5084, allocations: 1.031 kB / 1.045 GB, free: 55.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5084, allocations: 0 / 1.045 GB, free: 55.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.5084, allocations: 1.844 kB / 1.045 GB, free: 55.57 MB / 0.698 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.000519/0.509, allocations: 468.2 kB / 1.045 GB, free: 55.12 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.509, allocations: 6.219 kB / 1.045 GB, free: 55.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.619e-05/0.5091, allocations: 16.78 kB / 1.045 GB, free: 55.11 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.5093, allocations: 247.2 kB / 1.045 GB, free: 54.88 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.5094, allocations: 7.031 kB / 1.045 GB, free: 54.87 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.5094, allocations: 6.094 kB / 1.045 GB, free: 54.87 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.5096, allocations: 103.3 kB / 1.045 GB, free: 54.79 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.5096, allocations: 1.359 kB / 1.045 GB, free: 54.79 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.5096, allocations: 4 kB / 1.045 GB, free: 54.79 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.5096, allocations: 3.406 kB / 1.045 GB, free: 54.79 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.5097, allocations: 30.09 kB / 1.046 GB, free: 54.78 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004252/0.5102, allocations: 353 kB / 1.046 GB, free: 54.47 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.5104, allocations: 93.12 kB / 1.046 GB, free: 54.42 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.354e-05/0.5105, allocations: 44.14 kB / 1.046 GB, free: 54.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.5105, allocations: 0 / 1.046 GB, free: 54.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001993/0.5107, allocations: 78.59 kB / 1.046 GB, free: 54.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.5107, allocations: 0.6562 kB / 1.046 GB, free: 54.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0003173/0.511, allocations: 146.1 kB / 1.046 GB, free: 54.27 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.5111, allocations: 105.2 kB / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.5113, allocations: 262.3 kB / 1.047 GB, free: 54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.5113, allocations: 29.27 kB / 1.047 GB, free: 53.96 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.594e-05/0.5114, allocations: 115.9 kB / 1.047 GB, free: 53.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.5114, allocations: 27.52 kB / 1.047 GB, free: 53.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-06/0.5114, allocations: 0 / 1.047 GB, free: 53.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.541e-05/0.5115, allocations: 331.8 kB / 1.047 GB, free: 53.52 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.699e-05/0.5116, allocations: 25 kB / 1.047 GB, free: 53.51 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.086e-05/0.5117, allocations: 74.23 kB / 1.047 GB, free: 53.45 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.5118, allocations: 67.16 kB / 1.047 GB, free: 53.42 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5118, allocations: 0 / 1.047 GB, free: 53.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001783/0.512, allocations: 118.5 kB / 1.047 GB, free: 53.35 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.512, allocations: 9.766 kB / 1.047 GB, free: 53.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.512, allocations: 3.062 kB / 1.047 GB, free: 53.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.512, allocations: 0 / 1.047 GB, free: 53.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.641e-05/0.5121, allocations: 13.86 kB / 1.047 GB, free: 53.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.5121, allocations: 0 / 1.047 GB, free: 53.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.271e-05/0.5122, allocations: 9.453 kB / 1.047 GB, free: 53.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.5122, allocations: 6.859 kB / 1.047 GB, free: 53.34 MB / 0.698 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 9.468e-05/0.5123, allocations: 145 kB / 1.047 GB, free: 53.22 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/0.5124, allocations: 14.16 kB / 1.047 GB, free: 53.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.991e-05/0.5124, allocations: 17.83 kB / 1.048 GB, free: 53.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.5124, allocations: 8.281 kB / 1.048 GB, free: 53.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.5124, allocations: 0 / 1.048 GB, free: 53.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.5124, allocations: 5.812 kB / 1.048 GB, free: 53.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.5126, allocations: 229.1 kB / 1.048 GB, free: 52.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.5126, allocations: 3.938 kB / 1.048 GB, free: 52.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.87e-05/0.5126, allocations: 9.453 kB / 1.048 GB, free: 52.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.5127, allocations: 0 / 1.048 GB, free: 52.97 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.5127, allocations: 3.297 kB / 1.048 GB, free: 52.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.5127, allocations: 1.094 kB / 1.048 GB, free: 52.97 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.5127, allocations: 192 / 1.048 GB, free: 52.97 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.5129, allocations: 141.9 kB / 1.048 GB, free: 52.87 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.945e-05/0.5129, allocations: 97.92 kB / 1.048 GB, free: 52.77 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.513, allocations: 9.219 kB / 1.048 GB, free: 52.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.307e-05/0.513, allocations: 5.219 kB / 1.048 GB, free: 52.76 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.5131, allocations: 7.688 kB / 1.048 GB, free: 52.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.5131, allocations: 8.547 kB / 1.048 GB, free: 52.75 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000151/0.5133, allocations: 199.3 kB / 1.048 GB, free: 52.64 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5133, allocations: 0 / 1.048 GB, free: 52.64 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000221/0.5135, allocations: 33.91 kB / 1.048 GB, free: 52.63 MB / 0.698 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.0008834/0.5144, allocations: 498.8 kB / 1.049 GB, free: 52.39 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001935/0.5146, allocations: 71.06 kB / 1.049 GB, free: 52.37 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5146, allocations: 0 / 1.049 GB, free: 52.37 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.986e-05/0.5147, allocations: 39.23 kB / 1.049 GB, free: 52.36 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.515, allocations: 38.31 kB / 1.049 GB, free: 52.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004471/0.5154, allocations: 327.7 kB / 1.049 GB, free: 52.12 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.5156, allocations: 0.721 MB / 1.05 GB, free: 51.42 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.639e-05/0.5156, allocations: 30.69 kB / 1.05 GB, free: 51.41 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.925e-05/0.5157, allocations: 18.77 kB / 1.05 GB, free: 51.4 MB / 0.698 GB Notification: Performance of SimCode: time 2.51e-07/0.5157, allocations: 0 / 1.05 GB, free: 51.4 MB / 0.698 GB Notification: Performance of Templates: time 0.00494/0.5206, allocations: 2.411 MB / 1.052 GB, free: 51.2 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)