Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.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.001152/0.001152, allocations: 76.55 kB / 19.93 MB, free: 4.617 MB / 18.57 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.001319/0.001319, allocations: 173.9 kB / 23.21 MB, free: 1.332 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.9278/0.9278, allocations: 177.2 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5571/0.5571, allocations: 114 MB / 373.9 MB, free: 8.711 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Functions.Examples.Factorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Factorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Factorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Factorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.5542 GB, free: 1.629 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.257e-05/1.411e-05, allocations: 6.281 kB / 0.5542 GB, free: 1.621 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.0009751/0.0009892, allocations: 0.5891 MB / 0.5548 GB, free: 1.039 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002185/0.001208, allocations: 43.88 kB / 0.5549 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.655e-05/0.001224, allocations: 3.938 kB / 0.5549 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.546e-05/0.00124, allocations: 0 / 0.5549 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 7.193e-06/0.001247, allocations: 3.938 kB / 0.5549 GB, free: 0.9883 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.001474, allocations: 15.92 kB / 0.5549 GB, free: 0.9727 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 4.737e-05/0.001521, allocations: 4 kB / 0.5549 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.619e-05/0.001568, allocations: 0 / 0.5549 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.413e-05/0.001602, allocations: 11.98 kB / 0.5549 GB, free: 0.957 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.248e-05/0.001624, allocations: 0 / 0.5549 GB, free: 0.957 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.001638, allocations: 0 / 0.5549 GB, free: 0.957 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.118e-05/0.001719, allocations: 7.984 kB / 0.5549 GB, free: 0.9492 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.046e-05/0.001729, allocations: 0 / 0.5549 GB, free: 0.9492 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.575e-05/0.001745, allocations: 4 kB / 0.5549 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 9.554e-05/0.001841, allocations: 15.97 kB / 0.5549 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.001842, allocations: 0 / 0.5549 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.001843, allocations: 4 kB / 0.5549 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.001847, allocations: 0 / 0.5549 GB, free: 0.9258 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003822/0.00223, allocations: 235.3 kB / 0.5551 GB, free: 0.6641 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.002275, allocations: 16.61 kB / 0.5552 GB, free: 0.6484 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.002309, allocations: 34.69 kB / 0.5552 GB, free: 0.6055 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.733e-05/0.002336, allocations: 4.938 kB / 0.5552 GB, free: 0.6016 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.044e-05/0.002397, allocations: 105.7 kB / 0.5553 GB, free: 484 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.002407, allocations: 384 / 0.5553 GB, free: 484 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-06/0.002414, allocations: 4.375 kB / 0.5553 GB, free: 480 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.379e-05/0.002508, allocations: 34.27 kB / 0.5553 GB, free: 440 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.002515, allocations: 192 / 0.5553 GB, free: 440 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.002522, allocations: 4.375 kB / 0.5553 GB, free: 436 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.002527, allocations: 4.125 kB / 0.5553 GB, free: 432 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.413e-05/0.002561, allocations: 7.984 kB / 0.5554 GB, free: 424 kB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001115/0.002673, allocations: 112.8 kB / 0.5555 GB, free: 268 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.927e-05/0.002722, allocations: 34.48 kB / 0.5555 GB, free: 224 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.527e-05/0.002737, allocations: 8.844 kB / 0.5555 GB, free: 212 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001194/0.002857, allocations: 4.062 kB / 0.5555 GB, free: 208 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.002876, allocations: 34.56 kB / 0.5555 GB, free: 164 kB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 5.61e-07/0.002877, allocations: 0 / 0.5555 GB, free: 164 kB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001219/0.002999, allocations: 45.69 kB / 0.5556 GB, free: 112 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.003026, allocations: 55.34 kB / 0.5556 GB, free: 44 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.632e-05/0.003063, allocations: 89.86 kB / 0.5557 GB, free: 15.95 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.003073, allocations: 29.7 kB / 0.5557 GB, free: 15.91 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.788e-05/0.003091, allocations: 80.14 kB / 0.5558 GB, free: 15.83 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.003108, allocations: 11.83 kB / 0.5558 GB, free: 15.82 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.055e-05/0.003129, allocations: 13.72 kB / 0.5559 GB, free: 15.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.028e-05/0.003199, allocations: 310.8 kB / 0.5561 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.111e-05/0.00321, allocations: 7.984 kB / 0.5562 GB, free: 15.48 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.552e-06/0.003217, allocations: 4 kB / 0.5562 GB, free: 15.47 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.74e-05/0.003244, allocations: 17.05 kB / 0.5562 GB, free: 15.45 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.003246, allocations: 0 / 0.5562 GB, free: 15.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.024e-05/0.003286, allocations: 37.7 kB / 0.5562 GB, free: 15.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/0.003296, allocations: 4 kB / 0.5562 GB, free: 15.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.003301, allocations: 3.984 kB / 0.5562 GB, free: 15.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.003311, allocations: 0 / 0.5562 GB, free: 15.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.008e-05/0.003361, allocations: 7.938 kB / 0.5562 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.003367, allocations: 3.938 kB / 0.5562 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.045e-06/0.003375, allocations: 0 / 0.5562 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.003379, allocations: 4 kB / 0.5562 GB, free: 15.39 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (n,fac) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.699e-05/0.003426, allocations: 113.8 kB / 0.5563 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-06/0.00343, allocations: 3.984 kB / 0.5563 GB, free: 15.26 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.45e-05/0.003495, allocations: 44.84 kB / 0.5564 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.003496, allocations: 0 / 0.5564 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.003503, allocations: 3.938 kB / 0.5564 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.003507, allocations: 0 / 0.5564 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.003648, allocations: 124.8 kB / 0.5565 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.003651, allocations: 0 / 0.5565 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.416e-05/0.003696, allocations: 4 kB / 0.5565 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.003701, allocations: 4.031 kB / 0.5565 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.003708, allocations: 4 kB / 0.5565 GB, free: 15.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.003711, allocations: 0 / 0.5565 GB, free: 15.03 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.003714, allocations: 3.938 kB / 0.5565 GB, free: 15.03 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.003825, allocations: 69.06 kB / 0.5566 GB, free: 14.94 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-06/0.003833, allocations: 0 / 0.5566 GB, free: 14.94 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.003845, allocations: 0 / 0.5566 GB, free: 14.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.241e-05/0.003858, allocations: 4 kB / 0.5566 GB, free: 14.94 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.003892, allocations: 7.875 kB / 0.5566 GB, free: 14.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.003896, allocations: 0 / 0.5566 GB, free: 14.93 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.268e-05/0.003918, allocations: 75.28 kB / 0.5567 GB, free: 14.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/0.003918, allocations: 4.031 kB / 0.5567 GB, free: 14.85 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001375/0.004056, allocations: 7.984 kB / 0.5567 GB, free: 14.84 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (fac,n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0003358/0.004392, allocations: 0.5968 MB / 0.5573 GB, free: 14.22 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.555e-05/0.004477, allocations: 12 kB / 0.5573 GB, free: 14.21 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.00448, allocations: 0 / 0.5573 GB, free: 14.21 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.095e-05/0.00449, allocations: 4 kB / 0.5573 GB, free: 14.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001167/0.004607, allocations: 5.656 kB / 0.5573 GB, free: 14.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003235/0.004931, allocations: 118.8 kB / 0.5574 GB, free: 14.04 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.181e-05/0.004973, allocations: 59.3 kB / 0.5575 GB, free: 13.96 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.609e-05/0.004989, allocations: 3.984 kB / 0.5575 GB, free: 13.96 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.605e-05/0.005015, allocations: 12.5 kB / 0.5575 GB, free: 13.95 MB / 490.7 MB Notification: Performance of SimCode: time 1.182e-06/0.005016, allocations: 3.938 kB / 0.5575 GB, free: 13.95 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01518/0.0202, allocations: 1.701 MB / 0.5591 GB, free: 12.38 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.107/7.127, allocations: 3.609 kB / 0.5591 GB, free: 12.38 MB / 490.7 MB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial_res.csv --start-time 0 --stop-time 12.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00516 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Factorial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.664897486567497] Failed to read output from testmodel.py, exit status != 0: 7.2051065331324935 7.215195604 7.211724959 Calling exit ...