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.0008986/0.0008986, allocations: 81.05 kB / 10.01 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001268/0.002167, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009173/0.0009173, allocations: 164.8 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001246/0.002163, allocations: 479.5 kB / 11.83 MB, free: 2.34 MB / 13.93 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.012/1.012, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08717/1.099, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.6166/0.6166, allocations: 110.3 MB / 354.4 MB, free: 12.3 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.06371/0.6803, allocations: 34.96 MB / 389.4 MB, free: 9.254 MB / 378.7 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: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 390.8 MB, free: 7.859 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.368e-05/1.51e-05, allocations: 2.312 kB / 390.8 MB, free: 7.855 MB / 378.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001459/0.001474, allocations: 0.6502 MB / 391.5 MB, free: 7.207 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 8.73e-05/0.001561, allocations: 39.88 kB / 391.5 MB, free: 7.168 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.186e-06/0.00157, allocations: 0 / 391.5 MB, free: 7.168 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.737e-06/0.001573, allocations: 0 / 391.5 MB, free: 7.168 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.144e-06/0.001576, allocations: 3.938 kB / 391.5 MB, free: 7.164 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.769e-05/0.001663, allocations: 19.91 kB / 391.5 MB, free: 7.145 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.152e-05/0.001705, allocations: 4 kB / 391.5 MB, free: 7.141 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.139e-05/0.001736, allocations: 0 / 391.5 MB, free: 7.141 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.939e-05/0.001765, allocations: 7.984 kB / 391.5 MB, free: 7.133 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.226e-05/0.001788, allocations: 0 / 391.5 MB, free: 7.133 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.001798, allocations: 0 / 391.5 MB, free: 7.133 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.565e-05/0.001873, allocations: 23.92 kB / 391.6 MB, free: 7.109 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.198e-06/0.001882, allocations: 0 / 391.6 MB, free: 7.109 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.037e-06/0.001891, allocations: 0 / 391.6 MB, free: 7.109 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 6.701e-05/0.001958, allocations: 4 kB / 391.6 MB, free: 7.105 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/0.001968, allocations: 0 / 391.6 MB, free: 7.105 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.001969, allocations: 4 kB / 391.6 MB, free: 7.102 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.00198, allocations: 0 / 391.6 MB, free: 7.102 MB / 378.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.0002281/0.002208, allocations: 220.8 kB / 391.8 MB, free: 6.859 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.615e-05/0.002235, allocations: 8.031 kB / 391.8 MB, free: 6.852 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.264e-05/0.002257, allocations: 0.9375 kB / 391.8 MB, free: 6.852 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.214e-05/0.002309, allocations: 109.7 kB / 391.9 MB, free: 6.719 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-06/0.002318, allocations: 4.375 kB / 391.9 MB, free: 6.715 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-06/0.002326, allocations: 384 / 391.9 MB, free: 6.715 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.543e-05/0.002391, allocations: 34.25 kB / 391.9 MB, free: 6.676 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.002397, allocations: 4.172 kB / 391.9 MB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.619e-06/0.002402, allocations: 384 / 391.9 MB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.002406, allocations: 384 / 391.9 MB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.705e-05/0.002423, allocations: 11.88 kB / 391.9 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.84e-05/0.002492, allocations: 61.05 kB / 392 MB, free: 6.586 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.841e-05/0.00253, allocations: 30.53 kB / 392 MB, free: 6.547 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.847e-06/0.002539, allocations: 8.859 kB / 392 MB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.106e-05/0.00263, allocations: 4.062 kB / 392 MB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.002648, allocations: 34.56 kB / 392.1 MB, free: 6.488 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 5.01e-07/0.002648, allocations: 0 / 392.1 MB, free: 6.488 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 7.482e-05/0.002723, allocations: 33.69 kB / 392.1 MB, free: 6.449 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.002747, allocations: 59.34 kB / 392.2 MB, free: 6.379 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.512e-05/0.002772, allocations: 89.86 kB / 392.3 MB, free: 6.281 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.064e-06/0.002779, allocations: 25.7 kB / 392.3 MB, free: 6.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.562e-05/0.002795, allocations: 80.14 kB / 392.4 MB, free: 6.168 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.002814, allocations: 11.88 kB / 392.4 MB, free: 6.156 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.933e-05/0.002834, allocations: 21.84 kB / 392.4 MB, free: 6.129 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.868e-05/0.002892, allocations: 314.8 kB / 392.7 MB, free: 5.812 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.892e-06/0.002898, allocations: 7.984 kB / 392.7 MB, free: 5.805 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.868e-06/0.002902, allocations: 0 / 392.7 MB, free: 5.805 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.145e-05/0.002923, allocations: 8.859 kB / 392.7 MB, free: 5.793 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.002925, allocations: 0 / 392.7 MB, free: 5.793 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 2.697e-05/0.002952, allocations: 37.69 kB / 392.8 MB, free: 5.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/0.002961, allocations: 4 kB / 392.8 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.002964, allocations: 3.938 kB / 392.8 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.002975, allocations: 4.094 kB / 392.8 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.791e-05/0.003013, allocations: 4 kB / 392.8 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.003016, allocations: 3.984 kB / 392.8 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.018e-05/0.003026, allocations: 4 kB / 392.8 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-06/0.003029, allocations: 0 / 392.8 MB, free: 5.727 MB / 378.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 3.929e-05/0.003068, allocations: 109.8 kB / 392.9 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-06/0.003071, allocations: 0 / 392.9 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.532e-05/0.003127, allocations: 44.84 kB / 392.9 MB, free: 5.559 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.003128, allocations: 0 / 392.9 MB, free: 5.559 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.003129, allocations: 0 / 392.9 MB, free: 5.559 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.003131, allocations: 4.031 kB / 392.9 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.949e-05/0.003171, allocations: 69.83 kB / 393 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.003172, allocations: 0 / 393 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.646e-06/0.00318, allocations: 4 kB / 393 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-06/0.003184, allocations: 11.86 kB / 393 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.12e-07/0.003185, allocations: 0 / 393 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-06/0.003188, allocations: 0 / 393 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.003189, allocations: 0 / 393 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.003189, allocations: 4 kB / 393 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.711e-05/0.003227, allocations: 61.06 kB / 393.1 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.022e-06/0.003233, allocations: 4.031 kB / 393.1 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.138e-06/0.003237, allocations: 0 / 393.1 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.003255, allocations: 7.984 kB / 393.1 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.003258, allocations: 8 kB / 393.1 MB, free: 5.352 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.701e-06/0.003264, allocations: 4.859 kB / 393.1 MB, free: 5.344 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.003264, allocations: 0 / 393.1 MB, free: 5.344 MB / 378.7 MB Notification: Performance of remove unused functions: time 8.721e-05/0.003351, allocations: 4 kB / 393.1 MB, free: 5.34 MB / 378.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 9.094e-05/0.003442, allocations: 80.42 kB / 393.2 MB, free: 5.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 4.472e-05/0.003487, allocations: 16.78 kB / 393.2 MB, free: 5.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.003489, allocations: 4.094 kB / 393.2 MB, free: 5.227 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.17e-05/0.003501, allocations: 8.859 kB / 393.2 MB, free: 5.215 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.51e-05/0.003546, allocations: 11.69 kB / 393.2 MB, free: 5.203 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001241/0.00367, allocations: 91.42 kB / 393.3 MB, free: 5.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.353e-05/0.003693, allocations: 59.38 kB / 393.4 MB, free: 5.012 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.707e-06/0.003702, allocations: 0 / 393.4 MB, free: 5.012 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.439e-05/0.003726, allocations: 51.38 kB / 393.4 MB, free: 4.961 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.003727, allocations: 0 / 393.4 MB, free: 4.961 MB / 378.7 MB Notification: Performance of Templates: time 0.001515/0.005242, allocations: 401.4 kB / 393.8 MB, free: 4.57 MB / 378.7 MB " [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=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0936717484146357]