Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.725/1.725, allocations: 297.4 MB / 312.6 MB, free: 2.93 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.000945/0.0009452, allocations: 189.2 kB / 382.3 MB, free: 14.82 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.489/1.489, allocations: 225.7 MB / 0.6617 GB, free: 7.23 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.0007955/0.0007955, allocations: 91.92 kB / 0.7789 GB, free: 46.63 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003818, allocations: 8 kB / 0.9058 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5859/0.5863, allocations: 119.2 MB / 1.022 GB, free: 57.66 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003029/0.5894, allocations: 1.467 MB / 1.024 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002196/0.5916, allocations: 1.479 MB / 1.025 GB, free: 55.8 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.5918, allocations: 1.375 kB / 1.025 GB, free: 55.8 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004479/0.5923, allocations: 51.98 kB / 1.025 GB, free: 55.79 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000305/0.5926, allocations: 64.28 kB / 1.025 GB, free: 55.76 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007965/0.5934, allocations: 201.7 kB / 1.025 GB, free: 55.66 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002814/0.5937, allocations: 140 kB / 1.026 GB, free: 55.6 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.5939, allocations: 22.53 kB / 1.026 GB, free: 55.6 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.594, allocations: 60.8 kB / 1.026 GB, free: 55.57 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.5941, allocations: 52.3 kB / 1.026 GB, free: 55.55 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.5942, allocations: 3.75 kB / 1.026 GB, free: 55.55 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002048/0.5944, allocations: 59.72 kB / 1.026 GB, free: 55.54 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.5945, allocations: 33.55 kB / 1.026 GB, free: 55.52 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.5946, allocations: 82.2 kB / 1.026 GB, free: 55.45 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004647/0.5951, allocations: 181 kB / 1.026 GB, free: 55.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/0.5951, allocations: 0 / 1.026 GB, free: 55.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.605e-06/0.5952, allocations: 3.938 kB / 1.026 GB, free: 55.39 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.5952, allocations: 1.438 kB / 1.026 GB, free: 55.39 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.0007847/0.596, allocations: 467 kB / 1.027 GB, free: 54.94 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.596, allocations: 7.938 kB / 1.027 GB, free: 54.94 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.756e-05/0.5961, allocations: 17.94 kB / 1.027 GB, free: 54.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.5965, allocations: 253.9 kB / 1.027 GB, free: 54.69 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.5965, allocations: 6.812 kB / 1.027 GB, free: 54.69 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.5965, allocations: 17.02 kB / 1.027 GB, free: 54.68 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.5968, allocations: 100.7 kB / 1.027 GB, free: 54.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.5968, allocations: 0 / 1.027 GB, free: 54.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.5968, allocations: 1.375 kB / 1.027 GB, free: 54.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.73e-05/0.5969, allocations: 3.531 kB / 1.027 GB, free: 54.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.597, allocations: 32.98 kB / 1.027 GB, free: 54.59 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005752/0.5976, allocations: 353.2 kB / 1.027 GB, free: 54.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.5978, allocations: 87.91 kB / 1.027 GB, free: 54.24 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.898e-05/0.5979, allocations: 29.92 kB / 1.027 GB, free: 54.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.313e-05/0.598, allocations: 8.5 kB / 1.027 GB, free: 54.22 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002512/0.5982, allocations: 79.58 kB / 1.027 GB, free: 54.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 2.615e-06/0.5982, allocations: 96 / 1.027 GB, free: 54.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0003642/0.5986, allocations: 145.5 kB / 1.028 GB, free: 54.09 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.5987, allocations: 102.8 kB / 1.028 GB, free: 53.97 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/0.599, allocations: 262.8 kB / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.599, allocations: 27.7 kB / 1.028 GB, free: 53.79 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.812e-05/0.5991, allocations: 121 kB / 1.028 GB, free: 53.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.5991, allocations: 21.47 kB / 1.028 GB, free: 53.67 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-06/0.5991, allocations: 0.6875 kB / 1.028 GB, free: 53.67 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.406e-05/0.5992, allocations: 337.6 kB / 1.028 GB, free: 53.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.119e-05/0.5993, allocations: 22.73 kB / 1.028 GB, free: 53.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.018e-05/0.5994, allocations: 72.38 kB / 1.029 GB, free: 53.28 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.5995, allocations: 70.45 kB / 1.029 GB, free: 53.24 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5995, allocations: 0.5625 kB / 1.029 GB, free: 53.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001994/0.5997, allocations: 112.9 kB / 1.029 GB, free: 53.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.5998, allocations: 7.812 kB / 1.029 GB, free: 53.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.5998, allocations: 3.234 kB / 1.029 GB, free: 53.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.5998, allocations: 0 / 1.029 GB, free: 53.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.914e-05/0.5999, allocations: 19.27 kB / 1.029 GB, free: 53.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.5999, allocations: 32 / 1.029 GB, free: 53.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.613e-05/0.6, allocations: 15.48 kB / 1.029 GB, free: 53.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.6, allocations: 4.75 kB / 1.029 GB, free: 53.16 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 0.0001168/0.6001, allocations: 149.5 kB / 1.029 GB, free: 53.03 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.6002, allocations: 15.66 kB / 1.029 GB, free: 53.02 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.044e-05/0.6002, allocations: 17.94 kB / 1.029 GB, free: 53.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.6002, allocations: 2.141 kB / 1.029 GB, free: 53.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.6002, allocations: 7.375 kB / 1.029 GB, free: 53.01 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.6002, allocations: 5.156 kB / 1.029 GB, free: 53.01 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.6004, allocations: 233 kB / 1.029 GB, free: 52.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.6004, allocations: 0 / 1.029 GB, free: 52.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.905e-05/0.6005, allocations: 4.609 kB / 1.029 GB, free: 52.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.6005, allocations: 6.875 kB / 1.029 GB, free: 52.78 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.6005, allocations: 1.359 kB / 1.029 GB, free: 52.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.6005, allocations: 0 / 1.029 GB, free: 52.78 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6005, allocations: 0 / 1.029 GB, free: 52.78 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.6008, allocations: 140 kB / 1.029 GB, free: 52.69 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.193e-05/0.6008, allocations: 104.4 kB / 1.029 GB, free: 52.58 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.6008, allocations: 0.75 kB / 1.029 GB, free: 52.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.484e-05/0.6009, allocations: 5.109 kB / 1.029 GB, free: 52.58 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.601, allocations: 14.19 kB / 1.029 GB, free: 52.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.601, allocations: 8.406 kB / 1.029 GB, free: 52.57 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001683/0.6012, allocations: 195.1 kB / 1.03 GB, free: 52.46 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6012, allocations: 0 / 1.03 GB, free: 52.46 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002573/0.6014, allocations: 34.67 kB / 1.03 GB, free: 52.45 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.0009785/0.6024, allocations: 490 kB / 1.03 GB, free: 52.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002135/0.6026, allocations: 69.73 kB / 1.03 GB, free: 52.19 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.6027, allocations: 3.938 kB / 1.03 GB, free: 52.19 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.275e-05/0.6028, allocations: 41.72 kB / 1.03 GB, free: 52.17 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.6031, allocations: 34.81 kB / 1.03 GB, free: 52.16 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004932/0.6036, allocations: 327 kB / 1.031 GB, free: 51.95 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001603/0.6037, allocations: 0.7265 MB / 1.031 GB, free: 51.25 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.252e-05/0.6038, allocations: 21.17 kB / 1.031 GB, free: 51.24 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.572e-05/0.6039, allocations: 22.95 kB / 1.031 GB, free: 51.23 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/0.6039, allocations: 0 / 1.031 GB, free: 51.23 MB / 0.698 GB Notification: Performance of Templates: time 0.00531/0.6092, allocations: 2.412 MB / 1.034 GB, free: 51.04 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)