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.001566/0.001566, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.002063/0.002063, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.488/1.488, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.9487/0.9487, allocations: 144.9 MB / 454.5 MB, free: 10.04 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Factorial",fmuType="cs",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.001885/0.001885, allocations: 70.56 kB / 0.6287 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1711, allocations: 87.83 MB / 0.7145 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.002056/0.1731, allocations: 0.5788 MB / 0.7151 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003101/0.1735, allocations: 47.86 kB / 0.7151 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.894e-05/0.1735, allocations: 0 / 0.7151 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.685e-05/0.1735, allocations: 0 / 0.7151 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.741e-06/0.1735, allocations: 0 / 0.7151 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.1737, allocations: 19.91 kB / 0.7152 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5e-05/0.1738, allocations: 4 kB / 0.7152 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.316e-05/0.1738, allocations: 4 kB / 0.7152 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.699e-05/0.1738, allocations: 4 kB / 0.7152 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.371e-05/0.1739, allocations: 3.938 kB / 0.7152 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.799e-06/0.1739, allocations: 0 / 0.7152 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.6e-05/0.174, allocations: 11.98 kB / 0.7152 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.148e-05/0.174, allocations: 0 / 0.7152 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.414e-05/0.174, allocations: 7.984 kB / 0.7152 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.1741, allocations: 4.844 kB / 0.7152 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1741, allocations: 4 kB / 0.7152 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.823e-06/0.1741, allocations: 0 / 0.7152 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.1741, allocations: 0 / 0.7152 GB, free: 11.02 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.0004023/0.1745, allocations: 319.8 kB / 0.7155 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.1746, allocations: 8.031 kB / 0.7155 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.152e-05/0.1746, allocations: 4.188 kB / 0.7155 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.67e-05/0.1747, allocations: 38.69 kB / 0.7155 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.1747, allocations: 0.9375 kB / 0.7155 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.1748, allocations: 164.4 kB / 0.7157 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.1748, allocations: 384 / 0.7157 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.1748, allocations: 4.312 kB / 0.7157 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.175, allocations: 38.02 kB / 0.7157 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.175, allocations: 0 / 0.7157 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.175, allocations: 0 / 0.7157 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.175, allocations: 3.938 kB / 0.7158 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.729e-05/0.175, allocations: 11.98 kB / 0.7158 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002008/0.1753, allocations: 145.7 kB / 0.7159 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.313e-05/0.1753, allocations: 22.61 kB / 0.7159 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.137e-05/0.1753, allocations: 9.203 kB / 0.7159 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002735/0.1756, allocations: 89.16 kB / 0.716 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.1757, allocations: 34.5 kB / 0.716 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1757, allocations: 0 / 0.716 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001769/0.1758, allocations: 45.67 kB / 0.7161 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.1759, allocations: 55.41 kB / 0.7161 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.782e-05/0.176, allocations: 89.86 kB / 0.7162 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.176, allocations: 25.7 kB / 0.7163 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.44e-05/0.176, allocations: 84.27 kB / 0.7163 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.176, allocations: 0 / 0.7163 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.1761, allocations: 17.72 kB / 0.7164 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001954/0.1763, allocations: 310.8 kB / 0.7166 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.413e-05/0.1763, allocations: 3.938 kB / 0.7167 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.478e-06/0.1763, allocations: 7.984 kB / 0.7167 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.488e-05/0.1763, allocations: 12.86 kB / 0.7167 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1763, allocations: 64 / 0.7167 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.025e-05/0.1764, allocations: 41.66 kB / 0.7167 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.1764, allocations: 11.94 kB / 0.7167 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.778e-06/0.1764, allocations: 0 / 0.7167 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.1764, allocations: 0 / 0.7167 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.875e-05/0.1765, allocations: 7.984 kB / 0.7167 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1765, allocations: 0 / 0.7167 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.631e-05/0.1765, allocations: 4 kB / 0.7167 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.1765, allocations: 0 / 0.7167 GB, free: 9.184 MB / 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 0.0001555/0.1767, allocations: 121.8 kB / 0.7169 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-06/0.1767, allocations: 7.938 kB / 0.7169 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.1768, allocations: 48.8 kB / 0.7169 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1768, allocations: 0 / 0.7169 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.1768, allocations: 0 / 0.7169 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1768, allocations: 0 / 0.7169 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.177, allocations: 145.7 kB / 0.717 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.177, allocations: 4 kB / 0.717 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.998e-05/0.1771, allocations: 4 kB / 0.7171 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1771, allocations: 3.938 kB / 0.7171 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.1771, allocations: 8.031 kB / 0.7171 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1771, allocations: 0 / 0.7171 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1771, allocations: 0 / 0.7171 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.782e-05/0.1772, allocations: 65.06 kB / 0.7171 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.1773, allocations: 85.05 kB / 0.7172 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.1773, allocations: 3.938 kB / 0.7172 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.068e-05/0.1773, allocations: 0 / 0.7172 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.1774, allocations: 8.031 kB / 0.7172 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.1774, allocations: 0 / 0.7172 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.252e-05/0.1774, allocations: 79.27 kB / 0.7173 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5e-08/0.1774, allocations: 0 / 0.7173 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002012/0.1776, allocations: 7.938 kB / 0.7173 GB, free: 8.5 MB / 0.5294 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.000686/0.1783, allocations: 0.6106 MB / 0.7179 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.898e-05/0.1784, allocations: 8 kB / 0.7179 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1784, allocations: 4 kB / 0.7179 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-05/0.1784, allocations: 0 / 0.7179 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.1785, allocations: 4 kB / 0.7179 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003418/0.1789, allocations: 118.6 kB / 0.718 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.1792, allocations: 0.6729 MB / 0.7187 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.468e-05/0.1792, allocations: 12.05 kB / 0.7187 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.588e-05/0.1792, allocations: 11.44 kB / 0.7187 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.1792, allocations: 3.938 kB / 0.7187 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.1973, allocations: 1.129 MB / 0.7198 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.112/8.31, allocations: 6.094 kB / 0.7198 GB, free: 5.961 MB / 0.5294 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Factorial_fmu --startTime=0 --stopTime=12.9 --stepSize=0.00516 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Factorial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.22912582301069] Failed to read output from testmodel.py, exit status != 0: 8.430678460979834 8.44688854 8.269801976 Calling exit ...