Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.FallingFactorial.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.655/4.655, allocations: 0.5623 GB / 0.5775 GB, free: 66.96 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002724/0.002723, allocations: 358.1 kB / 0.6446 GB, free: 21.68 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.507/4.507, allocations: 410.7 MB / 1.113 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001796/0.001796, allocations: 192.9 kB / 1.226 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0007374/0.0007377, allocations: 14.94 kB / 1.349 GB, free: 320.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2273, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001826/0.2291, allocations: 1.24 MB / 1.463 GB, free: 219.4 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0003928/0.2296, allocations: 124.6 kB / 1.463 GB, free: 219.3 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.12e-05/0.2296, allocations: 0 / 1.463 GB, free: 219.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.772e-05/0.2297, allocations: 7.922 kB / 1.463 GB, free: 219.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.312e-05/0.2297, allocations: 7.922 kB / 1.463 GB, free: 219.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.23, allocations: 27.86 kB / 1.463 GB, free: 219.3 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.636e-05/0.2301, allocations: 31.92 kB / 1.463 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.935e-05/0.2302, allocations: 9.578 kB / 1.463 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.107e-05/0.2302, allocations: 15.98 kB / 1.463 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.381e-05/0.2303, allocations: 11.92 kB / 1.463 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.2303, allocations: 0 / 1.463 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.337e-05/0.2304, allocations: 17.05 kB / 1.463 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.2304, allocations: 7.938 kB / 1.463 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.274e-05/0.2304, allocations: 33.69 kB / 1.463 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 9.335e-05/0.2305, allocations: 29.47 kB / 1.463 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.2306, allocations: 0 / 1.463 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2306, allocations: 0 / 1.463 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.2306, allocations: 0 / 1.463 GB, free: 219.1 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004934/0.2311, allocations: 353.1 kB / 1.463 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.2311, allocations: 9.906 kB / 1.463 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.2312, allocations: 8 kB / 1.463 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.777e-05/0.2313, allocations: 174.9 kB / 1.463 GB, free: 218.5 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.2313, allocations: 5.281 kB / 1.463 GB, free: 218.5 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.2314, allocations: 0 / 1.463 GB, free: 218.5 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/0.2316, allocations: 71.64 kB / 1.463 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2317, allocations: 0 / 1.463 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.2317, allocations: 0 / 1.463 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2317, allocations: 0.6562 kB / 1.463 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000325/0.232, allocations: 61.59 kB / 1.463 GB, free: 218.3 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004318/0.2325, allocations: 279.8 kB / 1.464 GB, free: 218 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004869/0.233, allocations: 67.56 kB / 1.464 GB, free: 218 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.2332, allocations: 35.44 kB / 1.464 GB, free: 217.9 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002402/0.2334, allocations: 393.5 kB / 1.464 GB, free: 217.4 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.2335, allocations: 38.56 kB / 1.464 GB, free: 217.4 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 2.254e-06/0.2335, allocations: 0.875 kB / 1.464 GB, free: 217.4 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0006079/0.2341, allocations: 112 kB / 1.464 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.944e-05/0.2341, allocations: 56.69 kB / 1.464 GB, free: 217.2 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.537e-05/0.2342, allocations: 121.8 kB / 1.465 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.2342, allocations: 26.23 kB / 1.465 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.833e-05/0.2343, allocations: 85.67 kB / 1.465 GB, free: 217 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.2343, allocations: 11.89 kB / 1.465 GB, free: 217 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-06/0.2343, allocations: 0 / 1.465 GB, free: 217 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.697e-05/0.2344, allocations: 312 kB / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.2346, allocations: 25.02 kB / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.2347, allocations: 31.41 kB / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.2349, allocations: 23.98 kB / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2349, allocations: 3.938 kB / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003589/0.2353, allocations: 80.28 kB / 1.465 GB, free: 216.5 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.2353, allocations: 11.98 kB / 1.465 GB, free: 216.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.2353, allocations: 0 / 1.465 GB, free: 216.5 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.2354, allocations: 3.938 kB / 1.465 GB, free: 216.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.2355, allocations: 17.52 kB / 1.465 GB, free: 216.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.2355, allocations: 0 / 1.465 GB, free: 216.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.2357, allocations: 17.55 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.2357, allocations: 0 / 1.465 GB, free: 216.4 MB / 0.8073 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 (rea2Int.y,falFac.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.893e-05/0.2358, allocations: 113.8 kB / 1.465 GB, free: 216.3 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/0.2358, allocations: 6.984 kB / 1.465 GB, free: 216.3 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004121/0.2362, allocations: 93.55 kB / 1.465 GB, free: 216.2 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2363, allocations: 0.5625 kB / 1.465 GB, free: 216.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2363, allocations: 4.562 kB / 1.465 GB, free: 216.2 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.833e-05/0.2363, allocations: 77.11 kB / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.2363, allocations: 4.547 kB / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.2365, allocations: 15.11 kB / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.2366, allocations: 3.938 kB / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004439/0.2371, allocations: 179.1 kB / 1.466 GB, free: 215.9 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004061/0.2375, allocations: 257.2 kB / 1.466 GB, free: 215.6 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001916/0.2377, allocations: 35.28 kB / 1.466 GB, free: 215.6 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.316e-05/0.2378, allocations: 91.2 kB / 1.466 GB, free: 215.5 MB / 0.8073 GB Notification: Performance of Backend: time 8.51e-07/0.2378, allocations: 0 / 1.466 GB, free: 215.5 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000852/0.2386, allocations: 115.2 kB / 1.466 GB, free: 215.4 MB / 0.8073 GB Notification: Performance of SimCode: time 0.0005003/0.2392, allocations: 0.5697 MB / 1.467 GB, free: 214.8 MB / 0.8073 GB Notification: Performance of Templates: time 0.004561/0.2437, allocations: 0.7435 MB / 1.467 GB, free: 214.1 MB / 0.8073 GB