Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Factorial.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Factorial") translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Factorial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.241/1.241, allocations: 255.9 MB / 271.2 MB, free: 8.93 MB / 218.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.0009305/0.0009306, allocations: 177.9 kB / 330.8 MB, free: 0.5 MB / 250.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.337/1.337, allocations: 225.7 MB / 0.6016 GB, free: 1.648 MB / 426.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.0007234/0.0007234, allocations: 111.5 kB / 0.709 GB, free: 7.199 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002923/0.0002923, allocations: 10.94 kB / 0.8261 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1604, allocations: 109.2 MB / 0.9327 GB, free: 24.39 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.001237/0.1617, allocations: 1.23 MB / 0.9339 GB, free: 23.14 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000317/0.1621, allocations: 205.6 kB / 0.9341 GB, free: 22.92 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.633e-05/0.1621, allocations: 0 / 0.9341 GB, free: 22.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.665e-05/0.1621, allocations: 0 / 0.9341 GB, free: 22.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.978e-05/0.1622, allocations: 0 / 0.9341 GB, free: 22.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001777/0.1624, allocations: 23.92 kB / 0.9342 GB, free: 22.9 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.187e-05/0.1624, allocations: 23.98 kB / 0.9342 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.385e-05/0.1625, allocations: 7.984 kB / 0.9342 GB, free: 22.87 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.639e-05/0.1626, allocations: 19.86 kB / 0.9342 GB, free: 22.85 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.206e-05/0.1626, allocations: 23.86 kB / 0.9342 GB, free: 22.82 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.1626, allocations: 0 / 0.9342 GB, free: 22.82 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.823e-05/0.1627, allocations: 8 kB / 0.9342 GB, free: 22.82 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.1627, allocations: 7.984 kB / 0.9343 GB, free: 22.81 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.993e-05/0.1627, allocations: 33.64 kB / 0.9343 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.1629, allocations: 31.88 kB / 0.9343 GB, free: 22.74 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1629, allocations: 0 / 0.9343 GB, free: 22.74 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1629, allocations: 4 kB / 0.9343 GB, free: 22.73 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.1629, allocations: 0 / 0.9343 GB, free: 22.73 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003277/0.1632, allocations: 343.8 kB / 0.9346 GB, free: 22.35 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.1633, allocations: 11.98 kB / 0.9347 GB, free: 22.34 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.676e-05/0.1633, allocations: 8.844 kB / 0.9347 GB, free: 22.33 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.517e-05/0.1634, allocations: 160.4 kB / 0.9348 GB, free: 22.13 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.1634, allocations: 4.375 kB / 0.9348 GB, free: 22.13 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.1634, allocations: 384 / 0.9348 GB, free: 22.13 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.1636, allocations: 70.22 kB / 0.9349 GB, free: 22.05 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.1636, allocations: 192 / 0.9349 GB, free: 22.05 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.1636, allocations: 3.938 kB / 0.9349 GB, free: 22.05 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1636, allocations: 0 / 0.9349 GB, free: 22.05 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.1638, allocations: 51.89 kB / 0.9349 GB, free: 22 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002715/0.1641, allocations: 269 kB / 0.9352 GB, free: 21.69 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002633/0.1643, allocations: 62.55 kB / 0.9353 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.611e-05/0.1644, allocations: 40.81 kB / 0.9353 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.532e-05/0.1645, allocations: 77.11 kB / 0.9354 GB, free: 21.48 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.31e-05/0.1645, allocations: 42.5 kB / 0.9354 GB, free: 21.43 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1645, allocations: 3.938 kB / 0.9354 GB, free: 21.43 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003227/0.1649, allocations: 109.5 kB / 0.9355 GB, free: 21.31 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.681e-05/0.1649, allocations: 51.41 kB / 0.9356 GB, free: 21.25 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.182e-05/0.1649, allocations: 105.8 kB / 0.9357 GB, free: 21.14 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.084e-06/0.165, allocations: 25.7 kB / 0.9357 GB, free: 21.11 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.135e-05/0.165, allocations: 80.14 kB / 0.9358 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.26e-05/0.165, allocations: 15.84 kB / 0.9358 GB, free: 21.01 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.165, allocations: 4 kB / 0.9358 GB, free: 21 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 3.792e-05/0.1651, allocations: 310.8 kB / 0.9361 GB, free: 20.69 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.25e-05/0.1651, allocations: 27.97 kB / 0.9361 GB, free: 20.66 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.823e-05/0.1652, allocations: 27.92 kB / 0.9361 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.1654, allocations: 52.81 kB / 0.9362 GB, free: 20.58 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1654, allocations: 3.938 kB / 0.9362 GB, free: 20.58 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000175/0.1656, allocations: 85.66 kB / 0.9363 GB, free: 20.49 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.1656, allocations: 8 kB / 0.9363 GB, free: 20.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1656, allocations: 0 / 0.9363 GB, free: 20.48 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.1656, allocations: 3.938 kB / 0.9363 GB, free: 20.48 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.977e-05/0.1657, allocations: 11.98 kB / 0.9363 GB, free: 20.46 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1657, allocations: 4 kB / 0.9363 GB, free: 20.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.947e-05/0.1657, allocations: 11.98 kB / 0.9363 GB, free: 20.45 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.1658, allocations: 0 / 0.9363 GB, free: 20.45 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (fac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * 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 4.851e-05/0.1658, allocations: 122.4 kB / 0.9364 GB, free: 20.32 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.1658, allocations: 3.906 kB / 0.9364 GB, free: 20.32 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.1661, allocations: 93.14 kB / 0.9365 GB, free: 20.21 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1661, allocations: 0 / 0.9365 GB, free: 20.21 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1661, allocations: 0 / 0.9365 GB, free: 20.21 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.1661, allocations: 0 / 0.9365 GB, free: 20.21 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.1662, allocations: 173.6 kB / 0.9367 GB, free: 20 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1662, allocations: 0 / 0.9367 GB, free: 20 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.751e-05/0.1663, allocations: 15.98 kB / 0.9367 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1663, allocations: 0 / 0.9367 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.1663, allocations: 0.5625 kB / 0.9367 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.1663, allocations: 4 kB / 0.9367 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1663, allocations: 0 / 0.9367 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.1665, allocations: 191.3 kB / 0.9369 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.608e-05/0.1665, allocations: 85.11 kB / 0.937 GB, free: 19.67 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.1665, allocations: 0 / 0.937 GB, free: 19.67 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-05/0.1666, allocations: 7.984 kB / 0.937 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.1667, allocations: 11.98 kB / 0.937 GB, free: 19.65 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.1667, allocations: 0 / 0.937 GB, free: 19.65 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.816e-05/0.1667, allocations: 79.28 kB / 0.9371 GB, free: 19.57 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1667, allocations: 0 / 0.9371 GB, free: 19.57 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001912/0.1669, allocations: 8 kB / 0.9371 GB, free: 19.57 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (fac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0001054/0.167, allocations: 115.8 kB / 0.9372 GB, free: 19.45 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001929/0.1672, allocations: 55.89 kB / 0.9372 GB, free: 19.39 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1672, allocations: 0 / 0.9372 GB, free: 19.39 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.427e-05/0.1673, allocations: 31.98 kB / 0.9373 GB, free: 19.36 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.1675, allocations: 7.938 kB / 0.9373 GB, free: 19.35 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002158/0.1678, allocations: 120.6 kB / 0.9374 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.36e-05/0.1679, allocations: 0.6809 MB / 0.9381 GB, free: 18.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.945e-05/0.1679, allocations: 8 kB / 0.9381 GB, free: 18.49 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.224e-05/0.1679, allocations: 15.42 kB / 0.9381 GB, free: 18.48 MB / 0.5886 GB Notification: Performance of SimCode: time 2e-07/0.1679, allocations: 0 / 0.9381 GB, free: 18.48 MB / 0.5886 GB Notification: Performance of Templates: time 0.002082/0.17, allocations: 0.617 MB / 0.9387 GB, free: 17.86 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Factorial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Factorial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Factorial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Factorial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Factorial.pipe 2>&1)