Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00129/0.00129, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001462/0.001462, allocations: 210.6 kB / 23.03 MB, free: 4.926 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.592/1.592, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.423/3.423, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_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.002858/0.002858, allocations: 62.66 kB / 1.17 GB, free: 19.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4296/0.4325, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002913/0.4354, allocations: 1.554 MB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0003964/0.4358, allocations: 135.6 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.935e-05/0.4358, allocations: 0 / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.744e-05/0.4359, allocations: 4 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.891e-05/0.4359, allocations: 3.938 kB / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.4362, allocations: 35.89 kB / 1.347 GB, free: 14.19 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.778e-05/0.4363, allocations: 31.92 kB / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.991e-05/0.4364, allocations: 16.27 kB / 1.347 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.144e-05/0.4364, allocations: 11.94 kB / 1.347 GB, free: 14.13 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.58e-05/0.4365, allocations: 19.86 kB / 1.347 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.4365, allocations: 7.984 kB / 1.347 GB, free: 14.1 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.767e-05/0.4366, allocations: 27.97 kB / 1.347 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.4366, allocations: 4 kB / 1.347 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.092e-05/0.4366, allocations: 19.92 kB / 1.347 GB, free: 14.05 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.4367, allocations: 47.75 kB / 1.347 GB, free: 14 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4367, allocations: 0 / 1.347 GB, free: 14 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4367, allocations: 0 / 1.347 GB, free: 14 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.4367, allocations: 0 / 1.347 GB, free: 14 MB / 1.045 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.000474/0.4372, allocations: 278.3 kB / 1.347 GB, free: 13.7 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.4373, allocations: 12.03 kB / 1.347 GB, free: 13.69 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.513e-05/0.4373, allocations: 192 / 1.347 GB, free: 13.69 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.544e-05/0.4373, allocations: 34.69 kB / 1.347 GB, free: 13.64 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/0.4373, allocations: 8.891 kB / 1.347 GB, free: 13.64 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.4374, allocations: 114.5 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.4375, allocations: 4.375 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.4375, allocations: 384 / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.4377, allocations: 69.97 kB / 1.348 GB, free: 13.42 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.4377, allocations: 0 / 1.348 GB, free: 13.42 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.4377, allocations: 0 / 1.348 GB, free: 13.42 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.4377, allocations: 0 / 1.348 GB, free: 13.42 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.4379, allocations: 47.89 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.4383, allocations: 251.9 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.4386, allocations: 58.53 kB / 1.348 GB, free: 13.02 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.347e-05/0.4387, allocations: 16.91 kB / 1.348 GB, free: 13 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001238/0.4389, allocations: 27.98 kB / 1.348 GB, free: 12.97 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.4389, allocations: 34.5 kB / 1.348 GB, free: 12.93 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4389, allocations: 0 / 1.348 GB, free: 12.93 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0004153/0.4393, allocations: 105.6 kB / 1.348 GB, free: 12.82 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.4393, allocations: 51.41 kB / 1.348 GB, free: 12.76 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.269e-05/0.4394, allocations: 109.8 kB / 1.348 GB, free: 12.64 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.4395, allocations: 25.7 kB / 1.348 GB, free: 12.61 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.292e-05/0.4395, allocations: 88.14 kB / 1.348 GB, free: 12.52 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.4395, allocations: 7.938 kB / 1.348 GB, free: 12.51 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.4396, allocations: 17.72 kB / 1.348 GB, free: 12.49 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.4397, allocations: 318.8 kB / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.39e-05/0.4398, allocations: 19.97 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.66e-05/0.4399, allocations: 23.98 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.4401, allocations: 57.02 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4401, allocations: 0 / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000212/0.4403, allocations: 65.66 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.4403, allocations: 8 kB / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.4403, allocations: 4.25 kB / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.4403, allocations: 0 / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.687e-05/0.4404, allocations: 19.98 kB / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.4404, allocations: 0 / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.997e-05/0.4405, allocations: 19.88 kB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.4405, allocations: 3.984 kB / 1.349 GB, free: 11.94 MB / 1.045 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 8.328e-05/0.4406, allocations: 117.7 kB / 1.349 GB, free: 11.82 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.4406, allocations: 0 / 1.349 GB, free: 11.82 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/0.4409, allocations: 85.64 kB / 1.349 GB, free: 11.72 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.4409, allocations: 0 / 1.349 GB, free: 11.72 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.4409, allocations: 4 kB / 1.349 GB, free: 11.71 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.4409, allocations: 3.984 kB / 1.349 GB, free: 11.71 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.4411, allocations: 132.7 kB / 1.349 GB, free: 11.54 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4411, allocations: 4 kB / 1.349 GB, free: 11.54 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.937e-05/0.4411, allocations: 7.984 kB / 1.349 GB, free: 11.53 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.4411, allocations: 4 kB / 1.349 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.4411, allocations: 0 / 1.349 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4412, allocations: 0 / 1.349 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4412, allocations: 0 / 1.349 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.4414, allocations: 183.3 kB / 1.349 GB, free: 11.33 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.31e-05/0.4414, allocations: 7.984 kB / 1.349 GB, free: 11.32 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.4415, allocations: 0 / 1.349 GB, free: 11.32 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.709e-05/0.4415, allocations: 7.938 kB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.4416, allocations: 7.984 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.4416, allocations: 4 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.65e-05/0.4417, allocations: 87.27 kB / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4417, allocations: 0 / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002298/0.4419, allocations: 12 kB / 1.35 GB, free: 11.2 MB / 1.045 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.0006576/0.4425, allocations: 0.7123 MB / 1.35 GB, free: 10.46 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002296/0.4428, allocations: 44.14 kB / 1.35 GB, free: 10.42 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4428, allocations: 0 / 1.35 GB, free: 10.42 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.4429, allocations: 27.97 kB / 1.35 GB, free: 10.39 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.4433, allocations: 4.125 kB / 1.35 GB, free: 10.39 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.4449, allocations: 1.296 MB / 1.352 GB, free: 9.016 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.752e-05/0.445, allocations: 63.34 kB / 1.352 GB, free: 8.934 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.463e-05/0.445, allocations: 7.984 kB / 1.352 GB, free: 8.926 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.603e-05/0.445, allocations: 19.44 kB / 1.352 GB, free: 8.906 MB / 1.045 GB Notification: Performance of SimCode: time 3.91e-07/0.445, allocations: 0 / 1.352 GB, free: 8.906 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/0.4677, allocations: 1.898 MB / 1.354 GB, free: 7.156 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.79, allocations: 14.23 kB / 1.354 GB, free: 7.145 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_FallingFactorial.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.083646766026504] Failed to read output from testmodel.py, exit status != 0: 11.95853675098624 11.982414093 11.541252798 Calling exit ...