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.001721/0.001721, allocations: 80.52 kB / 19.18 MB, free: 2.527 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.002174/0.002174, allocations: 164.8 kB / 22.46 MB, free: 5.355 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.497/1.497, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.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.915/0.915, allocations: 110.3 MB / 369.4 MB, free: 1.16 MB / 334.1 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.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.5478 GB, free: 9.832 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.793e-05/2.982e-05, allocations: 5.094 kB / 0.5478 GB, free: 9.828 MB / 462.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.002625/0.002654, allocations: 1.531 MB / 0.5493 GB, free: 8.297 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003498/0.003004, allocations: 124.4 kB / 0.5494 GB, free: 8.172 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.385e-05/0.003038, allocations: 0 / 0.5494 GB, free: 8.172 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.667e-05/0.003065, allocations: 7.922 kB / 0.5494 GB, free: 8.164 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 3.768e-05/0.003102, allocations: 0 / 0.5494 GB, free: 8.164 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.003322, allocations: 32.91 kB / 0.5494 GB, free: 8.133 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 7.501e-05/0.003397, allocations: 27.92 kB / 0.5495 GB, free: 8.105 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.137e-05/0.003489, allocations: 15.94 kB / 0.5495 GB, free: 8.09 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.663e-05/0.003545, allocations: 23.91 kB / 0.5495 GB, free: 8.066 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.692e-05/0.003592, allocations: 11.98 kB / 0.5495 GB, free: 8.055 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.00361, allocations: 4 kB / 0.5495 GB, free: 8.051 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.019e-05/0.00367, allocations: 11.98 kB / 0.5495 GB, free: 8.039 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.395e-05/0.003684, allocations: 4 kB / 0.5495 GB, free: 8.035 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.112e-05/0.003705, allocations: 8 kB / 0.5495 GB, free: 8.027 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.003821, allocations: 39.88 kB / 0.5496 GB, free: 7.988 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.003824, allocations: 0 / 0.5496 GB, free: 7.988 MB / 462.1 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003824, allocations: 0 / 0.5496 GB, free: 7.988 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.003829, allocations: 0 / 0.5496 GB, free: 7.988 MB / 462.1 MB 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.0004663/0.004295, allocations: 274.3 kB / 0.5498 GB, free: 7.688 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.004331, allocations: 12.03 kB / 0.5498 GB, free: 7.676 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.85e-05/0.00436, allocations: 0.9375 kB / 0.5498 GB, free: 7.676 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.004468, allocations: 109.8 kB / 0.5499 GB, free: 7.543 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.004489, allocations: 384 / 0.5499 GB, free: 7.543 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.004506, allocations: 4.375 kB / 0.5499 GB, free: 7.539 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/0.004727, allocations: 62.16 kB / 0.55 GB, free: 7.473 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.004737, allocations: 192 / 0.55 GB, free: 7.473 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.004746, allocations: 384 / 0.55 GB, free: 7.473 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.004752, allocations: 12.36 kB / 0.55 GB, free: 7.461 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001972/0.004949, allocations: 43.89 kB / 0.5501 GB, free: 7.418 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003521/0.005301, allocations: 200.6 kB / 0.5503 GB, free: 7.191 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003381/0.005639, allocations: 62.53 kB / 0.5503 GB, free: 7.121 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.005753, allocations: 24.91 kB / 0.5503 GB, free: 7.094 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.213e-05/0.005835, allocations: 4 kB / 0.5503 GB, free: 7.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.005861, allocations: 34.55 kB / 0.5504 GB, free: 7.047 MB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.005862, allocations: 4 kB / 0.5504 GB, free: 7.043 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004135/0.006276, allocations: 101.5 kB / 0.5505 GB, free: 6.938 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.006323, allocations: 55.41 kB / 0.5505 GB, free: 6.871 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.095e-05/0.006404, allocations: 105.8 kB / 0.5506 GB, free: 6.758 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.006422, allocations: 25.7 kB / 0.5507 GB, free: 6.727 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.047e-05/0.006472, allocations: 84.14 kB / 0.5507 GB, free: 6.641 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.006499, allocations: 15.89 kB / 0.5507 GB, free: 6.625 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/0.006538, allocations: 17.7 kB / 0.5508 GB, free: 6.602 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.006676, allocations: 314.8 kB / 0.5511 GB, free: 6.285 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.006777, allocations: 19.98 kB / 0.5511 GB, free: 6.266 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.949e-05/0.006866, allocations: 19.97 kB / 0.5511 GB, free: 6.246 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.007054, allocations: 48.81 kB / 0.5512 GB, free: 6.195 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.007056, allocations: 0 / 0.5512 GB, free: 6.195 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002367/0.007292, allocations: 73.59 kB / 0.5512 GB, free: 6.117 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.007309, allocations: 11.94 kB / 0.5512 GB, free: 6.105 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.007312, allocations: 3.938 kB / 0.5512 GB, free: 6.102 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.007325, allocations: 0 / 0.5512 GB, free: 6.102 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.649e-05/0.007411, allocations: 11.98 kB / 0.5512 GB, free: 6.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.007415, allocations: 0 / 0.5512 GB, free: 6.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.256e-05/0.007478, allocations: 11.98 kB / 0.5513 GB, free: 6.078 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.007483, allocations: 0 / 0.5513 GB, free: 6.078 MB / 462.1 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 (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 8.308e-05/0.007566, allocations: 110.5 kB / 0.5514 GB, free: 5.961 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.007594, allocations: 3.953 kB / 0.5514 GB, free: 5.957 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002869/0.007881, allocations: 97.78 kB / 0.5515 GB, free: 5.852 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.007883, allocations: 0 / 0.5515 GB, free: 5.852 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.007886, allocations: 0 / 0.5515 GB, free: 5.852 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.007889, allocations: 0 / 0.5515 GB, free: 5.852 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.008029, allocations: 109.3 kB / 0.5516 GB, free: 5.715 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.00803, allocations: 0 / 0.5516 GB, free: 5.715 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.914e-05/0.008109, allocations: 11.92 kB / 0.5516 GB, free: 5.703 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.008113, allocations: 8.031 kB / 0.5516 GB, free: 5.695 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.008121, allocations: 4 kB / 0.5516 GB, free: 5.691 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.008124, allocations: 3.938 kB / 0.5516 GB, free: 5.688 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.008125, allocations: 0 / 0.5516 GB, free: 5.688 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002987/0.008423, allocations: 167.5 kB / 0.5518 GB, free: 5.508 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-06/0.008429, allocations: 3.938 kB / 0.5518 GB, free: 5.504 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.008441, allocations: 4 kB / 0.5518 GB, free: 5.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.399e-05/0.008535, allocations: 11.92 kB / 0.5518 GB, free: 5.488 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.008583, allocations: 4 kB / 0.5518 GB, free: 5.484 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.008592, allocations: 7.984 kB / 0.5518 GB, free: 5.477 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.368e-05/0.008636, allocations: 79.28 kB / 0.5519 GB, free: 5.398 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.008636, allocations: 0 / 0.5519 GB, free: 5.398 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002305/0.008866, allocations: 11.95 kB / 0.5519 GB, free: 5.387 MB / 462.1 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.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.0001424/0.009009, allocations: 110.2 kB / 0.552 GB, free: 5.273 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002359/0.009245, allocations: 43.89 kB / 0.552 GB, free: 5.23 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.009246, allocations: 0 / 0.552 GB, free: 5.23 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.009363, allocations: 31.97 kB / 0.552 GB, free: 5.199 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.009618, allocations: 0 / 0.552 GB, free: 5.199 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002838/0.009902, allocations: 112.9 kB / 0.5522 GB, free: 5.062 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.751e-05/0.009959, allocations: 63.28 kB / 0.5522 GB, free: 4.98 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.32e-05/0.009993, allocations: 4 kB / 0.5522 GB, free: 4.977 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.236e-05/0.01003, allocations: 16.48 kB / 0.5522 GB, free: 4.961 MB / 462.1 MB Notification: Performance of SimCode: time 3.41e-07/0.01003, allocations: 0 / 0.5522 GB, free: 4.961 MB / 462.1 MB Notification: Performance of Templates: time 0.00337/0.0134, allocations: 0.7534 MB / 0.553 GB, free: 4.223 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.makefile [Timeout 660] (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 & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.542686644941568] Failed to read output from testmodel.py, exit status != 0: 0.021451085805892944 0.036450829000000004 0.029593808000000003 Calling exit ...