Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007868/0.0007868, allocations: 108.3 kB / 19.72 MB, free: 420 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 220.3 kB / 23.03 MB, free: 2.953 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.052/1.052, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.063/2.063, allocations: 0.5046 GB / 0.8104 GB, free: 2.75 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009011/0.0009011, allocations: 71.89 kB / 1.177 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7371/0.738, allocations: 180 MB / 1.352 GB, free: 1.664 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002443/0.7405, allocations: 1.555 MB / 1.354 GB, free: 104 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0004273/0.7409, allocations: 127.6 kB / 1.354 GB, free: 15.98 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.106e-05/0.7409, allocations: 4 kB / 1.354 GB, free: 15.97 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 3.163e-05/0.741, allocations: 3.938 kB / 1.354 GB, free: 15.97 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 4.39e-05/0.741, allocations: 3.938 kB / 1.354 GB, free: 15.96 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.7414, allocations: 35.97 kB / 1.354 GB, free: 15.93 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 7.289e-05/0.7414, allocations: 27.92 kB / 1.354 GB, free: 15.9 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.7415, allocations: 15.97 kB / 1.354 GB, free: 15.89 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.715e-05/0.7416, allocations: 15.94 kB / 1.354 GB, free: 15.87 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.143e-05/0.7416, allocations: 19.91 kB / 1.354 GB, free: 15.85 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.7416, allocations: 4 kB / 1.354 GB, free: 15.85 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.806e-05/0.7417, allocations: 19.98 kB / 1.354 GB, free: 15.83 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.601e-05/0.7417, allocations: 11.98 kB / 1.354 GB, free: 15.82 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.637e-05/0.7417, allocations: 15.92 kB / 1.354 GB, free: 15.8 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.7419, allocations: 57.94 kB / 1.354 GB, free: 15.75 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.7419, allocations: 0 / 1.354 GB, free: 15.75 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.304e-06/0.7419, allocations: 0 / 1.354 GB, free: 15.75 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.7419, allocations: 0 / 1.354 GB, free: 15.75 MB / 1.042 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.0005441/0.7424, allocations: 276 kB / 1.355 GB, free: 15.45 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.7425, allocations: 8.922 kB / 1.355 GB, free: 15.44 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.321e-05/0.7425, allocations: 38.75 kB / 1.355 GB, free: 15.39 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.547e-05/0.7425, allocations: 0.9375 kB / 1.355 GB, free: 15.39 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.905e-05/0.7426, allocations: 114.5 kB / 1.355 GB, free: 15.25 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.7426, allocations: 384 / 1.355 GB, free: 15.25 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.7426, allocations: 4.375 kB / 1.355 GB, free: 15.25 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.7428, allocations: 66.2 kB / 1.355 GB, free: 15.18 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.7428, allocations: 7.875 kB / 1.355 GB, free: 15.17 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.7428, allocations: 8 kB / 1.355 GB, free: 15.16 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.7428, allocations: 0 / 1.355 GB, free: 15.16 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.7429, allocations: 39.95 kB / 1.355 GB, free: 15.12 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/0.7433, allocations: 247.8 kB / 1.355 GB, free: 14.84 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.7435, allocations: 66.41 kB / 1.355 GB, free: 14.77 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.979e-05/0.7435, allocations: 24.91 kB / 1.355 GB, free: 14.74 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001259/0.7437, allocations: 11.98 kB / 1.355 GB, free: 14.73 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.7437, allocations: 38.56 kB / 1.355 GB, free: 14.68 MB / 1.042 GB Notification: Performance of pre-optimization done (n=3): time 2.194e-06/0.7437, allocations: 0 / 1.355 GB, free: 14.68 MB / 1.042 GB Notification: Performance of matching and sorting (n=3): time 0.0002539/0.7439, allocations: 93.62 kB / 1.355 GB, free: 14.58 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.744, allocations: 51.41 kB / 1.355 GB, free: 14.52 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.254e-05/0.7441, allocations: 117.8 kB / 1.355 GB, free: 14.39 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.7441, allocations: 29.64 kB / 1.356 GB, free: 14.36 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.301e-05/0.7441, allocations: 80.14 kB / 1.356 GB, free: 14.28 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.7442, allocations: 20 kB / 1.356 GB, free: 14.26 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.7442, allocations: 13.72 kB / 1.356 GB, free: 14.24 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.7443, allocations: 318.8 kB / 1.356 GB, free: 13.92 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.95e-05/0.7443, allocations: 19.97 kB / 1.356 GB, free: 13.9 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.375e-05/0.7444, allocations: 19.98 kB / 1.356 GB, free: 13.88 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.68e-05/0.7445, allocations: 48.81 kB / 1.356 GB, free: 13.83 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.7445, allocations: 0 / 1.356 GB, free: 13.83 MB / 1.042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001496/0.7446, allocations: 81.61 kB / 1.356 GB, free: 13.74 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.7447, allocations: 4 kB / 1.356 GB, free: 13.74 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.7447, allocations: 0 / 1.356 GB, free: 13.74 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.7447, allocations: 4 kB / 1.356 GB, free: 13.73 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.981e-05/0.7448, allocations: 15.92 kB / 1.356 GB, free: 13.72 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.7448, allocations: 4 kB / 1.356 GB, free: 13.71 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.215e-05/0.7448, allocations: 7.984 kB / 1.356 GB, free: 13.71 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.7448, allocations: 0 / 1.356 GB, free: 13.71 MB / 1.042 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 (falFac.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 9.265e-05/0.7449, allocations: 114.3 kB / 1.356 GB, free: 13.59 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.7449, allocations: 4 kB / 1.356 GB, free: 13.58 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/0.7451, allocations: 85.59 kB / 1.356 GB, free: 13.49 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.7452, allocations: 384 / 1.356 GB, free: 13.49 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.7452, allocations: 4 kB / 1.356 GB, free: 13.48 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.7452, allocations: 3.984 kB / 1.356 GB, free: 13.48 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.7453, allocations: 136.7 kB / 1.356 GB, free: 13.3 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.7453, allocations: 3.984 kB / 1.356 GB, free: 13.3 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.225e-05/0.7454, allocations: 15.92 kB / 1.356 GB, free: 13.29 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.7454, allocations: 0 / 1.356 GB, free: 13.29 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.7454, allocations: 0 / 1.356 GB, free: 13.29 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.7454, allocations: 0 / 1.356 GB, free: 13.29 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.7454, allocations: 4 kB / 1.356 GB, free: 13.28 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.7456, allocations: 171.5 kB / 1.357 GB, free: 13.1 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.623e-05/0.7456, allocations: 7.938 kB / 1.357 GB, free: 13.09 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.7456, allocations: 0 / 1.357 GB, free: 13.09 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.035e-05/0.7457, allocations: 4 kB / 1.357 GB, free: 13.09 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.732e-05/0.7457, allocations: 19.86 kB / 1.357 GB, free: 13.07 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.7457, allocations: 0 / 1.357 GB, free: 13.07 MB / 1.042 GB Notification: Performance of sorting global known variables: time 4.96e-05/0.7458, allocations: 91.27 kB / 1.357 GB, free: 12.98 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7458, allocations: 0 / 1.357 GB, free: 12.98 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001752/0.746, allocations: 11.94 kB / 1.357 GB, free: 12.96 MB / 1.042 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 (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.0006533/0.7466, allocations: 0.7163 MB / 1.357 GB, free: 12.22 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001904/0.7468, allocations: 43.95 kB / 1.358 GB, free: 12.18 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.7468, allocations: 4 kB / 1.358 GB, free: 12.18 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 4.96e-05/0.7469, allocations: 23.91 kB / 1.358 GB, free: 12.15 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.7472, allocations: 8 kB / 1.358 GB, free: 12.14 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.7486, allocations: 1.288 MB / 1.359 GB, free: 10.77 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.14e-05/0.7487, allocations: 63.34 kB / 1.359 GB, free: 10.69 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 4.157e-05/0.7487, allocations: 3.984 kB / 1.359 GB, free: 10.69 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.503e-05/0.7488, allocations: 19.44 kB / 1.359 GB, free: 10.67 MB / 1.042 GB Notification: Performance of SimCode: time 1.102e-06/0.7488, allocations: 0 / 1.359 GB, free: 10.67 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08572/0.8345, allocations: 2.242 MB / 1.361 GB, free: 8.559 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.979/7.813, allocations: 10.55 kB / 1.361 GB, free: 8.555 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Examples_FallingFactorial.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial_fmpy_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 ../Buildings_13_Buildings_Utilities_Math_Examples_FallingFactorial.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.899346491321921]