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.00169/0.00169, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001532/0.001532, allocations: 216.3 kB / 23.04 MB, free: 5.078 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.9099/0.9099, allocations: 145 MB / 458.2 MB, free: 15.53 MB / 366.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.Examples.Factorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Factorial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_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.002068/0.002068, allocations: 62.03 kB / 0.6339 GB, free: 7.34 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1895, allocations: 87.89 MB / 0.7198 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.002968/0.1924, allocations: 1.545 MB / 0.7213 GB, free: 13.9 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004182/0.1929, allocations: 128.5 kB / 0.7214 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.856e-05/0.1929, allocations: 4 kB / 0.7214 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.252e-05/0.1929, allocations: 0 / 0.7214 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.415e-05/0.193, allocations: 3.938 kB / 0.7214 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.1932, allocations: 19.92 kB / 0.7214 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.589e-05/0.1933, allocations: 27.98 kB / 0.7215 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1934, allocations: 19.97 kB / 0.7215 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.078e-05/0.1934, allocations: 7.938 kB / 0.7215 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.452e-05/0.1935, allocations: 23.92 kB / 0.7215 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.1935, allocations: 3.938 kB / 0.7215 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.911e-05/0.1936, allocations: 19.92 kB / 0.7215 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.04e-05/0.1936, allocations: 0 / 0.7215 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.326e-05/0.1936, allocations: 19.92 kB / 0.7215 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.1938, allocations: 31.89 kB / 0.7216 GB, free: 13.59 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1938, allocations: 0 / 0.7216 GB, free: 13.59 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1938, allocations: 0 / 0.7216 GB, free: 13.59 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.1938, allocations: 4 kB / 0.7216 GB, free: 13.59 MB / 0.545 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.0004685/0.1942, allocations: 262.3 kB / 0.7218 GB, free: 13.3 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1943, allocations: 12.03 kB / 0.7218 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.28e-05/0.1943, allocations: 192 / 0.7218 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.09e-05/0.1943, allocations: 30.75 kB / 0.7219 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.933e-05/0.1943, allocations: 12.88 kB / 0.7219 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.1945, allocations: 106.5 kB / 0.722 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.1945, allocations: 4.375 kB / 0.722 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.1945, allocations: 4.375 kB / 0.722 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.1947, allocations: 65.92 kB / 0.7221 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.1947, allocations: 0 / 0.7221 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1947, allocations: 4 kB / 0.7221 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1947, allocations: 0 / 0.7221 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002014/0.1949, allocations: 39.95 kB / 0.7221 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.1953, allocations: 247.9 kB / 0.7223 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003303/0.1956, allocations: 54.48 kB / 0.7224 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.1957, allocations: 28.89 kB / 0.7224 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.618e-05/0.1958, allocations: 3.984 kB / 0.7224 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.1958, allocations: 42.56 kB / 0.7225 GB, free: 12.55 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.031e-06/0.1958, allocations: 4 kB / 0.7225 GB, free: 12.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0004039/0.1963, allocations: 93.56 kB / 0.7225 GB, free: 12.45 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.1963, allocations: 51.41 kB / 0.7226 GB, free: 12.39 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.65e-05/0.1964, allocations: 105.8 kB / 0.7227 GB, free: 12.28 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.805e-05/0.1964, allocations: 25.7 kB / 0.7227 GB, free: 12.25 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.672e-05/0.1965, allocations: 84.14 kB / 0.7228 GB, free: 12.16 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.1965, allocations: 11.95 kB / 0.7228 GB, free: 12.15 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.1965, allocations: 17.7 kB / 0.7228 GB, free: 12.12 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.1967, allocations: 318.8 kB / 0.7231 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.22e-05/0.1968, allocations: 15.98 kB / 0.7231 GB, free: 11.79 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.468e-05/0.1969, allocations: 19.97 kB / 0.7232 GB, free: 11.77 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.1971, allocations: 49.3 kB / 0.7232 GB, free: 11.72 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1971, allocations: 0 / 0.7232 GB, free: 11.72 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002334/0.1973, allocations: 81.58 kB / 0.7233 GB, free: 11.63 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1973, allocations: 4 kB / 0.7233 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1973, allocations: 0 / 0.7233 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1973, allocations: 0 / 0.7233 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.313e-05/0.1974, allocations: 19.86 kB / 0.7233 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1974, allocations: 0 / 0.7233 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.412e-05/0.1975, allocations: 15.98 kB / 0.7233 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.1975, allocations: 0 / 0.7233 GB, free: 11.59 MB / 0.545 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 9.68e-05/0.1976, allocations: 113.8 kB / 0.7234 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.1976, allocations: 0 / 0.7234 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002755/0.1979, allocations: 85.33 kB / 0.7235 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1979, allocations: 0 / 0.7235 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1979, allocations: 0 / 0.7235 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1979, allocations: 4 kB / 0.7235 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.1981, allocations: 136.7 kB / 0.7237 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1981, allocations: 0 / 0.7237 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.854e-05/0.1982, allocations: 15.92 kB / 0.7237 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1982, allocations: 0 / 0.7237 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.1982, allocations: 0 / 0.7237 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1982, allocations: 0 / 0.7237 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1982, allocations: 0 / 0.7237 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.1985, allocations: 179.4 kB / 0.7238 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.929e-06/0.1985, allocations: 7.891 kB / 0.7238 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.1985, allocations: 8 kB / 0.7239 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.329e-05/0.1986, allocations: 4 kB / 0.7239 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.1987, allocations: 3.984 kB / 0.7239 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.1987, allocations: 0 / 0.7239 GB, free: 10.96 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.981e-05/0.1987, allocations: 87.27 kB / 0.7239 GB, free: 10.88 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1987, allocations: 0 / 0.7239 GB, free: 10.88 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002319/0.199, allocations: 15.94 kB / 0.724 GB, free: 10.86 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.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.0008063/0.1998, allocations: 0.7085 MB / 0.7247 GB, free: 10.12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002534/0.2, allocations: 44.28 kB / 0.7247 GB, free: 10.08 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2, allocations: 0 / 0.7247 GB, free: 10.08 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.2001, allocations: 27.91 kB / 0.7247 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.2004, allocations: 8.188 kB / 0.7247 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000534/0.201, allocations: 139.1 kB / 0.7249 GB, free: 9.871 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/0.2014, allocations: 0.6806 MB / 0.7255 GB, free: 9.164 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.11e-05/0.2014, allocations: 8 kB / 0.7255 GB, free: 9.156 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.2014, allocations: 15.42 kB / 0.7256 GB, free: 9.145 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.2014, allocations: 4 kB / 0.7256 GB, free: 9.141 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02226/0.2237, allocations: 1.734 MB / 0.7272 GB, free: 7.551 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.03, allocations: 5.812 kB / 0.7273 GB, free: 7.551 MB / 0.545 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Factorial_fmu --startTime=0 --stopTime=13 --stepSize=0.0052 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Factorial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.844092732993886] Failed to read output from testmodel.py, exit status != 0: 11.194124724948779 11.209666952 11.01273087 Calling exit ...