Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 115.7 kB / 17.13 MB, free: 5.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 191.7 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 225.6 MB / 248.5 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8637/0.8637, allocations: 129.2 MB / 432.5 MB, free: 13.09 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 75.83 kB / 0.5987 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4113/0.4132, allocations: 83.43 MB / 0.6802 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001627/0.4149, allocations: 0.5921 MB / 0.6808 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002735/0.4151, allocations: 59.58 kB / 0.6808 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.996e-05/0.4152, allocations: 0 / 0.6808 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.677e-05/0.4152, allocations: 5.391 kB / 0.6809 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.311e-06/0.4152, allocations: 3.938 kB / 0.6809 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.4155, allocations: 14.41 kB / 0.6809 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.992e-05/0.4156, allocations: 30.47 kB / 0.6809 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.661e-05/0.4157, allocations: 2.781 kB / 0.6809 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.192e-05/0.4157, allocations: 20.84 kB / 0.6809 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.84e-05/0.4157, allocations: 6.562 kB / 0.6809 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.4157, allocations: 1.188 kB / 0.6809 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.247e-05/0.4158, allocations: 16.17 kB / 0.6809 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.369e-05/0.4158, allocations: 17.53 kB / 0.681 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.457e-05/0.4159, allocations: 16.78 kB / 0.681 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.531e-05/0.416, allocations: 31.61 kB / 0.681 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.416, allocations: 0 / 0.681 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.416, allocations: 1.594 kB / 0.681 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.416, allocations: 0 / 0.681 GB, free: 5.395 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002586/0.4162, allocations: 338.9 kB / 0.6813 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.4163, allocations: 9.219 kB / 0.6813 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.825e-05/0.4163, allocations: 37.31 kB / 0.6814 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.534e-05/0.4163, allocations: 10.3 kB / 0.6814 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.524e-05/0.4164, allocations: 165.9 kB / 0.6815 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.4164, allocations: 1.625 kB / 0.6815 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.4164, allocations: 8.5 kB / 0.6816 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.4165, allocations: 65.94 kB / 0.6816 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.4165, allocations: 3.938 kB / 0.6816 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.4166, allocations: 1.344 kB / 0.6816 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.4166, allocations: 5.188 kB / 0.6816 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.4167, allocations: 105.7 kB / 0.6817 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001151/0.4168, allocations: 171 kB / 0.6819 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.423e-05/0.4169, allocations: 70.2 kB / 0.682 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.896e-05/0.4169, allocations: 24.97 kB / 0.682 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002057/0.4171, allocations: 410.2 kB / 0.6824 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.4172, allocations: 35.72 kB / 0.6824 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.4172, allocations: 0 / 0.6824 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0002196/0.4174, allocations: 121.7 kB / 0.6825 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.129e-05/0.4174, allocations: 56.91 kB / 0.6826 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.857e-05/0.4174, allocations: 95.28 kB / 0.6827 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.574e-06/0.4174, allocations: 29.7 kB / 0.6827 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.596e-06/0.4174, allocations: 81.36 kB / 0.6828 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.4174, allocations: 19.17 kB / 0.6828 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.4175, allocations: 33.11 kB / 0.6828 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.701e-05/0.4175, allocations: 319.9 kB / 0.6831 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.6e-05/0.4176, allocations: 20.08 kB / 0.6831 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.103e-05/0.4176, allocations: 21.08 kB / 0.6832 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.239e-05/0.4177, allocations: 56.14 kB / 0.6832 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.4177, allocations: 1.094 kB / 0.6832 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001167/0.4178, allocations: 104.2 kB / 0.6833 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.4178, allocations: 9.719 kB / 0.6833 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.4178, allocations: 4 kB / 0.6833 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.4178, allocations: 1.219 kB / 0.6833 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.46e-05/0.4179, allocations: 22.33 kB / 0.6834 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.4179, allocations: 1.188 kB / 0.6834 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.813e-05/0.4179, allocations: 1.094 kB / 0.6834 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.4179, allocations: 7.562 kB / 0.6834 GB, free: 3.016 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.378e-05/0.418, allocations: 125.7 kB / 0.6835 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.4181, allocations: 10.05 kB / 0.6835 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001828/0.4182, allocations: 119.1 kB / 0.6836 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4182, allocations: 5.219 kB / 0.6836 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4182, allocations: 7.984 kB / 0.6836 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.4182, allocations: 1.156 kB / 0.6836 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.234e-05/0.4183, allocations: 174.2 kB / 0.6838 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4183, allocations: 1.094 kB / 0.6838 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.631e-05/0.4184, allocations: 18.89 kB / 0.6838 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4184, allocations: 5 kB / 0.6838 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.4184, allocations: 4.719 kB / 0.6838 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.4184, allocations: 0.9062 kB / 0.6838 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4184, allocations: 0 / 0.6838 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.4185, allocations: 119.1 kB / 0.6839 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.639e-05/0.4185, allocations: 86.23 kB / 0.684 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.4186, allocations: 9.938 kB / 0.684 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.451e-05/0.4186, allocations: 0 / 0.684 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.4186, allocations: 8.641 kB / 0.684 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.4186, allocations: 7.125 kB / 0.684 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.183e-05/0.4186, allocations: 75.28 kB / 0.6841 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.4186, allocations: 0 / 0.6841 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001995/0.4188, allocations: 22.64 kB / 0.6841 GB, free: 2.277 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0003585/0.4192, allocations: 0.6744 MB / 0.6848 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001385/0.4193, allocations: 64.5 kB / 0.6849 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4193, allocations: 1.344 kB / 0.6849 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.733e-05/0.4194, allocations: 36.19 kB / 0.6849 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.4195, allocations: 8.812 kB / 0.6849 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003352/0.4198, allocations: 180.3 kB / 0.6851 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.607e-05/0.4199, allocations: 0.6857 MB / 0.6857 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.723e-05/0.42, allocations: 35.17 kB / 0.6858 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.42, allocations: 17.81 kB / 0.6858 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.42, allocations: 4 kB / 0.6858 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.4435, allocations: 1.562 MB / 0.6873 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.991/8.434, allocations: 14.05 kB / 0.6873 GB, free: 15.83 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --stepSize=0.00556 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.837914817035198] Failed to read output from testmodel.py, exit status != 0: 8.503598252311349 8.530609641 8.109863115 Calling exit ...