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.0009198/0.0009198, 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.000865/0.000865, 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.8868/0.8868, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.5397/0.5397, allocations: 110.2 MB / 369.4 MB, free: 12.61 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 2.365e-06/2.365e-06, allocations: 3.938 kB / 0.5473 GB, free: 8.703 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.357e-05/1.593e-05, allocations: 5.734 kB / 0.5473 GB, free: 8.699 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.00105/0.001066, allocations: 0.5841 MB / 0.5479 GB, free: 8.113 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002261/0.001292, allocations: 43.86 kB / 0.5479 GB, free: 8.07 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.425e-05/0.001306, allocations: 0 / 0.5479 GB, free: 8.07 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.441e-05/0.001321, allocations: 0 / 0.5479 GB, free: 8.07 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 6.682e-06/0.001328, allocations: 7.938 kB / 0.5479 GB, free: 8.062 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.001541, allocations: 15.92 kB / 0.548 GB, free: 8.047 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 4.269e-05/0.001584, allocations: 0 / 0.548 GB, free: 8.047 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.977e-05/0.001624, allocations: 4 kB / 0.548 GB, free: 8.043 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.642e-05/0.00165, allocations: 4 kB / 0.548 GB, free: 8.039 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.866e-05/0.001669, allocations: 0 / 0.548 GB, free: 8.039 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.001681, allocations: 0 / 0.548 GB, free: 8.039 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.211e-05/0.001753, allocations: 11.98 kB / 0.548 GB, free: 8.027 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.001766, allocations: 7.922 kB / 0.548 GB, free: 8.02 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.253e-05/0.001779, allocations: 4 kB / 0.548 GB, free: 8.016 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 8.026e-05/0.001859, allocations: 11.98 kB / 0.548 GB, free: 8.004 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.001861, allocations: 0 / 0.548 GB, free: 8.004 MB / 474.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.001861, allocations: 0 / 0.548 GB, free: 8.004 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.001865, allocations: 0 / 0.548 GB, free: 8.004 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.0002137/0.002079, allocations: 242.5 kB / 0.5482 GB, free: 7.734 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.002117, allocations: 12.03 kB / 0.5482 GB, free: 7.723 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.686e-05/0.002144, allocations: 30.75 kB / 0.5483 GB, free: 7.684 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.275e-05/0.002167, allocations: 4.922 kB / 0.5483 GB, free: 7.68 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.464e-05/0.002231, allocations: 105.7 kB / 0.5484 GB, free: 7.551 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.002241, allocations: 8.312 kB / 0.5484 GB, free: 7.543 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-06/0.002249, allocations: 384 / 0.5484 GB, free: 7.543 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.656e-05/0.002335, allocations: 30.27 kB / 0.5484 GB, free: 7.508 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.002343, allocations: 192 / 0.5484 GB, free: 7.508 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.002352, allocations: 4.375 kB / 0.5484 GB, free: 7.504 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.002358, allocations: 8.125 kB / 0.5484 GB, free: 7.496 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.317e-05/0.002391, allocations: 11.98 kB / 0.5484 GB, free: 7.484 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001047/0.002495, allocations: 116.7 kB / 0.5486 GB, free: 7.328 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.785e-05/0.002543, allocations: 30.55 kB / 0.5486 GB, free: 7.289 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.524e-05/0.002559, allocations: 4.859 kB / 0.5486 GB, free: 7.281 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.002686, allocations: 8.047 kB / 0.5486 GB, free: 7.273 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.002703, allocations: 30.56 kB / 0.5486 GB, free: 7.234 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.002704, allocations: 4 kB / 0.5486 GB, free: 7.23 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001206/0.002824, allocations: 41.69 kB / 0.5487 GB, free: 7.184 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.002852, allocations: 59.47 kB / 0.5487 GB, free: 7.113 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.786e-05/0.00288, allocations: 89.86 kB / 0.5488 GB, free: 7.016 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.002889, allocations: 33.58 kB / 0.5488 GB, free: 6.977 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.865e-05/0.002908, allocations: 80.14 kB / 0.5489 GB, free: 6.895 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.002925, allocations: 7.938 kB / 0.5489 GB, free: 6.887 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.163e-05/0.002947, allocations: 13.72 kB / 0.5489 GB, free: 6.867 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.422e-05/0.003021, allocations: 314.8 kB / 0.5492 GB, free: 6.551 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.057e-06/0.00303, allocations: 0 / 0.5492 GB, free: 6.551 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.103e-06/0.003037, allocations: 3.984 kB / 0.5492 GB, free: 6.547 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.641e-05/0.003063, allocations: 16.86 kB / 0.5493 GB, free: 6.527 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.003065, allocations: 4.062 kB / 0.5493 GB, free: 6.523 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.902e-05/0.003104, allocations: 33.7 kB / 0.5493 GB, free: 6.484 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.003118, allocations: 4 kB / 0.5493 GB, free: 6.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.003124, allocations: 0 / 0.5493 GB, free: 6.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.003138, allocations: 0 / 0.5493 GB, free: 6.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.655e-05/0.003204, allocations: 15.92 kB / 0.5493 GB, free: 6.465 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.003212, allocations: 3.938 kB / 0.5493 GB, free: 6.461 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.145e-05/0.003223, allocations: 0 / 0.5493 GB, free: 6.461 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.00323, allocations: 7.984 kB / 0.5493 GB, free: 6.453 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 (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 6.466e-05/0.003295, allocations: 109.9 kB / 0.5494 GB, free: 6.336 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-06/0.003301, allocations: 0 / 0.5494 GB, free: 6.336 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.138e-05/0.003393, allocations: 48.8 kB / 0.5495 GB, free: 6.281 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.003394, allocations: 0 / 0.5495 GB, free: 6.281 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.003399, allocations: 3.938 kB / 0.5495 GB, free: 6.277 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.003402, allocations: 4 kB / 0.5495 GB, free: 6.273 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.203e-05/0.003464, allocations: 112.8 kB / 0.5496 GB, free: 6.121 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.003465, allocations: 0 / 0.5496 GB, free: 6.121 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.624e-05/0.003481, allocations: 7.984 kB / 0.5496 GB, free: 6.113 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.003482, allocations: 3.938 kB / 0.5496 GB, free: 6.109 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.003488, allocations: 0 / 0.5496 GB, free: 6.109 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.003488, allocations: 4.031 kB / 0.5496 GB, free: 6.105 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.003491, allocations: 11.88 kB / 0.5496 GB, free: 6.094 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.575e-05/0.003537, allocations: 61.12 kB / 0.5497 GB, free: 6.016 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.126e-06/0.00354, allocations: 0 / 0.5497 GB, free: 6.016 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.454e-06/0.003547, allocations: 0 / 0.5497 GB, free: 6.016 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.692e-06/0.003554, allocations: 12 kB / 0.5497 GB, free: 6.004 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.223e-05/0.003576, allocations: 3.938 kB / 0.5497 GB, free: 6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-06/0.003578, allocations: 0 / 0.5497 GB, free: 6 MB / 474.7 MB Notification: Performance of sorting global known variables: time 1.828e-05/0.003596, allocations: 79.22 kB / 0.5498 GB, free: 5.922 MB / 474.7 MB Notification: Performance of sort global known variables: time 4e-08/0.003596, allocations: 0 / 0.5498 GB, free: 5.922 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001193/0.003715, allocations: 8.031 kB / 0.5498 GB, free: 5.914 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,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.0002694/0.003985, allocations: 0.6124 MB / 0.5504 GB, free: 5.273 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 6.039e-05/0.004045, allocations: 4 kB / 0.5504 GB, free: 5.27 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.004047, allocations: 0 / 0.5504 GB, free: 5.27 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.597e-05/0.004063, allocations: 8 kB / 0.5504 GB, free: 5.262 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.862e-05/0.004161, allocations: 10.17 kB / 0.5504 GB, free: 5.254 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002319/0.004393, allocations: 114.6 kB / 0.5505 GB, free: 5.102 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.346e-05/0.004427, allocations: 59.52 kB / 0.5506 GB, free: 5.023 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.024e-05/0.004437, allocations: 4 kB / 0.5506 GB, free: 5.02 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.048e-05/0.004457, allocations: 12.48 kB / 0.5506 GB, free: 5.008 MB / 474.7 MB Notification: Performance of SimCode: time 3.51e-07/0.004458, allocations: 0 / 0.5506 GB, free: 5.008 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.017/0.02146, allocations: 1.711 MB / 0.5522 GB, free: 3.43 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.654/6.676, allocations: 5.25 kB / 0.5523 GB, free: 3.43 MB / 474.7 MB " [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.235636921599507] Failed to read output from testmodel.py, exit status != 0: 6.752410565502942 6.764031519 6.760206688 Calling exit ...