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.0008947/0.0008947, 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.001345/0.001345, 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.9225/0.9225, 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/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.5594/0.5594, allocations: 110.2 MB / 369.4 MB, free: 12.64 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 1.743e-06/1.743e-06, allocations: 3.938 kB / 0.5473 GB, free: 9.855 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.564e-05, allocations: 10.94 kB / 0.5473 GB, free: 9.844 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.003158/0.003184, allocations: 1.529 MB / 0.5488 GB, free: 8.305 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0004202/0.003604, allocations: 120.4 kB / 0.5489 GB, free: 8.184 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.337e-05/0.003648, allocations: 0 / 0.5489 GB, free: 8.184 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.481e-05/0.003682, allocations: 3.984 kB / 0.5489 GB, free: 8.18 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.081e-05/0.003733, allocations: 3.938 kB / 0.5489 GB, free: 8.176 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.004039, allocations: 27.91 kB / 0.5489 GB, free: 8.148 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.737e-05/0.004126, allocations: 27.92 kB / 0.549 GB, free: 8.121 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.00424, allocations: 8 kB / 0.549 GB, free: 8.113 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 6.766e-05/0.004308, allocations: 15.92 kB / 0.549 GB, free: 8.098 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.821e-05/0.004366, allocations: 19.97 kB / 0.549 GB, free: 8.078 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.004384, allocations: 4 kB / 0.549 GB, free: 8.074 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.787e-05/0.004462, allocations: 15.98 kB / 0.549 GB, free: 8.059 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.004477, allocations: 4 kB / 0.549 GB, free: 8.055 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.453e-05/0.004502, allocations: 7.984 kB / 0.549 GB, free: 8.047 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.004655, allocations: 47.75 kB / 0.5491 GB, free: 8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.00466, allocations: 4 kB / 0.5491 GB, free: 7.996 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.034e-06/0.004662, allocations: 0 / 0.5491 GB, free: 7.996 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.004668, allocations: 0 / 0.5491 GB, free: 7.996 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004759/0.005144, allocations: 264.1 kB / 0.5493 GB, free: 7.707 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.005191, allocations: 8.031 kB / 0.5493 GB, free: 7.699 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.727e-05/0.005228, allocations: 38.75 kB / 0.5494 GB, free: 7.652 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.005259, allocations: 8.891 kB / 0.5494 GB, free: 7.645 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.749e-05/0.005357, allocations: 105.7 kB / 0.5495 GB, free: 7.516 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.005381, allocations: 4.375 kB / 0.5495 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.00539, allocations: 4.312 kB / 0.5495 GB, free: 7.508 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.005571, allocations: 62.22 kB / 0.5496 GB, free: 7.441 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.00558, allocations: 192 / 0.5496 GB, free: 7.441 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.005591, allocations: 384 / 0.5496 GB, free: 7.441 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.005597, allocations: 4.125 kB / 0.5496 GB, free: 7.438 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.005739, allocations: 47.89 kB / 0.5496 GB, free: 7.391 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003838/0.006123, allocations: 220.1 kB / 0.5498 GB, free: 7.133 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.006423, allocations: 58.53 kB / 0.5499 GB, free: 7.066 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.479e-05/0.006497, allocations: 28.89 kB / 0.5499 GB, free: 7.035 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.0066, allocations: 11.88 kB / 0.5499 GB, free: 7.023 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.006625, allocations: 38.5 kB / 0.5499 GB, free: 6.977 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.006626, allocations: 0 / 0.5499 GB, free: 6.977 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0003252/0.006951, allocations: 101.6 kB / 0.55 GB, free: 6.871 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.006993, allocations: 51.41 kB / 0.5501 GB, free: 6.809 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.28e-05/0.007066, allocations: 102.2 kB / 0.5502 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.007078, allocations: 25.7 kB / 0.5502 GB, free: 6.668 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.106e-05/0.007129, allocations: 84.12 kB / 0.5503 GB, free: 6.582 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.00715, allocations: 15.94 kB / 0.5503 GB, free: 6.566 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.007185, allocations: 9.719 kB / 0.5503 GB, free: 6.551 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.007291, allocations: 314.8 kB / 0.5506 GB, free: 6.234 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.78e-05/0.007358, allocations: 23.97 kB / 0.5506 GB, free: 6.211 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.818e-05/0.007417, allocations: 24.02 kB / 0.5507 GB, free: 6.188 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.007542, allocations: 52.75 kB / 0.5507 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.007544, allocations: 0 / 0.5507 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001673/0.007712, allocations: 69.59 kB / 0.5508 GB, free: 6.059 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.007731, allocations: 8 kB / 0.5508 GB, free: 6.051 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.007737, allocations: 4 kB / 0.5508 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.007755, allocations: 3.984 kB / 0.5508 GB, free: 6.043 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.583e-05/0.007821, allocations: 8 kB / 0.5508 GB, free: 6.035 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.007828, allocations: 0 / 0.5508 GB, free: 6.035 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.343e-05/0.007871, allocations: 15.94 kB / 0.5508 GB, free: 6.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.007878, allocations: 0 / 0.5508 GB, free: 6.02 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 (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 8.363e-05/0.007961, allocations: 109.8 kB / 0.5509 GB, free: 5.902 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.284e-05/0.007984, allocations: 3.938 kB / 0.5509 GB, free: 5.898 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.008215, allocations: 93.25 kB / 0.551 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.008219, allocations: 3.984 kB / 0.551 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.008224, allocations: 0 / 0.551 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.008228, allocations: 0 / 0.551 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.008373, allocations: 132.8 kB / 0.5512 GB, free: 5.621 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.008375, allocations: 0 / 0.5512 GB, free: 5.621 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.459e-05/0.00843, allocations: 15.92 kB / 0.5512 GB, free: 5.605 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.008432, allocations: 0 / 0.5512 GB, free: 5.605 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.008441, allocations: 3.938 kB / 0.5512 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.008443, allocations: 7.938 kB / 0.5512 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.008444, allocations: 0 / 0.5512 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.008643, allocations: 167.5 kB / 0.5513 GB, free: 5.414 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.662e-05/0.00866, allocations: 19.81 kB / 0.5514 GB, free: 5.395 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.008672, allocations: 0 / 0.5514 GB, free: 5.395 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.927e-05/0.008732, allocations: 4 kB / 0.5514 GB, free: 5.391 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/0.008796, allocations: 7.984 kB / 0.5514 GB, free: 5.383 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.008801, allocations: 4 kB / 0.5514 GB, free: 5.379 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.475e-05/0.008836, allocations: 83.27 kB / 0.5515 GB, free: 5.297 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.008836, allocations: 4 kB / 0.5515 GB, free: 5.293 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001554/0.008991, allocations: 8 kB / 0.5515 GB, free: 5.285 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.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.0004212/0.009412, allocations: 0.7127 MB / 0.5522 GB, free: 4.543 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001451/0.009558, allocations: 47.95 kB / 0.5522 GB, free: 4.496 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.009559, allocations: 0 / 0.5522 GB, free: 4.496 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.708e-05/0.009606, allocations: 19.98 kB / 0.5522 GB, free: 4.477 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.009878, allocations: 14.33 kB / 0.5522 GB, free: 4.465 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003912/0.01027, allocations: 134.5 kB / 0.5524 GB, free: 4.293 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.572e-05/0.01033, allocations: 71.22 kB / 0.5524 GB, free: 4.203 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.406e-05/0.01035, allocations: 0 / 0.5524 GB, free: 4.203 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.01039, allocations: 16.5 kB / 0.5524 GB, free: 4.188 MB / 0.5105 GB Notification: Performance of SimCode: time 7.41e-07/0.01039, allocations: 4 kB / 0.5525 GB, free: 4.184 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01795/0.02834, allocations: 2.277 MB / 0.5547 GB, free: 2.051 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.704/6.733, allocations: 3.25 kB / 0.5547 GB, free: 2.051 MB / 0.5105 GB " [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.368017804808915] Failed to read output from testmodel.py, exit status != 0: 6.816555377095938 6.826510988 6.820111507 Calling exit ...