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.0007955/0.0007955, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008951/0.0008951, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8583/0.8583, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.001446/0.001446, allocations: 245.1 kB / 259.4 MB, free: 13.02 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.6273/0.6273, allocations: 138.4 MB / 454.3 MB, free: 1.629 MB / 362.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 2.103e-06/2.103e-06, allocations: 0 / 0.6463 GB, free: 29.11 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.362e-05, allocations: 6.219 kB / 0.6463 GB, free: 29.1 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.001848/0.001871, allocations: 1.56 MB / 0.6478 GB, free: 27.88 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0002791/0.00215, allocations: 127.9 kB / 0.648 GB, free: 27.79 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.222e-05/0.002182, allocations: 0 / 0.648 GB, free: 27.79 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.531e-05/0.002208, allocations: 3.938 kB / 0.648 GB, free: 27.78 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.086e-05/0.002249, allocations: 9.109 kB / 0.648 GB, free: 27.77 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.002532, allocations: 28.94 kB / 0.648 GB, free: 27.75 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.325e-05/0.002595, allocations: 39.11 kB / 0.648 GB, free: 27.73 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 8.876e-05/0.002684, allocations: 19.31 kB / 0.6481 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.61e-05/0.00272, allocations: 20.02 kB / 0.6481 GB, free: 27.7 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 3.44e-05/0.002755, allocations: 8.859 kB / 0.6481 GB, free: 27.7 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.00277, allocations: 3.875 kB / 0.6481 GB, free: 27.7 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.46e-05/0.002844, allocations: 26.34 kB / 0.6481 GB, free: 27.68 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.061e-05/0.002855, allocations: 13.11 kB / 0.6481 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.667e-05/0.002872, allocations: 7.875 kB / 0.6481 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.00299, allocations: 52.48 kB / 0.6482 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.002992, allocations: 1.188 kB / 0.6482 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.453e-06/0.002994, allocations: 0 / 0.6482 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.002998, allocations: 0 / 0.6482 GB, free: 27.63 MB / 0.5105 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.0003362/0.003334, allocations: 273.1 kB / 0.6484 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.003377, allocations: 14.02 kB / 0.6485 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.17e-05/0.003398, allocations: 31.97 kB / 0.6485 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.299e-05/0.003421, allocations: 11.88 kB / 0.6485 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.385e-05/0.003475, allocations: 112.6 kB / 0.6486 GB, free: 27.17 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.003493, allocations: 1.75 kB / 0.6486 GB, free: 27.17 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.003501, allocations: 1.656 kB / 0.6486 GB, free: 27.17 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.003628, allocations: 67.66 kB / 0.6487 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.003634, allocations: 1.719 kB / 0.6487 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.003642, allocations: 384 / 0.6487 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.003647, allocations: 5.188 kB / 0.6487 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.003747, allocations: 55.56 kB / 0.6487 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002744/0.004021, allocations: 237.7 kB / 0.649 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.004224, allocations: 70.72 kB / 0.649 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.788e-05/0.004272, allocations: 23.41 kB / 0.6491 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.004372, allocations: 14.61 kB / 0.6491 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.12e-05/0.004383, allocations: 32 kB / 0.6491 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.004385, allocations: 0 / 0.6491 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0002282/0.004613, allocations: 101.7 kB / 0.6492 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/0.004634, allocations: 60.66 kB / 0.6492 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.623e-05/0.00468, allocations: 108.6 kB / 0.6494 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.231e-06/0.004686, allocations: 25.7 kB / 0.6494 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.496e-05/0.004711, allocations: 85.64 kB / 0.6495 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.218e-05/0.004723, allocations: 5.328 kB / 0.6495 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.004756, allocations: 21.08 kB / 0.6495 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.308e-05/0.004789, allocations: 313.2 kB / 0.6498 GB, free: 26 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.032e-05/0.004839, allocations: 26.59 kB / 0.6498 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.241e-05/0.004881, allocations: 19.11 kB / 0.6498 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.683e-05/0.004978, allocations: 46.91 kB / 0.6499 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.004981, allocations: 3.938 kB / 0.6499 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001256/0.005106, allocations: 77.52 kB / 0.6499 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.005121, allocations: 4.5 kB / 0.65 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.005126, allocations: 4 kB / 0.65 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.005139, allocations: 5.344 kB / 0.65 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.137e-05/0.005191, allocations: 11.17 kB / 0.65 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.005196, allocations: 0 / 0.65 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.815e-05/0.005224, allocations: 17.23 kB / 0.65 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.005229, allocations: 0 / 0.65 GB, free: 25.87 MB / 0.5105 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.234e-05/0.005271, allocations: 113.6 kB / 0.6501 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.183e-05/0.005283, allocations: 1.531 kB / 0.6501 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000158/0.005441, allocations: 88.17 kB / 0.6502 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.005444, allocations: 1.125 kB / 0.6502 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.005448, allocations: 0 / 0.6502 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.005452, allocations: 1.656 kB / 0.6502 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.02e-05/0.005542, allocations: 136.2 kB / 0.6503 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.005544, allocations: 7.922 kB / 0.6503 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.371e-05/0.005577, allocations: 7.156 kB / 0.6503 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.005579, allocations: 1.188 kB / 0.6503 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.403e-06/0.005586, allocations: 3.984 kB / 0.6503 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.005587, allocations: 1.25 kB / 0.6503 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.005588, allocations: 4.375 kB / 0.6503 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.005712, allocations: 176.8 kB / 0.6505 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-06/0.00572, allocations: 1.031 kB / 0.6505 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.005731, allocations: 13.14 kB / 0.6505 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.818e-05/0.005769, allocations: 4.094 kB / 0.6505 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.00581, allocations: 6.641 kB / 0.6505 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-06/0.005814, allocations: 1.156 kB / 0.6505 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.013e-05/0.005834, allocations: 89.73 kB / 0.6506 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.005834, allocations: 0 / 0.6506 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001513/0.005985, allocations: 19.83 kB / 0.6506 GB, free: 25.23 MB / 0.5105 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.000298/0.006283, allocations: 0.7109 MB / 0.6513 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001591/0.006442, allocations: 45.61 kB / 0.6514 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.006444, allocations: 0 / 0.6514 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.354e-05/0.006498, allocations: 30.25 kB / 0.6514 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.00678, allocations: 9.531 kB / 0.6514 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000761/0.007541, allocations: 1.287 MB / 0.6527 GB, free: 23.26 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.918e-05/0.007581, allocations: 62.88 kB / 0.6527 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.375e-05/0.007614, allocations: 11.48 kB / 0.6527 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.691e-05/0.007651, allocations: 14.78 kB / 0.6528 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of SimCode: time 7.22e-07/0.007652, allocations: 1.406 kB / 0.6528 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01472/0.02237, allocations: 2.405 MB / 0.6551 GB, free: 21.65 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.381/6.403, allocations: 3.188 kB / 0.6551 GB, free: 21.65 MB / 0.5105 GB " [Timeout remaining time 654] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 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.15315927285701] Failed to read output from testmodel.py, exit status != 0: 6.480036057531834 6.487932531 6.483256329 Calling exit ...