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.001009/0.001009, allocations: 79.69 kB / 20.02 MB, free: 4.488 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.001043/0.001043, allocations: 166 kB / 23.32 MB, free: 1.188 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.8881/0.8881, allocations: 177.1 MB / 203.6 MB, free: 5.691 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.5496/0.5496, allocations: 110.2 MB / 370.3 MB, free: 12.56 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.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.804e-06/1.804e-06, allocations: 0 / 0.5487 GB, free: 9.215 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/2.883e-05, allocations: 2.281 kB / 0.5487 GB, free: 9.211 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.00201/0.002039, allocations: 1.531 MB / 0.5502 GB, free: 7.668 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.000303/0.002342, allocations: 120.5 kB / 0.5503 GB, free: 7.547 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.961e-05/0.002382, allocations: 0 / 0.5503 GB, free: 7.547 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.534e-05/0.002407, allocations: 3.938 kB / 0.5503 GB, free: 7.543 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.784e-05/0.002455, allocations: 7.969 kB / 0.5503 GB, free: 7.535 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002472/0.002702, allocations: 23.92 kB / 0.5504 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.399e-05/0.002766, allocations: 27.92 kB / 0.5504 GB, free: 7.484 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 8.587e-05/0.002852, allocations: 4 kB / 0.5504 GB, free: 7.48 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 6.278e-05/0.002915, allocations: 23.91 kB / 0.5504 GB, free: 7.457 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.275e-05/0.002958, allocations: 7.984 kB / 0.5504 GB, free: 7.449 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.002972, allocations: 8 kB / 0.5504 GB, free: 7.441 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.983e-05/0.003032, allocations: 19.92 kB / 0.5505 GB, free: 7.422 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.164e-05/0.003044, allocations: 4 kB / 0.5505 GB, free: 7.418 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.994e-05/0.003064, allocations: 11.94 kB / 0.5505 GB, free: 7.406 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.003179, allocations: 31.94 kB / 0.5505 GB, free: 7.375 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.003182, allocations: 4 kB / 0.5505 GB, free: 7.371 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.182e-06/0.003183, allocations: 3.938 kB / 0.5505 GB, free: 7.367 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.003187, allocations: 3.938 kB / 0.5505 GB, free: 7.363 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004087/0.003596, allocations: 272.7 kB / 0.5508 GB, free: 7.066 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.00364, allocations: 12.03 kB / 0.5508 GB, free: 7.055 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.003674, allocations: 8.891 kB / 0.5508 GB, free: 7.047 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.394e-05/0.003768, allocations: 105.8 kB / 0.5509 GB, free: 6.918 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.003787, allocations: 384 / 0.5509 GB, free: 6.918 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.003802, allocations: 8.359 kB / 0.5509 GB, free: 6.91 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.003948, allocations: 58.22 kB / 0.551 GB, free: 6.848 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.003955, allocations: 192 / 0.551 GB, free: 6.848 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.003966, allocations: 4.375 kB / 0.551 GB, free: 6.844 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.00397, allocations: 384 / 0.551 GB, free: 6.844 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.764e-05/0.004068, allocations: 47.89 kB / 0.551 GB, free: 6.797 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002782/0.004346, allocations: 208.4 kB / 0.5512 GB, free: 6.562 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.004567, allocations: 58.59 kB / 0.5513 GB, free: 6.496 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.063e-05/0.004617, allocations: 24.91 kB / 0.5513 GB, free: 6.469 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.391e-05/0.004701, allocations: 4 kB / 0.5513 GB, free: 6.465 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.004721, allocations: 34.55 kB / 0.5513 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.004722, allocations: 0 / 0.5513 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0002547/0.004977, allocations: 105.5 kB / 0.5514 GB, free: 6.312 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.005011, allocations: 55.41 kB / 0.5515 GB, free: 6.246 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.249e-05/0.005084, allocations: 101.8 kB / 0.5516 GB, free: 6.137 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.005095, allocations: 25.7 kB / 0.5516 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.398e-05/0.005129, allocations: 80.14 kB / 0.5517 GB, free: 6.023 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.005145, allocations: 11.89 kB / 0.5517 GB, free: 6.012 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.005175, allocations: 21.7 kB / 0.5517 GB, free: 5.984 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.92e-05/0.005255, allocations: 310.8 kB / 0.552 GB, free: 5.672 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.428e-05/0.005309, allocations: 23.98 kB / 0.552 GB, free: 5.648 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.909e-05/0.005348, allocations: 19.97 kB / 0.552 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.898e-05/0.005437, allocations: 48.75 kB / 0.5521 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.005439, allocations: 0 / 0.5521 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001164/0.005555, allocations: 73.66 kB / 0.5522 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.005569, allocations: 7.938 kB / 0.5522 GB, free: 5.492 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.005574, allocations: 0 / 0.5522 GB, free: 5.492 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.005586, allocations: 4 kB / 0.5522 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.894e-05/0.005635, allocations: 11.98 kB / 0.5522 GB, free: 5.477 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.00564, allocations: 0 / 0.5522 GB, free: 5.477 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.668e-05/0.005667, allocations: 11.98 kB / 0.5522 GB, free: 5.465 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.005671, allocations: 0 / 0.5522 GB, free: 5.465 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 (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 5.994e-05/0.005731, allocations: 114.4 kB / 0.5523 GB, free: 5.344 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.408e-05/0.005745, allocations: 3.953 kB / 0.5523 GB, free: 5.34 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/0.00591, allocations: 101.2 kB / 0.5524 GB, free: 5.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.005912, allocations: 3.938 kB / 0.5524 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.005918, allocations: 0 / 0.5524 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.005922, allocations: 0 / 0.5524 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.802e-05/0.00602, allocations: 109.3 kB / 0.5525 GB, free: 5.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.006021, allocations: 0 / 0.5525 GB, free: 5.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.628e-05/0.006057, allocations: 19.92 kB / 0.5525 GB, free: 5.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.006059, allocations: 0 / 0.5525 GB, free: 5.07 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.006066, allocations: 0 / 0.5525 GB, free: 5.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.006067, allocations: 3.938 kB / 0.5525 GB, free: 5.066 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.006069, allocations: 0 / 0.5525 GB, free: 5.066 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004302/0.006499, allocations: 175.4 kB / 0.5527 GB, free: 4.879 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.173e-06/0.006506, allocations: 7.953 kB / 0.5527 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.959e-06/0.006516, allocations: 0 / 0.5527 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.093e-05/0.006557, allocations: 11.92 kB / 0.5527 GB, free: 4.859 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.006605, allocations: 4 kB / 0.5527 GB, free: 4.855 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.006609, allocations: 4 kB / 0.5527 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.463e-05/0.006633, allocations: 79.27 kB / 0.5528 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.006633, allocations: 4 kB / 0.5528 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001464/0.00678, allocations: 4 kB / 0.5528 GB, free: 4.766 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.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.0001224/0.006902, allocations: 107.2 kB / 0.5529 GB, free: 4.648 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001371/0.007039, allocations: 43.95 kB / 0.553 GB, free: 4.605 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.00704, allocations: 0 / 0.553 GB, free: 4.605 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.493e-05/0.007095, allocations: 31.91 kB / 0.553 GB, free: 4.574 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.007304, allocations: 0 / 0.553 GB, free: 4.574 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002612/0.007565, allocations: 120.8 kB / 0.5531 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.989e-05/0.007605, allocations: 59.34 kB / 0.5532 GB, free: 4.352 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.242e-05/0.007627, allocations: 4 kB / 0.5532 GB, free: 4.348 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.388e-05/0.007651, allocations: 16.48 kB / 0.5532 GB, free: 4.332 MB / 0.5105 GB Notification: Performance of SimCode: time 6.52e-07/0.007652, allocations: 0 / 0.5532 GB, free: 4.332 MB / 0.5105 GB Notification: Performance of Templates: time 0.002299/0.009951, allocations: 0.7506 MB / 0.5539 GB, free: 3.594 MB / 0.5105 GB " [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 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.4567100321874022] Failed to read output from testmodel.py, exit status != 0: 0.015005894005298615 0.023569519999999938 0.018555062999999938 Calling exit ...