Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007672/0.0007672, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007874/0.0007874, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8341/0.8341, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001412/0.001412, allocations: 226.6 kB / 259.4 MB, free: 13.03 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6476/0.6476, allocations: 138.4 MB / 454.3 MB, free: 29.97 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.6463 GB, free: 1.855 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.204e-05, allocations: 8.891 kB / 0.6463 GB, free: 1.848 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.002097/0.002119, allocations: 1.56 MB / 0.6478 GB, free: 280 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.000276/0.002395, allocations: 136.5 kB / 0.648 GB, free: 140 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.295e-05/0.002428, allocations: 4 kB / 0.648 GB, free: 136 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.694e-05/0.002455, allocations: 3.938 kB / 0.648 GB, free: 132 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.361e-05/0.002489, allocations: 0 / 0.648 GB, free: 132 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.002755, allocations: 31.84 kB / 0.648 GB, free: 100 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.143e-05/0.002817, allocations: 43.84 kB / 0.648 GB, free: 56 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.339e-05/0.0029, allocations: 15.98 kB / 0.6481 GB, free: 40 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.761e-05/0.002938, allocations: 15.98 kB / 0.6481 GB, free: 24 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.469e-05/0.002972, allocations: 19.91 kB / 0.6481 GB, free: 4 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.002986, allocations: 4 kB / 0.6481 GB, free: 0 / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2217/0.2247, allocations: 16.23 kB / 0.6481 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.328e-05/0.2247, allocations: 8.031 kB / 0.6481 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.127e-05/0.2248, allocations: 10.41 kB / 0.6481 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.2249, allocations: 50.52 kB / 0.6482 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.225, allocations: 0 / 0.6482 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.813e-06/0.225, allocations: 0 / 0.6482 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.225, allocations: 0 / 0.6482 GB, free: 55.91 MB / 0.5573 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.0003619/0.2253, allocations: 273.3 kB / 0.6484 GB, free: 55.65 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.2254, allocations: 10.94 kB / 0.6484 GB, free: 55.65 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.594e-05/0.2254, allocations: 37.42 kB / 0.6485 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.764e-05/0.2254, allocations: 7.062 kB / 0.6485 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.165e-05/0.2255, allocations: 116.3 kB / 0.6486 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.2255, allocations: 2.625 kB / 0.6486 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.2255, allocations: 4.594 kB / 0.6486 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.2257, allocations: 65.83 kB / 0.6487 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.2257, allocations: 0.8438 kB / 0.6487 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.2257, allocations: 2.812 kB / 0.6487 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.2257, allocations: 5.516 kB / 0.6487 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.2258, allocations: 45.09 kB / 0.6487 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002987/0.2261, allocations: 240.7 kB / 0.6489 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.2263, allocations: 61.55 kB / 0.649 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.248e-05/0.2264, allocations: 25.83 kB / 0.649 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001152/0.2265, allocations: 18.03 kB / 0.649 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.259e-05/0.2265, allocations: 36.89 kB / 0.6491 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.913e-06/0.2265, allocations: 1.5 kB / 0.6491 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0002444/0.2267, allocations: 94.05 kB / 0.6492 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.9e-05/0.2268, allocations: 53.3 kB / 0.6492 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.967e-05/0.2268, allocations: 107.4 kB / 0.6493 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.222e-06/0.2268, allocations: 27.86 kB / 0.6494 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.696e-05/0.2268, allocations: 94.36 kB / 0.6494 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.239e-05/0.2269, allocations: 7.25 kB / 0.6495 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.2269, allocations: 20.3 kB / 0.6495 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.944e-05/0.2269, allocations: 316.8 kB / 0.6498 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.033e-05/0.227, allocations: 22.34 kB / 0.6498 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.602e-05/0.227, allocations: 24.36 kB / 0.6498 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.051e-05/0.2271, allocations: 47.41 kB / 0.6499 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2271, allocations: 0 / 0.6499 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001194/0.2272, allocations: 80.44 kB / 0.6499 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.2272, allocations: 5.688 kB / 0.6499 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.2272, allocations: 0.9375 kB / 0.6499 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.2273, allocations: 5.359 kB / 0.6499 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.084e-05/0.2273, allocations: 12.08 kB / 0.65 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.2273, allocations: 0.6094 kB / 0.65 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.715e-05/0.2273, allocations: 7.75 kB / 0.65 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.2273, allocations: 2.469 kB / 0.65 GB, free: 54.46 MB / 0.5573 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 4.158e-05/0.2274, allocations: 114.4 kB / 0.6501 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.2274, allocations: 6.375 kB / 0.6501 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/0.2276, allocations: 85.41 kB / 0.6502 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2276, allocations: 0.7031 kB / 0.6502 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2276, allocations: 0 / 0.6502 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.2276, allocations: 1.531 kB / 0.6502 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.735e-05/0.2277, allocations: 139.3 kB / 0.6503 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.2277, allocations: 5.344 kB / 0.6503 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.536e-05/0.2277, allocations: 13.67 kB / 0.6503 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.2277, allocations: 2.766 kB / 0.6503 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.2277, allocations: 2.562 kB / 0.6503 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2277, allocations: 0 / 0.6503 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2277, allocations: 2.391 kB / 0.6503 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.2278, allocations: 171.9 kB / 0.6505 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.416e-06/0.2278, allocations: 2.484 kB / 0.6505 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.2279, allocations: 4.016 kB / 0.6505 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.073e-05/0.2279, allocations: 7.406 kB / 0.6505 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.2279, allocations: 9.625 kB / 0.6505 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.2279, allocations: 2.297 kB / 0.6505 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.978e-05/0.228, allocations: 91.38 kB / 0.6506 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.1e-08/0.228, allocations: 4.984 kB / 0.6506 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001521/0.2281, allocations: 12.77 kB / 0.6506 GB, free: 53.93 MB / 0.5573 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.0002882/0.2284, allocations: 0.7098 MB / 0.6513 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001431/0.2285, allocations: 53.78 kB / 0.6514 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2286, allocations: 0 / 0.6514 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.15e-05/0.2286, allocations: 26.34 kB / 0.6514 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.2288, allocations: 4 kB / 0.6514 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007759/0.2296, allocations: 1.296 MB / 0.6527 GB, free: 52.12 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.723e-05/0.2297, allocations: 63.38 kB / 0.6527 GB, free: 52.05 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.788e-05/0.2297, allocations: 5.266 kB / 0.6527 GB, free: 52.05 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.2297, allocations: 21.28 kB / 0.6527 GB, free: 52.05 MB / 0.5573 GB Notification: Performance of SimCode: time 6.21e-07/0.2297, allocations: 0 / 0.6527 GB, free: 52.05 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0146/0.2443, allocations: 2.4 MB / 0.6551 GB, free: 51.23 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.453/6.697, allocations: 10.31 kB / 0.6551 GB, free: 51.23 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_FallingFactorial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.1292290026322] Failed to read output from testmodel.py, exit status != 0: 6.772953577339649 6.781337023 6.55443898 Calling exit ...