Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001082/0.001082, allocations: 80.44 kB / 20.69 MB, free: 3.871 MB / 18.57 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.0008061/0.0008061, allocations: 165.9 kB / 23.96 MB, free: 0.5977 MB / 18.57 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 0.8728/0.8728, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5406/0.5406, allocations: 114 MB / 374.7 MB, free: 8.68 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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: translateModel(IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial") translateModel(IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 3.938 kB / 0.5554 GB, free: 2.242 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.473e-05, allocations: 2.281 kB / 0.5554 GB, free: 2.238 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002127/0.002152, allocations: 1.555 MB / 0.557 GB, free: 0.6758 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0002875/0.00244, allocations: 139.5 kB / 0.5571 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.173e-05/0.002471, allocations: 0 / 0.5571 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.56e-05/0.002497, allocations: 3.938 kB / 0.5571 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 3.86e-05/0.002536, allocations: 3.984 kB / 0.5571 GB, free: 0.5312 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.00281, allocations: 27.91 kB / 0.5571 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.655e-05/0.002877, allocations: 43.84 kB / 0.5572 GB, free: 472 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 8.64e-05/0.002963, allocations: 11.94 kB / 0.5572 GB, free: 460 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.433e-05/0.003008, allocations: 19.97 kB / 0.5572 GB, free: 440 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 3.505e-05/0.003043, allocations: 11.98 kB / 0.5572 GB, free: 428 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.003057, allocations: 4 kB / 0.5572 GB, free: 424 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.629e-05/0.003134, allocations: 31.91 kB / 0.5572 GB, free: 392 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.106e-05/0.003145, allocations: 7.984 kB / 0.5572 GB, free: 384 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.938e-05/0.003164, allocations: 11.98 kB / 0.5573 GB, free: 372 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.003283, allocations: 47.86 kB / 0.5573 GB, free: 324 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.003285, allocations: 0 / 0.5573 GB, free: 324 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.543e-06/0.003287, allocations: 0 / 0.5573 GB, free: 324 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.626e-06/0.003291, allocations: 4 kB / 0.5573 GB, free: 320 kB / 0.5105 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.0003472/0.003638, allocations: 274.2 kB / 0.5576 GB, free: 12 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.003671, allocations: 12.03 kB / 0.5576 GB, free: 0 / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.852e-05/0.003699, allocations: 0.9375 kB / 0.5576 GB, free: 0 / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.324e-05/0.003773, allocations: 117.7 kB / 0.5577 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.00379, allocations: 384 / 0.5577 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.238e-06/0.003799, allocations: 4.375 kB / 0.5577 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.003938, allocations: 62.22 kB / 0.5578 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.003945, allocations: 192 / 0.5578 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.003956, allocations: 4.375 kB / 0.5578 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.003961, allocations: 4.375 kB / 0.5578 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.004064, allocations: 43.89 kB / 0.5578 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002787/0.004343, allocations: 224.5 kB / 0.558 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.004544, allocations: 54.59 kB / 0.5581 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.761e-05/0.004591, allocations: 24.78 kB / 0.5581 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.004693, allocations: 19.98 kB / 0.5581 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.585e-05/0.004709, allocations: 38.44 kB / 0.5582 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.00471, allocations: 0 / 0.5582 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0002333/0.004943, allocations: 105.5 kB / 0.5583 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.00497, allocations: 55.41 kB / 0.5583 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.368e-05/0.005024, allocations: 101.8 kB / 0.5584 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.005034, allocations: 25.7 kB / 0.5584 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/0.005072, allocations: 92.09 kB / 0.5585 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.494e-05/0.005087, allocations: 7.891 kB / 0.5585 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.005113, allocations: 17.7 kB / 0.5585 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.168e-05/0.005185, allocations: 318.8 kB / 0.5588 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.617e-05/0.005231, allocations: 15.98 kB / 0.5589 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.146e-05/0.005273, allocations: 28 kB / 0.5589 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.716e-05/0.00536, allocations: 52.75 kB / 0.5589 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005362, allocations: 0 / 0.5589 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001115/0.005473, allocations: 73.59 kB / 0.559 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.005485, allocations: 8 kB / 0.559 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.005489, allocations: 0 / 0.559 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.005499, allocations: 0 / 0.559 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.8e-05/0.005547, allocations: 15.98 kB / 0.559 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.005551, allocations: 0 / 0.559 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.507e-05/0.005576, allocations: 7.984 kB / 0.559 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.00558, allocations: 0 / 0.559 GB, free: 14.36 MB / 0.5261 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 5.586e-05/0.005636, allocations: 113.8 kB / 0.5591 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.005649, allocations: 4.188 kB / 0.5591 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.005801, allocations: 89.27 kB / 0.5592 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.005803, allocations: 4 kB / 0.5592 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.005806, allocations: 0 / 0.5592 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.005809, allocations: 0 / 0.5592 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.374e-05/0.005902, allocations: 113.3 kB / 0.5593 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.005903, allocations: 3.938 kB / 0.5593 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.517e-05/0.005939, allocations: 15.98 kB / 0.5594 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.00594, allocations: 0 / 0.5594 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.005948, allocations: 3.938 kB / 0.5594 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.00595, allocations: 4 kB / 0.5594 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.005951, allocations: 0 / 0.5594 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.006088, allocations: 175.4 kB / 0.5595 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-06/0.006093, allocations: 0 / 0.5595 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.006104, allocations: 3.938 kB / 0.5595 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.818e-05/0.006142, allocations: 7.984 kB / 0.5596 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.006184, allocations: 11.98 kB / 0.5596 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-06/0.006187, allocations: 3.938 kB / 0.5596 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.642e-05/0.006213, allocations: 79.28 kB / 0.5596 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.006213, allocations: 0 / 0.5596 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001554/0.006369, allocations: 12 kB / 0.5597 GB, free: 13.67 MB / 0.5261 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.0001285/0.006497, allocations: 111.2 kB / 0.5598 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000127/0.006624, allocations: 39.95 kB / 0.5598 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.006625, allocations: 0 / 0.5598 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.797e-05/0.006673, allocations: 28.34 kB / 0.5598 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.006908, allocations: 4 kB / 0.5598 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002599/0.007168, allocations: 154.4 kB / 0.56 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.249e-05/0.00721, allocations: 67.34 kB / 0.56 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.343e-05/0.007234, allocations: 8.594 kB / 0.56 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of SimCode: time 3.1e-07/0.007234, allocations: 0 / 0.56 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.001593/0.008827, allocations: 0.7967 MB / 0.5608 GB, free: 12.4 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.690240404568613] Failed to read output from testmodel.py, exit status != 0: 0.01370177511125803 0.022382659000000003 0.017423666 Calling exit ...