Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.0009319/0.0009319, 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.001595/0.001595, allocations: 162 kB / 22.56 MB, free: 1.965 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.9142/0.9142, allocations: 177.1 MB / 202.9 MB, free: 5.707 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.5367/0.5367, 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.Examples.Factorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Factorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Factorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 0.5475 GB, free: 8.652 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.321e-05, allocations: 6.219 kB / 0.5475 GB, free: 8.645 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.002948/0.002972, allocations: 1.527 MB / 0.549 GB, free: 7.105 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.000397/0.003369, allocations: 120.5 kB / 0.5491 GB, free: 6.984 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.025e-05/0.003409, allocations: 4 kB / 0.5491 GB, free: 6.98 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 2.977e-05/0.003439, allocations: 3.938 kB / 0.5491 GB, free: 6.977 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 4.627e-05/0.003485, allocations: 7.922 kB / 0.5491 GB, free: 6.969 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002859/0.003771, allocations: 31.84 kB / 0.5491 GB, free: 6.938 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 7.667e-05/0.003847, allocations: 27.92 kB / 0.5492 GB, free: 6.91 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.003948, allocations: 4 kB / 0.5492 GB, free: 6.906 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.012e-05/0.004008, allocations: 15.98 kB / 0.5492 GB, free: 6.891 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.585e-05/0.004064, allocations: 19.91 kB / 0.5492 GB, free: 6.871 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.004084, allocations: 4 kB / 0.5492 GB, free: 6.867 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.873e-05/0.004153, allocations: 11.98 kB / 0.5492 GB, free: 6.855 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.004167, allocations: 8 kB / 0.5492 GB, free: 6.848 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 2.232e-05/0.004189, allocations: 7.984 kB / 0.5492 GB, free: 6.84 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.004326, allocations: 43.83 kB / 0.5493 GB, free: 6.797 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.696e-06/0.004328, allocations: 0 / 0.5493 GB, free: 6.797 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.004331, allocations: 3.984 kB / 0.5493 GB, free: 6.793 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.004339, allocations: 0 / 0.5493 GB, free: 6.793 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000435/0.004774, allocations: 266.3 kB / 0.5495 GB, free: 6.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.004818, allocations: 12.62 kB / 0.5495 GB, free: 6.488 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.102e-05/0.004859, allocations: 34.75 kB / 0.5496 GB, free: 6.445 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.83e-05/0.004888, allocations: 4.891 kB / 0.5496 GB, free: 6.441 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.00499, allocations: 117.7 kB / 0.5497 GB, free: 6.301 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.005013, allocations: 384 / 0.5497 GB, free: 6.301 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.005028, allocations: 4.375 kB / 0.5497 GB, free: 6.297 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.005218, allocations: 58.22 kB / 0.5498 GB, free: 6.234 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.005227, allocations: 4.172 kB / 0.5498 GB, free: 6.23 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.005239, allocations: 4.375 kB / 0.5498 GB, free: 6.227 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.005245, allocations: 4.125 kB / 0.5498 GB, free: 6.223 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.0054, allocations: 35.95 kB / 0.5498 GB, free: 6.188 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000385/0.005785, allocations: 228.1 kB / 0.55 GB, free: 5.922 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003135/0.006098, allocations: 62.53 kB / 0.5501 GB, free: 5.852 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.384e-05/0.006182, allocations: 24.83 kB / 0.5501 GB, free: 5.824 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.351e-05/0.006275, allocations: 7.938 kB / 0.5501 GB, free: 5.816 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.006301, allocations: 38.56 kB / 0.5502 GB, free: 5.77 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.773e-06/0.006302, allocations: 0 / 0.5502 GB, free: 5.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003696/0.006672, allocations: 105.5 kB / 0.5503 GB, free: 5.66 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.006713, allocations: 51.41 kB / 0.5503 GB, free: 5.598 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.888e-05/0.006782, allocations: 97.86 kB / 0.5504 GB, free: 5.492 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.006797, allocations: 25.7 kB / 0.5504 GB, free: 5.461 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.248e-05/0.006839, allocations: 88.12 kB / 0.5505 GB, free: 5.371 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.006856, allocations: 7.938 kB / 0.5505 GB, free: 5.363 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.191e-05/0.006898, allocations: 17.72 kB / 0.5505 GB, free: 5.34 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.164e-05/0.00699, allocations: 314.8 kB / 0.5508 GB, free: 5.023 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.939e-05/0.007079, allocations: 23.97 kB / 0.5508 GB, free: 5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.531e-05/0.007144, allocations: 23.98 kB / 0.5509 GB, free: 4.977 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.007285, allocations: 40.81 kB / 0.5509 GB, free: 4.934 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.007287, allocations: 0 / 0.5509 GB, free: 4.934 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002045/0.007491, allocations: 81.53 kB / 0.551 GB, free: 4.848 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.007508, allocations: 4 kB / 0.551 GB, free: 4.844 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.007513, allocations: 0 / 0.551 GB, free: 4.844 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.007526, allocations: 0 / 0.551 GB, free: 4.844 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.694e-05/0.007603, allocations: 15.98 kB / 0.551 GB, free: 4.828 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.007608, allocations: 0 / 0.551 GB, free: 4.828 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.729e-05/0.007655, allocations: 7.984 kB / 0.551 GB, free: 4.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.007663, allocations: 4 kB / 0.551 GB, free: 4.816 MB / 474.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 (rea2Int.y,fac.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 7.145e-05/0.007735, allocations: 109.8 kB / 0.5511 GB, free: 4.699 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.007764, allocations: 11.89 kB / 0.5511 GB, free: 4.688 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002456/0.008009, allocations: 77.84 kB / 0.5512 GB, free: 4.602 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.008013, allocations: 4 kB / 0.5512 GB, free: 4.598 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.008019, allocations: 7.922 kB / 0.5512 GB, free: 4.59 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.008024, allocations: 4.031 kB / 0.5512 GB, free: 4.586 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.00818, allocations: 132.8 kB / 0.5514 GB, free: 4.414 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.008182, allocations: 0 / 0.5514 GB, free: 4.414 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.614e-05/0.008268, allocations: 15.92 kB / 0.5514 GB, free: 4.398 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.008272, allocations: 0 / 0.5514 GB, free: 4.398 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.008281, allocations: 0 / 0.5514 GB, free: 4.398 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.008285, allocations: 4 kB / 0.5514 GB, free: 4.395 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.008286, allocations: 0 / 0.5514 GB, free: 4.395 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.008532, allocations: 167.5 kB / 0.5515 GB, free: 4.215 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.295e-05/0.008545, allocations: 11.83 kB / 0.5515 GB, free: 4.203 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.008561, allocations: 3.984 kB / 0.5515 GB, free: 4.199 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.632e-05/0.008647, allocations: 4 kB / 0.5515 GB, free: 4.195 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.8e-05/0.008725, allocations: 11.98 kB / 0.5516 GB, free: 4.184 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.008731, allocations: 0 / 0.5516 GB, free: 4.184 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.39e-05/0.008785, allocations: 79.28 kB / 0.5516 GB, free: 4.105 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.008785, allocations: 3.938 kB / 0.5516 GB, free: 4.102 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002741/0.009059, allocations: 11.98 kB / 0.5517 GB, free: 4.09 MB / 474.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.y,rea2Int.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.0006363/0.009695, allocations: 0.7124 MB / 0.5523 GB, free: 3.352 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002357/0.009931, allocations: 39.95 kB / 0.5524 GB, free: 3.312 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.009933, allocations: 0 / 0.5524 GB, free: 3.312 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 8.3e-05/0.01002, allocations: 27.92 kB / 0.5524 GB, free: 3.285 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.01038, allocations: 10.03 kB / 0.5524 GB, free: 3.277 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005108/0.01089, allocations: 138.6 kB / 0.5526 GB, free: 3.102 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.442e-05/0.01095, allocations: 63.28 kB / 0.5526 GB, free: 3.02 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.52e-05/0.01098, allocations: 4 kB / 0.5526 GB, free: 3.016 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.732e-05/0.01103, allocations: 16.5 kB / 0.5526 GB, free: 3 MB / 474.7 MB Notification: Performance of SimCode: time 3.71e-07/0.01103, allocations: 0 / 0.5526 GB, free: 3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01773/0.02876, allocations: 2.271 MB / 0.5549 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.671/6.7, allocations: 9.062 kB / 0.5549 GB, free: 0.8516 MB / 474.7 MB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial_res.csv --start-time 0 --stop-time 13 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0052 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Factorial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.259409604594111] Failed to read output from testmodel.py, exit status != 0: 6.781398701481521 6.790042298 6.783714922 Calling exit ...