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.001427/0.001427, allocations: 98.08 kB / 19.59 MB, free: 2.34 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.001622/0.001622, allocations: 211.4 kB / 22.87 MB, free: 5.621 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.343/1.343, allocations: 230.5 MB / 256.5 MB, free: 8.035 MB / 206.1 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.8531/0.8531, allocations: 144.9 MB / 457.8 MB, free: 15.71 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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial") [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.001954/0.001954, allocations: 72.78 kB / 0.634 GB, free: 6.977 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1502, allocations: 87.88 MB / 0.7198 GB, free: 15.1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001616/0.1519, allocations: 0.5873 MB / 0.7204 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002417/0.1521, allocations: 55.84 kB / 0.7204 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.05e-05/0.1521, allocations: 0 / 0.7204 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.869e-06/0.1521, allocations: 0 / 0.7204 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.438e-06/0.1521, allocations: 0 / 0.7204 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.1523, allocations: 19.92 kB / 0.7204 GB, free: 14.44 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.771e-05/0.1524, allocations: 4 kB / 0.7204 GB, free: 14.44 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.787e-05/0.1524, allocations: 7.922 kB / 0.7205 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.012e-05/0.1524, allocations: 0 / 0.7205 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.759e-05/0.1524, allocations: 4 kB / 0.7205 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.003e-06/0.1524, allocations: 0 / 0.7205 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.158e-05/0.1525, allocations: 8 kB / 0.7205 GB, free: 14.42 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.484e-06/0.1525, allocations: 0 / 0.7205 GB, free: 14.42 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.489e-05/0.1525, allocations: 7.984 kB / 0.7205 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 6.819e-05/0.1526, allocations: 7.984 kB / 0.7205 GB, free: 14.4 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1526, allocations: 3.938 kB / 0.7205 GB, free: 14.4 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.123e-06/0.1526, allocations: 4 kB / 0.7205 GB, free: 14.39 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.1526, allocations: 0 / 0.7205 GB, free: 14.39 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002689/0.1529, allocations: 244.7 kB / 0.7207 GB, free: 14.12 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.1529, allocations: 8.031 kB / 0.7207 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.455e-05/0.1529, allocations: 0.9375 kB / 0.7207 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.661e-05/0.153, allocations: 110.5 kB / 0.7208 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.153, allocations: 4.312 kB / 0.7208 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-06/0.153, allocations: 4.312 kB / 0.7208 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.551e-05/0.1531, allocations: 38.25 kB / 0.7209 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.1531, allocations: 192 / 0.7209 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.1531, allocations: 3.938 kB / 0.7209 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1532, allocations: 3.984 kB / 0.7209 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.977e-05/0.1532, allocations: 8 kB / 0.7209 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001404/0.1533, allocations: 112.8 kB / 0.721 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.082e-05/0.1534, allocations: 34.53 kB / 0.721 GB, free: 13.72 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.799e-05/0.1534, allocations: 4.859 kB / 0.721 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001194/0.1535, allocations: 8.062 kB / 0.721 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.1536, allocations: 30.56 kB / 0.7211 GB, free: 13.67 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1536, allocations: 0 / 0.7211 GB, free: 13.67 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001398/0.1537, allocations: 45.62 kB / 0.7211 GB, free: 13.62 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.1537, allocations: 55.41 kB / 0.7212 GB, free: 13.55 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.576e-05/0.1538, allocations: 89.86 kB / 0.7213 GB, free: 13.45 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.1538, allocations: 25.7 kB / 0.7213 GB, free: 13.42 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.475e-05/0.1538, allocations: 84.27 kB / 0.7214 GB, free: 13.34 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.1539, allocations: 4 kB / 0.7214 GB, free: 13.33 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/0.1539, allocations: 13.72 kB / 0.7214 GB, free: 13.31 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.154, allocations: 314.8 kB / 0.7217 GB, free: 13 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.357e-06/0.154, allocations: 3.938 kB / 0.7217 GB, free: 12.99 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.402e-06/0.154, allocations: 4 kB / 0.7217 GB, free: 12.99 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.029e-05/0.1541, allocations: 12.86 kB / 0.7217 GB, free: 12.97 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1541, allocations: 64 / 0.7217 GB, free: 12.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.046e-05/0.1541, allocations: 49.64 kB / 0.7218 GB, free: 12.92 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1541, allocations: 10.03 kB / 0.7218 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.1541, allocations: 3.938 kB / 0.7218 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1542, allocations: 3.938 kB / 0.7218 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.901e-05/0.1542, allocations: 4 kB / 0.7218 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1542, allocations: 0 / 0.7218 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.438e-05/0.1542, allocations: 7.938 kB / 0.7218 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-06/0.1542, allocations: 0 / 0.7218 GB, free: 12.89 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 (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 7.915e-05/0.1543, allocations: 109.9 kB / 0.7219 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.065e-06/0.1543, allocations: 4 kB / 0.7219 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.039e-05/0.1544, allocations: 44.78 kB / 0.7219 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.1544, allocations: 4 kB / 0.7219 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.1544, allocations: 0 / 0.7219 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.123e-06/0.1544, allocations: 0 / 0.7219 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.817e-05/0.1545, allocations: 116.8 kB / 0.722 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.1545, allocations: 4 kB / 0.722 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.954e-05/0.1545, allocations: 0 / 0.722 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1545, allocations: 0 / 0.722 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.1545, allocations: 19.91 kB / 0.7221 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1545, allocations: 0 / 0.7221 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1545, allocations: 0 / 0.7221 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.081e-05/0.1546, allocations: 65.06 kB / 0.7221 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-06/0.1546, allocations: 0 / 0.7221 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.1546, allocations: 7.938 kB / 0.7221 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.03e-05/0.1546, allocations: 0 / 0.7221 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.959e-05/0.1547, allocations: 4.016 kB / 0.7221 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.1547, allocations: 4 kB / 0.7221 GB, free: 12.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.963e-05/0.1547, allocations: 75.28 kB / 0.7222 GB, free: 12.36 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1547, allocations: 0 / 0.7222 GB, free: 12.36 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000182/0.1549, allocations: 4 kB / 0.7222 GB, free: 12.36 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.0001402/0.155, allocations: 99.25 kB / 0.7223 GB, free: 12.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.694e-05/0.1551, allocations: 19.92 kB / 0.7223 GB, free: 12.23 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.1551, allocations: 0 / 0.7223 GB, free: 12.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.068e-05/0.1551, allocations: 8.062 kB / 0.7223 GB, free: 12.22 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.1552, allocations: 4 kB / 0.7223 GB, free: 12.21 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002074/0.1554, allocations: 114.5 kB / 0.7225 GB, free: 12.07 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.047e-05/0.1555, allocations: 59.34 kB / 0.7225 GB, free: 11.99 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.459e-05/0.1555, allocations: 7.438 kB / 0.7225 GB, free: 11.98 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.1555, allocations: 0 / 0.7225 GB, free: 11.98 MB / 0.545 GB Notification: Performance of Templates: time 0.001841/0.1574, allocations: 464.5 kB / 0.723 GB, free: 11.53 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 660] (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 & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.995925095980056] Failed to read output from testmodel.py, exit status != 0: 0.16514812398236245 0.17872374900000002 0.023192081 Calling exit ...