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.001729/0.001729, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002514/0.002514, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.584/1.584, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.058/3.058, allocations: 0.49 GB / 0.7923 GB, free: 1.309 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.001999/0.001999, allocations: 67.91 kB / 1.15 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.12/1.122, allocations: 176.1 MB / 1.322 GB, free: 24.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001541/1.124, allocations: 0.5846 MB / 1.322 GB, free: 24.38 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002854/1.124, allocations: 58.7 kB / 1.322 GB, free: 24.34 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.488e-05/1.124, allocations: 0 / 1.322 GB, free: 24.34 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.315e-05/1.124, allocations: 0 / 1.322 GB, free: 24.34 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.905e-06/1.124, allocations: 3.938 kB / 1.322 GB, free: 24.34 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/1.124, allocations: 18.78 kB / 1.322 GB, free: 24.33 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.225e-05/1.124, allocations: 39.95 kB / 1.322 GB, free: 24.32 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.939e-05/1.124, allocations: 0 / 1.322 GB, free: 24.32 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.749e-05/1.124, allocations: 9.062 kB / 1.322 GB, free: 24.32 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.611e-05/1.125, allocations: 14.02 kB / 1.322 GB, free: 24.31 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/1.125, allocations: 2.75 kB / 1.322 GB, free: 24.31 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.55e-05/1.125, allocations: 19.12 kB / 1.322 GB, free: 24.3 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.68e-05/1.125, allocations: 13.38 kB / 1.322 GB, free: 24.3 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.988e-05/1.125, allocations: 10.22 kB / 1.322 GB, free: 24.29 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/1.125, allocations: 34.12 kB / 1.322 GB, free: 24.28 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/1.125, allocations: 0 / 1.322 GB, free: 24.28 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.332e-06/1.125, allocations: 0 / 1.322 GB, free: 24.28 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.12e-06/1.125, allocations: 4 kB / 1.322 GB, free: 24.28 MB / 1.061 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.000296/1.125, allocations: 347.9 kB / 1.323 GB, free: 23.91 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/1.125, allocations: 12.36 kB / 1.323 GB, free: 23.9 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.944e-05/1.125, allocations: 2.969 kB / 1.323 GB, free: 23.9 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.246e-05/1.125, allocations: 34.75 kB / 1.323 GB, free: 23.86 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.442e-05/1.125, allocations: 3.281 kB / 1.323 GB, free: 23.86 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.896e-05/1.125, allocations: 170.2 kB / 1.323 GB, free: 23.66 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/1.125, allocations: 3.031 kB / 1.323 GB, free: 23.66 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/1.125, allocations: 11.44 kB / 1.323 GB, free: 23.65 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/1.125, allocations: 69.27 kB / 1.323 GB, free: 23.61 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/1.125, allocations: 0 / 1.323 GB, free: 23.61 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/1.125, allocations: 3.984 kB / 1.323 GB, free: 23.6 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/1.125, allocations: 3.938 kB / 1.323 GB, free: 23.6 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/1.126, allocations: 101.1 kB / 1.323 GB, free: 23.59 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001322/1.126, allocations: 176.1 kB / 1.323 GB, free: 23.38 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/1.126, allocations: 64.59 kB / 1.323 GB, free: 23.35 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.156e-05/1.126, allocations: 34.92 kB / 1.323 GB, free: 23.33 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002365/1.126, allocations: 399.4 kB / 1.324 GB, free: 22.86 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/1.126, allocations: 42.44 kB / 1.324 GB, free: 22.81 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.143e-06/1.126, allocations: 0 / 1.324 GB, free: 22.81 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0002262/1.126, allocations: 114 kB / 1.324 GB, free: 22.76 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.982e-05/1.126, allocations: 54.06 kB / 1.324 GB, free: 22.7 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.108e-05/1.126, allocations: 97.14 kB / 1.324 GB, free: 22.59 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/1.126, allocations: 28.55 kB / 1.324 GB, free: 22.56 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.738e-06/1.126, allocations: 84.14 kB / 1.324 GB, free: 22.48 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/1.126, allocations: 22.48 kB / 1.324 GB, free: 22.46 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/1.126, allocations: 31.98 kB / 1.324 GB, free: 22.43 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.315e-05/1.126, allocations: 316.8 kB / 1.324 GB, free: 22.12 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.372e-05/1.127, allocations: 17.8 kB / 1.324 GB, free: 22.12 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.168e-05/1.127, allocations: 20.14 kB / 1.324 GB, free: 22.11 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.578e-05/1.127, allocations: 71.86 kB / 1.325 GB, free: 22.08 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1.127, allocations: 0 / 1.325 GB, free: 22.08 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001166/1.127, allocations: 100.8 kB / 1.325 GB, free: 22.02 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/1.127, allocations: 7 kB / 1.325 GB, free: 22.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/1.127, allocations: 0 / 1.325 GB, free: 22.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/1.127, allocations: 3.188 kB / 1.325 GB, free: 22.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/1.127, allocations: 17.14 kB / 1.325 GB, free: 22.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/1.127, allocations: 0 / 1.325 GB, free: 22.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.012e-05/1.127, allocations: 6.438 kB / 1.325 GB, free: 22.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/1.127, allocations: 2.344 kB / 1.325 GB, free: 22.02 MB / 1.061 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.0001153/1.127, allocations: 132.2 kB / 1.325 GB, free: 21.89 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/1.127, allocations: 10.39 kB / 1.325 GB, free: 21.88 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001856/1.127, allocations: 127 kB / 1.325 GB, free: 21.8 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.654e-06/1.127, allocations: 3.219 kB / 1.325 GB, free: 21.8 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/1.127, allocations: 0 / 1.325 GB, free: 21.8 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/1.127, allocations: 3.422 kB / 1.325 GB, free: 21.8 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.996e-05/1.127, allocations: 171.1 kB / 1.325 GB, free: 21.61 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/1.127, allocations: 0 / 1.325 GB, free: 21.61 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.578e-05/1.127, allocations: 29.47 kB / 1.325 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/1.127, allocations: 0 / 1.325 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/1.127, allocations: 9.906 kB / 1.325 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/1.127, allocations: 0 / 1.325 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/1.127, allocations: 0 / 1.325 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/1.128, allocations: 120.1 kB / 1.325 GB, free: 21.5 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.664e-05/1.128, allocations: 84 kB / 1.325 GB, free: 21.41 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/1.128, allocations: 4 kB / 1.325 GB, free: 21.4 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.544e-05/1.128, allocations: 3.062 kB / 1.325 GB, free: 21.4 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.436e-05/1.128, allocations: 6.281 kB / 1.325 GB, free: 21.4 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/1.128, allocations: 9.969 kB / 1.325 GB, free: 21.4 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.221e-05/1.128, allocations: 75.28 kB / 1.325 GB, free: 21.32 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.128, allocations: 3.938 kB / 1.325 GB, free: 21.32 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001949/1.128, allocations: 23.09 kB / 1.325 GB, free: 21.31 MB / 1.061 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.0003477/1.128, allocations: 0.6729 MB / 1.326 GB, free: 20.69 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001298/1.128, allocations: 59.84 kB / 1.326 GB, free: 20.68 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.128, allocations: 0 / 1.326 GB, free: 20.68 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.392e-05/1.128, allocations: 35.67 kB / 1.326 GB, free: 20.66 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/1.128, allocations: 3.281 kB / 1.326 GB, free: 20.66 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003271/1.129, allocations: 186.9 kB / 1.326 GB, free: 20.5 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/1.129, allocations: 0.69 MB / 1.327 GB, free: 19.8 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.71e-05/1.129, allocations: 40.44 kB / 1.327 GB, free: 19.79 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/1.129, allocations: 17.44 kB / 1.327 GB, free: 19.78 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/1.129, allocations: 0 / 1.327 GB, free: 19.78 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02118/1.15, allocations: 1.616 MB / 1.329 GB, free: 19.37 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.258/9.408, allocations: 7.734 kB / 1.329 GB, free: 19.36 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.28746603196487] Failed to read output from testmodel.py, exit status != 0: 9.536597916972823 9.557691848 8.429010428 Calling exit ...