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.0007401/0.0007401, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007115/0.0007115, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.8252/0.8252, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.5069/0.5069, allocations: 110.2 MB / 370.2 MB, free: 12.62 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: 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: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 0.5486 GB, free: 9.301 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.544e-05/1.66e-05, allocations: 3.266 kB / 0.5486 GB, free: 9.297 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.0009214/0.000938, allocations: 0.5906 MB / 0.5491 GB, free: 8.707 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.000191/0.001129, allocations: 47.81 kB / 0.5492 GB, free: 8.66 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.5e-05/0.001144, allocations: 0 / 0.5492 GB, free: 8.66 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.461e-05/0.001159, allocations: 3.938 kB / 0.5492 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.49e-06/0.001164, allocations: 0 / 0.5492 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.001358, allocations: 11.97 kB / 0.5492 GB, free: 8.645 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 4.008e-05/0.001399, allocations: 4 kB / 0.5492 GB, free: 8.641 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/0.001438, allocations: 4 kB / 0.5492 GB, free: 8.637 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 2.294e-05/0.00146, allocations: 0 / 0.5492 GB, free: 8.637 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 1.684e-05/0.001477, allocations: 4 kB / 0.5492 GB, free: 8.633 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.001488, allocations: 0 / 0.5492 GB, free: 8.633 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 6.51e-05/0.001553, allocations: 11.98 kB / 0.5492 GB, free: 8.621 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 8.676e-06/0.001562, allocations: 3.938 kB / 0.5492 GB, free: 8.617 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.408e-05/0.001576, allocations: 7.984 kB / 0.5492 GB, free: 8.609 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 7.444e-05/0.00165, allocations: 7.984 kB / 0.5492 GB, free: 8.602 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.001652, allocations: 7.938 kB / 0.5492 GB, free: 8.594 MB / 0.5105 GB Notification: Performance of FrontEnd: time 6.62e-07/0.001652, allocations: 0 / 0.5492 GB, free: 8.594 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.001656, allocations: 0 / 0.5492 GB, free: 8.594 MB / 0.5105 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.0002022/0.001858, allocations: 242.4 kB / 0.5495 GB, free: 8.324 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.001895, allocations: 8.031 kB / 0.5495 GB, free: 8.316 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.728e-05/0.001922, allocations: 8.875 kB / 0.5495 GB, free: 8.309 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.15e-05/0.001974, allocations: 101.8 kB / 0.5496 GB, free: 8.184 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-06/0.001983, allocations: 4.375 kB / 0.5496 GB, free: 8.18 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-06/0.00199, allocations: 384 / 0.5496 GB, free: 8.18 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.468e-05/0.002065, allocations: 34.27 kB / 0.5496 GB, free: 8.141 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.002071, allocations: 192 / 0.5496 GB, free: 8.141 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.002078, allocations: 384 / 0.5496 GB, free: 8.141 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.002082, allocations: 384 / 0.5496 GB, free: 8.141 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.871e-05/0.002111, allocations: 11.92 kB / 0.5496 GB, free: 8.129 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.854e-05/0.002199, allocations: 101.3 kB / 0.5497 GB, free: 8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.579e-05/0.002245, allocations: 26.55 kB / 0.5498 GB, free: 7.965 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.36e-05/0.002259, allocations: 8.922 kB / 0.5498 GB, free: 7.953 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/0.002372, allocations: 11.98 kB / 0.5498 GB, free: 7.941 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.002391, allocations: 34.56 kB / 0.5498 GB, free: 7.898 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 6.12e-07/0.002392, allocations: 0 / 0.5498 GB, free: 7.898 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001124/0.002504, allocations: 41.69 kB / 0.5499 GB, free: 7.852 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.002531, allocations: 55.34 kB / 0.5499 GB, free: 7.785 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.618e-05/0.002557, allocations: 89.86 kB / 0.55 GB, free: 7.688 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.374e-06/0.002565, allocations: 33.64 kB / 0.55 GB, free: 7.648 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002618/0.002826, allocations: 80.14 kB / 0.5501 GB, free: 7.566 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.00285, allocations: 4 kB / 0.5501 GB, free: 7.562 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.972e-05/0.00287, allocations: 13.72 kB / 0.5501 GB, free: 7.543 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.288e-05/0.002942, allocations: 318.9 kB / 0.5504 GB, free: 7.223 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.016e-05/0.002953, allocations: 0 / 0.5504 GB, free: 7.223 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.064e-06/0.00296, allocations: 7.984 kB / 0.5504 GB, free: 7.215 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.747e-05/0.002987, allocations: 12.86 kB / 0.5504 GB, free: 7.199 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.002989, allocations: 0 / 0.5504 GB, free: 7.199 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.965e-05/0.003028, allocations: 37.7 kB / 0.5505 GB, free: 7.156 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.003039, allocations: 8 kB / 0.5505 GB, free: 7.148 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.003044, allocations: 0 / 0.5505 GB, free: 7.148 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.003055, allocations: 3.938 kB / 0.5505 GB, free: 7.145 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.97e-05/0.003105, allocations: 12.08 kB / 0.5505 GB, free: 7.133 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.00311, allocations: 0 / 0.5505 GB, free: 7.133 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.859e-06/0.003119, allocations: 3.938 kB / 0.5505 GB, free: 7.129 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-06/0.003123, allocations: 0 / 0.5505 GB, free: 7.129 MB / 0.5105 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 4.796e-05/0.003171, allocations: 113.8 kB / 0.5506 GB, free: 7.008 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-06/0.003175, allocations: 3.953 kB / 0.5506 GB, free: 7.004 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.29e-05/0.003248, allocations: 52.77 kB / 0.5507 GB, free: 6.945 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.003249, allocations: 0 / 0.5507 GB, free: 6.945 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.003253, allocations: 0 / 0.5507 GB, free: 6.945 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.003255, allocations: 0 / 0.5507 GB, free: 6.945 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.242e-05/0.003308, allocations: 105.3 kB / 0.5508 GB, free: 6.812 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.003308, allocations: 0 / 0.5508 GB, free: 6.812 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.719e-06/0.003318, allocations: 3.984 kB / 0.5508 GB, free: 6.809 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.52e-07/0.003319, allocations: 0 / 0.5508 GB, free: 6.809 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-06/0.003324, allocations: 4 kB / 0.5508 GB, free: 6.805 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.91e-07/0.003325, allocations: 3.938 kB / 0.5508 GB, free: 6.801 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.003326, allocations: 0 / 0.5508 GB, free: 6.801 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.909e-05/0.003375, allocations: 61.08 kB / 0.5508 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-06/0.003379, allocations: 7.984 kB / 0.5508 GB, free: 6.715 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-06/0.003389, allocations: 0 / 0.5508 GB, free: 6.715 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.258e-06/0.003393, allocations: 4.031 kB / 0.5509 GB, free: 6.711 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.003425, allocations: 7.984 kB / 0.5509 GB, free: 6.703 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.003426, allocations: 4 kB / 0.5509 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.136e-05/0.003448, allocations: 79.22 kB / 0.5509 GB, free: 6.621 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/0.003448, allocations: 0 / 0.5509 GB, free: 6.621 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001202/0.003568, allocations: 4 kB / 0.5509 GB, free: 6.617 MB / 0.5105 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.0001143/0.003682, allocations: 107.1 kB / 0.551 GB, free: 6.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.282e-05/0.003755, allocations: 11.94 kB / 0.5511 GB, free: 6.488 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.003757, allocations: 0 / 0.5511 GB, free: 6.488 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.763e-06/0.003763, allocations: 12.06 kB / 0.5511 GB, free: 6.477 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001001/0.003864, allocations: 0 / 0.5511 GB, free: 6.477 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001855/0.004049, allocations: 102.6 kB / 0.5512 GB, free: 6.344 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.639e-05/0.004085, allocations: 55.36 kB / 0.5512 GB, free: 6.27 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.441e-05/0.0041, allocations: 12.5 kB / 0.5512 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of SimCode: time 3.81e-07/0.0041, allocations: 0 / 0.5512 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of Templates: time 0.001435/0.005535, allocations: 483.8 kB / 0.5517 GB, free: 5.785 MB / 0.5105 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: 4.462413345463574] Failed to read output from testmodel.py, exit status != 0: 0.009824900887906551 0.017313759 0.013942451000000002 Calling exit ...