Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.001896/0.001896, allocations: 110.1 kB / 19.73 MB, free: 2.242 MB / 14.72 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.002872/0.002872, allocations: 218.4 kB / 23.04 MB, free: 5.074 MB / 14.72 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.386/3.386, allocations: 0.49 GB / 0.7959 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 66.17 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3508, allocations: 176.1 MB / 1.327 GB, free: 1.902 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001744/0.3526, allocations: 0.5945 MB / 1.327 GB, free: 1.312 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002691/0.3528, allocations: 56.17 kB / 1.327 GB, free: 1.258 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.802e-05/0.3528, allocations: 0 / 1.327 GB, free: 1.258 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.009e-05/0.3529, allocations: 0 / 1.327 GB, free: 1.258 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.831e-06/0.3529, allocations: 0 / 1.327 GB, free: 1.258 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.3532, allocations: 23.92 kB / 1.327 GB, free: 1.234 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.333e-05/0.3533, allocations: 35.95 kB / 1.327 GB, free: 1.199 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.482e-05/0.3533, allocations: 4 kB / 1.327 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.682e-05/0.3533, allocations: 12 kB / 1.327 GB, free: 1.184 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.173e-05/0.3534, allocations: 15.97 kB / 1.327 GB, free: 1.168 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.3534, allocations: 4 kB / 1.327 GB, free: 1.164 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.635e-05/0.3535, allocations: 19.98 kB / 1.327 GB, free: 1.145 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.914e-05/0.3535, allocations: 11.92 kB / 1.327 GB, free: 1.133 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.568e-05/0.3536, allocations: 19.92 kB / 1.327 GB, free: 1.113 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.3537, allocations: 36.11 kB / 1.327 GB, free: 1.078 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.3537, allocations: 0 / 1.327 GB, free: 1.078 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3537, allocations: 0 / 1.327 GB, free: 1.078 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3537, allocations: 0 / 1.327 GB, free: 1.078 MB / 1.014 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.0003236/0.354, allocations: 258.3 kB / 1.328 GB, free: 0.793 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.354, allocations: 16.03 kB / 1.328 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.143e-05/0.3541, allocations: 4.188 kB / 1.328 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.188e-05/0.3541, allocations: 30.75 kB / 1.328 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/0.3541, allocations: 8.891 kB / 1.328 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.919e-05/0.3542, allocations: 106.5 kB / 1.328 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.3542, allocations: 8.375 kB / 1.328 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.3542, allocations: 4.375 kB / 1.328 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.3544, allocations: 69.91 kB / 1.328 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3544, allocations: 0 / 1.328 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.3544, allocations: 8 kB / 1.328 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.3544, allocations: 4 kB / 1.328 GB, free: 0.5 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/0.3546, allocations: 99.86 kB / 1.328 GB, free: 412 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.3547, allocations: 144.7 kB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.3549, allocations: 66.48 kB / 1.328 GB, free: 148 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.981e-05/0.3549, allocations: 28.84 kB / 1.328 GB, free: 116 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001883/0.3551, allocations: 15.97 kB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.3551, allocations: 46.5 kB / 1.328 GB, free: 44 kB / 1.014 GB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.3551, allocations: 3.938 kB / 1.328 GB, free: 40 kB / 1.014 GB Notification: Performance of matching and sorting (n=11): time 0.0002721/0.3554, allocations: 117.9 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.3554, allocations: 51.41 kB / 1.329 GB, free: 15.85 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.046e-05/0.3555, allocations: 97.86 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.3555, allocations: 25.7 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.3555, allocations: 84.05 kB / 1.329 GB, free: 15.63 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.3556, allocations: 23.84 kB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/0.3556, allocations: 29.7 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3558, allocations: 318.8 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.341e-05/0.3558, allocations: 19.98 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.566e-05/0.3558, allocations: 20.42 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.3559, allocations: 68.92 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.356, allocations: 0 / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001487/0.3561, allocations: 93.56 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.3561, allocations: 7.938 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.3561, allocations: 7.984 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.3561, allocations: 0 / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.3562, allocations: 27.98 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3562, allocations: 0 / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.461e-05/0.3563, allocations: 7.938 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.351e-06/0.3563, allocations: 0 / 1.329 GB, free: 15 MB / 1.029 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 0.0001534/0.3564, allocations: 122.4 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.3565, allocations: 11.89 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.3567, allocations: 125.4 kB / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3567, allocations: 4 kB / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3567, allocations: 4 kB / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.3567, allocations: 0 / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.3568, allocations: 144.6 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3568, allocations: 0 / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.962e-05/0.3569, allocations: 27.92 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3569, allocations: 0 / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.3569, allocations: 4 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3569, allocations: 0 / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3569, allocations: 0 / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.3571, allocations: 132.9 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.277e-06/0.3571, allocations: 7.953 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.3571, allocations: 4 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.622e-05/0.3571, allocations: 0 / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.3572, allocations: 7.984 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.3572, allocations: 4 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.526e-05/0.3572, allocations: 75.28 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3572, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002108/0.3574, allocations: 23.94 kB / 1.33 GB, free: 14.22 MB / 1.029 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.0005745/0.358, allocations: 0.6709 MB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001618/0.3582, allocations: 56.34 kB / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3582, allocations: 0 / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.074e-05/0.3582, allocations: 43.91 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.3584, allocations: 4 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004793/0.3588, allocations: 194.4 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.3592, allocations: 0.6807 MB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.811e-05/0.3592, allocations: 31.95 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.502e-05/0.3593, allocations: 23.36 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of SimCode: time 6.51e-07/0.3593, allocations: 8 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02249/0.3818, allocations: 1.728 MB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.56, allocations: 5.969 kB / 1.333 GB, free: 10.84 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --stepSize=0.00556 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_FallingFactorial.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.666016718023457] Failed to read output from testmodel.py, exit status != 0: 11.72744888701709 11.746075609 11.388945476 Calling exit ...