Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.0009971/0.0009971, allocations: 79.69 kB / 19.25 MB, free: 0.6211 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.001008/0.001008, allocations: 170 kB / 22.56 MB, free: 1.957 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.9264/0.9264, allocations: 177.1 MB / 202.9 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5634/0.5634, allocations: 110.2 MB / 369.6 MB, free: 12.59 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Factorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Factorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.5475 GB, free: 9.68 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.658e-05/1.839e-05, allocations: 6.281 kB / 0.5475 GB, free: 9.672 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001158/0.001176, allocations: 0.5853 MB / 0.5481 GB, free: 9.086 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0002319/0.001408, allocations: 47.8 kB / 0.5481 GB, free: 9.039 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.917e-05/0.001427, allocations: 0 / 0.5481 GB, free: 9.039 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.353e-05/0.001441, allocations: 4 kB / 0.5482 GB, free: 9.035 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.241e-06/0.001447, allocations: 0 / 0.5482 GB, free: 9.035 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.001695, allocations: 15.92 kB / 0.5482 GB, free: 9.02 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 4.733e-05/0.001742, allocations: 3.984 kB / 0.5482 GB, free: 9.016 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.001785, allocations: 4 kB / 0.5482 GB, free: 9.012 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 2.93e-05/0.001814, allocations: 0 / 0.5482 GB, free: 9.012 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 2.309e-05/0.001837, allocations: 7.938 kB / 0.5482 GB, free: 9.004 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.001851, allocations: 0 / 0.5482 GB, free: 9.004 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 8.321e-05/0.001935, allocations: 11.98 kB / 0.5482 GB, free: 8.992 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.001946, allocations: 7.984 kB / 0.5482 GB, free: 8.984 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.769e-05/0.001964, allocations: 0 / 0.5482 GB, free: 8.984 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.002064, allocations: 11.98 kB / 0.5482 GB, free: 8.973 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.002067, allocations: 0 / 0.5482 GB, free: 8.973 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.403e-06/0.002068, allocations: 0 / 0.5482 GB, free: 8.973 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.002074, allocations: 0 / 0.5482 GB, free: 8.973 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002499/0.002323, allocations: 238.4 kB / 0.5484 GB, free: 8.707 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.002366, allocations: 12.03 kB / 0.5485 GB, free: 8.695 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.755e-05/0.002404, allocations: 38.75 kB / 0.5485 GB, free: 8.648 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.292e-05/0.002426, allocations: 4.891 kB / 0.5485 GB, free: 8.645 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.693e-05/0.002483, allocations: 105.8 kB / 0.5486 GB, free: 8.516 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.002495, allocations: 4.375 kB / 0.5486 GB, free: 8.512 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.002506, allocations: 384 / 0.5486 GB, free: 8.512 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.681e-05/0.002602, allocations: 30.27 kB / 0.5486 GB, free: 8.477 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.00261, allocations: 192 / 0.5486 GB, free: 8.477 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.002621, allocations: 4.375 kB / 0.5486 GB, free: 8.473 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.002627, allocations: 4.125 kB / 0.5486 GB, free: 8.469 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.543e-05/0.002662, allocations: 7.984 kB / 0.5486 GB, free: 8.461 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001172/0.00278, allocations: 116.8 kB / 0.5488 GB, free: 8.305 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.691e-05/0.002836, allocations: 34.5 kB / 0.5488 GB, free: 8.262 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.471e-05/0.002851, allocations: 4.859 kB / 0.5488 GB, free: 8.254 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001443/0.002995, allocations: 11.98 kB / 0.5488 GB, free: 8.242 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.003022, allocations: 34.56 kB / 0.5488 GB, free: 8.199 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.003023, allocations: 0 / 0.5488 GB, free: 8.199 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001337/0.003156, allocations: 41.64 kB / 0.5489 GB, free: 8.152 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.003186, allocations: 55.34 kB / 0.5489 GB, free: 8.086 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.622e-05/0.003212, allocations: 93.84 kB / 0.549 GB, free: 7.984 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.003222, allocations: 25.7 kB / 0.549 GB, free: 7.953 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.695e-05/0.003239, allocations: 84.27 kB / 0.5491 GB, free: 7.867 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.003259, allocations: 11.94 kB / 0.5491 GB, free: 7.855 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/0.00328, allocations: 9.719 kB / 0.5491 GB, free: 7.84 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.168e-05/0.003352, allocations: 314.8 kB / 0.5494 GB, free: 7.523 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.023e-05/0.003362, allocations: 0 / 0.5494 GB, free: 7.523 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-06/0.003369, allocations: 4 kB / 0.5494 GB, free: 7.52 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.981e-05/0.003398, allocations: 16.84 kB / 0.5495 GB, free: 7.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.003401, allocations: 0 / 0.5495 GB, free: 7.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.992e-05/0.003451, allocations: 41.64 kB / 0.5495 GB, free: 7.453 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.003463, allocations: 10.44 kB / 0.5495 GB, free: 7.445 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.003467, allocations: 0 / 0.5495 GB, free: 7.445 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.003478, allocations: 4 kB / 0.5495 GB, free: 7.441 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.346e-05/0.003532, allocations: 3.984 kB / 0.5495 GB, free: 7.438 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.003538, allocations: 3.938 kB / 0.5495 GB, free: 7.434 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.154e-05/0.003549, allocations: 7.953 kB / 0.5495 GB, free: 7.426 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.003553, allocations: 0 / 0.5495 GB, free: 7.426 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 (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.946e-05/0.003602, allocations: 105.8 kB / 0.5496 GB, free: 7.312 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-06/0.003606, allocations: 0 / 0.5496 GB, free: 7.312 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.154e-05/0.003677, allocations: 48.83 kB / 0.5497 GB, free: 7.258 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.003679, allocations: 4.031 kB / 0.5497 GB, free: 7.254 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.003686, allocations: 7.938 kB / 0.5497 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.003688, allocations: 0 / 0.5497 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.657e-05/0.003744, allocations: 112.8 kB / 0.5498 GB, free: 7.094 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.003745, allocations: 0 / 0.5498 GB, free: 7.094 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.396e-05/0.003759, allocations: 11.92 kB / 0.5498 GB, free: 7.082 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.00376, allocations: 0 / 0.5498 GB, free: 7.082 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.003767, allocations: 4 kB / 0.5498 GB, free: 7.078 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.003769, allocations: 8 kB / 0.5498 GB, free: 7.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.003771, allocations: 3.938 kB / 0.5498 GB, free: 7.066 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.763e-05/0.003819, allocations: 65.06 kB / 0.5499 GB, free: 6.984 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.727e-06/0.003822, allocations: 0 / 0.5499 GB, free: 6.984 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-06/0.003832, allocations: 8 kB / 0.5499 GB, free: 6.977 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.509e-06/0.003837, allocations: 0 / 0.5499 GB, free: 6.977 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.003865, allocations: 3.938 kB / 0.5499 GB, free: 6.973 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.003867, allocations: 0 / 0.5499 GB, free: 6.973 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.033e-05/0.003888, allocations: 75.28 kB / 0.55 GB, free: 6.898 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.003888, allocations: 0 / 0.55 GB, free: 6.898 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001196/0.004007, allocations: 4 kB / 0.55 GB, free: 6.895 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 (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.0002788/0.004286, allocations: 0.6124 MB / 0.5506 GB, free: 6.25 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.015e-05/0.004356, allocations: 4 kB / 0.5506 GB, free: 6.246 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.00436, allocations: 8 kB / 0.5506 GB, free: 6.238 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.788e-06/0.004369, allocations: 3.938 kB / 0.5506 GB, free: 6.234 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.776e-05/0.004467, allocations: 7.938 kB / 0.5506 GB, free: 6.227 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002569/0.004724, allocations: 110.5 kB / 0.5507 GB, free: 6.078 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.031e-05/0.004764, allocations: 55.36 kB / 0.5508 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.303e-05/0.004777, allocations: 4 kB / 0.5508 GB, free: 6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.365e-05/0.004801, allocations: 8.656 kB / 0.5508 GB, free: 5.992 MB / 0.5105 GB Notification: Performance of SimCode: time 3.6e-07/0.004801, allocations: 4 kB / 0.5508 GB, free: 5.988 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01663/0.02144, allocations: 1.7 MB / 0.5524 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.147/7.168, allocations: 3.766 kB / 0.5524 GB, free: 4.41 MB / 0.5105 GB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.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 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Factorial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.798736847937107] Failed to read output from testmodel.py, exit status != 0: 7.247714606113732 7.257494635 7.253699821 Calling exit ...