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.837/4.837, allocations: 0.5623 GB / 0.577 GB, free: 3.336 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002393/0.002392, allocations: 358.7 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.141/4.141, allocations: 410.7 MB / 1.112 GB, free: 5.965 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001788/0.001788, allocations: 187.6 kB / 1.225 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004922/0.0004924, allocations: 16 kB / 1.348 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6313/0.6318, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001463/0.6333, allocations: 1.24 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00031/0.6337, allocations: 127.4 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.471e-05/0.6337, allocations: 0 / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.809e-05/0.6338, allocations: 4.703 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.833e-05/0.6338, allocations: 3.938 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.634, allocations: 28.81 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.543e-05/0.6341, allocations: 27.92 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.198e-05/0.6342, allocations: 15.17 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.592e-05/0.6342, allocations: 7.938 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.018e-05/0.6343, allocations: 23.91 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.6343, allocations: 0 / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.253e-05/0.6344, allocations: 15.98 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.858e-06/0.6344, allocations: 0 / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.985e-05/0.6344, allocations: 29.7 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 8.095e-05/0.6345, allocations: 33.83 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.6346, allocations: 0 / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.474e-06/0.6346, allocations: 3.938 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.957e-06/0.6346, allocations: 0 / 1.462 GB, free: 282.8 MB / 0.8542 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.000398/0.635, allocations: 352.6 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.635, allocations: 11.62 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.6351, allocations: 4 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8e-05/0.6352, allocations: 167 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.6352, allocations: 8 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.6352, allocations: 1.469 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.6354, allocations: 70.31 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.6355, allocations: 3.938 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.6355, allocations: 1.469 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.783e-06/0.6355, allocations: 0.8125 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002262/0.6357, allocations: 65.77 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.6361, allocations: 278.2 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003447/0.6365, allocations: 61.17 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.6366, allocations: 34.17 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001957/0.6368, allocations: 398.6 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.502e-05/0.6368, allocations: 40.06 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 2.335e-06/0.6368, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0004332/0.6373, allocations: 112.3 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.6373, allocations: 59.95 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.299e-05/0.6374, allocations: 108.2 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.6374, allocations: 25.7 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.268e-05/0.6375, allocations: 88.14 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.6375, allocations: 11.91 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-06/0.6375, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.189e-05/0.6376, allocations: 324.8 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.6377, allocations: 23.98 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.6378, allocations: 29.91 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.6379, allocations: 26.89 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.277e-06/0.6379, allocations: 0 / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002618/0.6382, allocations: 83.41 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.6383, allocations: 8 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.075e-06/0.6383, allocations: 1.844 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.6383, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.6384, allocations: 11.98 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.595e-06/0.6384, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.541e-05/0.6385, allocations: 17.16 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.142e-06/0.6385, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 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 6.388e-05/0.6386, allocations: 115.5 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.698e-05/0.6387, allocations: 3.906 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003144/0.639, allocations: 98.02 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.478e-06/0.639, allocations: 4.609 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.099e-06/0.639, allocations: 10.09 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.51e-06/0.639, allocations: 4 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.6392, allocations: 169.6 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2e-06/0.6392, allocations: 0 / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.877e-05/0.6393, allocations: 11.98 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.6393, allocations: 1.5 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.6394, allocations: 4 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.191e-06/0.6394, allocations: 0 / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.745e-06/0.6394, allocations: 0 / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002858/0.6397, allocations: 186.8 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.812e-05/0.6397, allocations: 85.02 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.6397, allocations: 8.438 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.6399, allocations: 5.25 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/0.6399, allocations: 7.984 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.811e-06/0.64, allocations: 1 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.814e-05/0.64, allocations: 95.56 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.84e-07/0.64, allocations: 0.75 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003111/0.6403, allocations: 8 kB / 1.465 GB, free: 279.2 MB / 0.8542 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 (rea2Int.y,falFac.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 (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.0001293/0.6405, allocations: 103.5 kB / 1.465 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002697/0.6408, allocations: 57.11 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6408, allocations: 0 / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.6409, allocations: 40.06 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.6412, allocations: 3.953 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002976/0.6416, allocations: 125.4 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.6417, allocations: 0.6853 MB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.264e-05/0.6418, allocations: 8.719 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.6418, allocations: 12.38 kB / 1.466 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.646e-06/0.6418, allocations: 0 / 1.466 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.003073/0.6449, allocations: 0.641 MB / 1.467 GB, free: 277.5 MB / 0.8542 GB