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.001274/0.001274, allocations: 104.7 kB / 16.45 MB, free: 6.449 MB / 14.72 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.001539/0.001539, allocations: 206.4 kB / 19.42 MB, free: 3.641 MB / 14.72 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 1.457/1.457, allocations: 230.6 MB / 252.8 MB, free: 8.996 MB / 206.1 MB " [Timeout remaining time 178] 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.9247/0.9247, allocations: 145 MB / 453.8 MB, free: 0.7148 MB / 350.1 MB " [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: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00314/0.00314, allocations: 70.06 kB / 0.6281 GB, free: 10.62 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2241, allocations: 87.83 MB / 0.7138 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001873/0.226, allocations: 0.5721 MB / 0.7144 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003195/0.2263, allocations: 55.78 kB / 0.7145 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.013e-05/0.2263, allocations: 0 / 0.7145 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.532e-05/0.2263, allocations: 4 kB / 0.7145 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.572e-06/0.2263, allocations: 0 / 0.7145 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.2266, allocations: 8 kB / 0.7145 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.382e-05/0.2266, allocations: 7.984 kB / 0.7145 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.434e-05/0.2267, allocations: 3.938 kB / 0.7145 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.896e-05/0.2267, allocations: 3.938 kB / 0.7145 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.57e-05/0.2267, allocations: 7.922 kB / 0.7145 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.2267, allocations: 4 kB / 0.7145 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.676e-05/0.2268, allocations: 8 kB / 0.7145 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.098e-05/0.2268, allocations: 0 / 0.7145 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.939e-05/0.2269, allocations: 0 / 0.7145 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.994e-05/0.227, allocations: 19.97 kB / 0.7145 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.227, allocations: 0 / 0.7145 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.873e-06/0.227, allocations: 0 / 0.7145 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.227, allocations: 0 / 0.7145 GB, free: 2.121 MB / 0.5294 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.000384/0.2274, allocations: 321.6 kB / 0.7148 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.2274, allocations: 12.03 kB / 0.7148 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.33e-05/0.2274, allocations: 30.75 kB / 0.7149 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.199e-05/0.2275, allocations: 0.9375 kB / 0.7149 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.2276, allocations: 160.4 kB / 0.715 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.2276, allocations: 4.375 kB / 0.715 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.2276, allocations: 8.375 kB / 0.715 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.2277, allocations: 30.25 kB / 0.7151 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.2277, allocations: 3.938 kB / 0.7151 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.2277, allocations: 4 kB / 0.7151 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.2277, allocations: 3.938 kB / 0.7151 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.121e-05/0.2278, allocations: 0 / 0.7151 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001683/0.2279, allocations: 149.7 kB / 0.7152 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.95e-05/0.228, allocations: 26.59 kB / 0.7152 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.328e-05/0.228, allocations: 13.33 kB / 0.7153 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000189/0.2282, allocations: 77.11 kB / 0.7153 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.2282, allocations: 34.56 kB / 0.7154 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.2282, allocations: 0 / 0.7154 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001613/0.2284, allocations: 49.56 kB / 0.7154 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.2284, allocations: 51.41 kB / 0.7155 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.997e-05/0.2285, allocations: 93.98 kB / 0.7155 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.2285, allocations: 25.7 kB / 0.7156 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.187e-05/0.2285, allocations: 80.14 kB / 0.7156 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.2286, allocations: 4 kB / 0.7157 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.2286, allocations: 13.7 kB / 0.7157 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.2287, allocations: 314.8 kB / 0.716 GB, free: 408 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.151e-05/0.2287, allocations: 4 kB / 0.716 GB, free: 404 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.306e-06/0.2287, allocations: 0 / 0.716 GB, free: 404 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.224e-05/0.2288, allocations: 24.86 kB / 0.716 GB, free: 376 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.2288, allocations: 0 / 0.716 GB, free: 376 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.522e-05/0.2289, allocations: 41.64 kB / 0.716 GB, free: 328 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.2289, allocations: 4 kB / 0.716 GB, free: 324 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2289, allocations: 3.938 kB / 0.716 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.2289, allocations: 7.922 kB / 0.716 GB, free: 312 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.022e-05/0.2289, allocations: 4 kB / 0.7161 GB, free: 308 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.229, allocations: 0 / 0.7161 GB, free: 308 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.346e-05/0.229, allocations: 3.938 kB / 0.7161 GB, free: 304 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.229, allocations: 8.031 kB / 0.7161 GB, free: 296 kB / 0.5294 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 8.082e-05/0.2291, allocations: 113.8 kB / 0.7162 GB, free: 172 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-06/0.2291, allocations: 3.984 kB / 0.7162 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.899e-05/0.2292, allocations: 44.7 kB / 0.7162 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2292, allocations: 0 / 0.7162 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2292, allocations: 0 / 0.7162 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2292, allocations: 3.984 kB / 0.7162 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.2293, allocations: 149.7 kB / 0.7164 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2293, allocations: 0 / 0.7164 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.366e-05/0.2293, allocations: 8.031 kB / 0.7164 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.2293, allocations: 4 kB / 0.7164 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-06/0.2293, allocations: 3.938 kB / 0.7164 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2293, allocations: 0 / 0.7164 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.2293, allocations: 3.984 kB / 0.7164 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.614e-05/0.2294, allocations: 61.08 kB / 0.7164 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.295e-05/0.2295, allocations: 81.11 kB / 0.7165 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.2295, allocations: 11.95 kB / 0.7165 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.052e-05/0.2295, allocations: 0 / 0.7165 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.89e-05/0.2295, allocations: 0 / 0.7165 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.2295, allocations: 0 / 0.7165 GB, free: 15.71 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.32e-05/0.2296, allocations: 79.28 kB / 0.7166 GB, free: 15.63 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2296, allocations: 0 / 0.7166 GB, free: 15.63 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001853/0.2298, allocations: 11.94 kB / 0.7166 GB, free: 15.62 MB / 0.545 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.0004589/0.2302, allocations: 0.6007 MB / 0.7172 GB, free: 14.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.801e-05/0.2303, allocations: 15.92 kB / 0.7172 GB, free: 14.97 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2303, allocations: 0 / 0.7172 GB, free: 14.97 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.724e-05/0.2303, allocations: 8 kB / 0.7172 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.2305, allocations: 1.875 kB / 0.7172 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.2308, allocations: 126.7 kB / 0.7173 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.2311, allocations: 0.669 MB / 0.718 GB, free: 14.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.319e-05/0.2311, allocations: 3.938 kB / 0.718 GB, free: 14.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.551e-05/0.2311, allocations: 11.44 kB / 0.718 GB, free: 14.09 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.2311, allocations: 0 / 0.718 GB, free: 14.09 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02324/0.2544, allocations: 1.092 MB / 0.7191 GB, free: 13.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.827/8.082, allocations: 11.92 kB / 0.7191 GB, free: 13.09 MB / 0.545 GB " [Timeout remaining time 652] (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: 11.776227563997963] Failed to read output from testmodel.py, exit status != 0: 8.14909271900251 8.16306465 7.932136491 Calling exit ...