Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.00126/0.00126, allocations: 83.34 kB / 19.94 MB, free: 1.777 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.001362/0.001362, allocations: 163.7 kB / 23.21 MB, free: 4.91 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.39/1.39, allocations: 177.2 MB / 203.5 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.8929/0.8929, allocations: 114 MB / 373.9 MB, free: 13.25 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial") translateModel(IBPSA.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.5547 GB, free: 2.582 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.316e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.578 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001356/0.001379, allocations: 0.5846 MB / 0.5553 GB, free: 1.996 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002234/0.001603, allocations: 56.14 kB / 0.5554 GB, free: 1.941 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.439e-05/0.001617, allocations: 0 / 0.5554 GB, free: 1.941 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 1.49e-05/0.001632, allocations: 4 kB / 0.5554 GB, free: 1.938 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 5.28e-06/0.001637, allocations: 0 / 0.5554 GB, free: 1.938 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.001828, allocations: 7.938 kB / 0.5554 GB, free: 1.93 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 3.98e-05/0.001868, allocations: 8 kB / 0.5554 GB, free: 1.922 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.433e-05/0.001912, allocations: 3.984 kB / 0.5554 GB, free: 1.918 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.677e-05/0.001939, allocations: 7.984 kB / 0.5554 GB, free: 1.91 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.655e-05/0.001955, allocations: 0 / 0.5554 GB, free: 1.91 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.001967, allocations: 0 / 0.5554 GB, free: 1.91 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.931e-05/0.002046, allocations: 11.98 kB / 0.5554 GB, free: 1.898 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.298e-06/0.002056, allocations: 3.938 kB / 0.5554 GB, free: 1.895 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.089e-05/0.002077, allocations: 4 kB / 0.5554 GB, free: 1.891 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 7.965e-05/0.002156, allocations: 11.98 kB / 0.5554 GB, free: 1.879 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.002158, allocations: 0 / 0.5554 GB, free: 1.879 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.71e-07/0.002158, allocations: 0 / 0.5554 GB, free: 1.879 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.002165, allocations: 0 / 0.5554 GB, free: 1.879 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003031/0.002469, allocations: 245 kB / 0.5557 GB, free: 1.609 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.002504, allocations: 12.62 kB / 0.5557 GB, free: 1.598 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.285e-05/0.002527, allocations: 0.9375 kB / 0.5557 GB, free: 1.598 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.002645, allocations: 101.8 kB / 0.5558 GB, free: 1.473 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.002653, allocations: 384 / 0.5558 GB, free: 1.473 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.002664, allocations: 384 / 0.5558 GB, free: 1.473 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.002772, allocations: 46.23 kB / 0.5558 GB, free: 1.422 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.00278, allocations: 192 / 0.5558 GB, free: 1.422 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.002788, allocations: 4.312 kB / 0.5558 GB, free: 1.418 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-06/0.002792, allocations: 4.375 kB / 0.5558 GB, free: 1.414 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.889e-05/0.002821, allocations: 3.938 kB / 0.5558 GB, free: 1.41 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001409/0.002962, allocations: 97.33 kB / 0.5559 GB, free: 1.285 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.023e-05/0.003022, allocations: 26.59 kB / 0.5559 GB, free: 1.25 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.098e-05/0.003043, allocations: 8.922 kB / 0.5559 GB, free: 1.238 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.003157, allocations: 4 kB / 0.5559 GB, free: 1.234 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.003183, allocations: 30.56 kB / 0.556 GB, free: 1.195 MB / 462.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.003184, allocations: 7.938 kB / 0.556 GB, free: 1.188 MB / 462.1 MB Notification: Performance of matching and sorting (n=2): time 0.000142/0.003326, allocations: 45.62 kB / 0.556 GB, free: 1.137 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.003365, allocations: 51.41 kB / 0.5561 GB, free: 1.074 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.987e-05/0.003435, allocations: 93.86 kB / 0.5562 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.003456, allocations: 29.64 kB / 0.5562 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.473e-05/0.003491, allocations: 80.14 kB / 0.5563 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.003511, allocations: 4 kB / 0.5563 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.003543, allocations: 17.7 kB / 0.5563 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.0037, allocations: 314.8 kB / 0.5566 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.526e-05/0.003715, allocations: 4 kB / 0.5566 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.572e-06/0.003722, allocations: 4.125 kB / 0.5566 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.704e-05/0.003759, allocations: 16.8 kB / 0.5566 GB, free: 496 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.00376, allocations: 0 / 0.5566 GB, free: 496 kB / 462.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.568e-05/0.003826, allocations: 45.64 kB / 0.5567 GB, free: 444 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.003837, allocations: 8 kB / 0.5567 GB, free: 436 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.003842, allocations: 0 / 0.5567 GB, free: 436 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.003857, allocations: 0 / 0.5567 GB, free: 436 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.902e-05/0.003906, allocations: 4 kB / 0.5567 GB, free: 432 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.003911, allocations: 0 / 0.5567 GB, free: 432 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.501e-05/0.003926, allocations: 8.031 kB / 0.5567 GB, free: 424 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/0.00393, allocations: 0 / 0.5567 GB, free: 424 kB / 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 (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.792e-05/0.004008, allocations: 114.9 kB / 0.5568 GB, free: 300 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.496e-06/0.004016, allocations: 3.984 kB / 0.5568 GB, free: 296 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.858e-05/0.004105, allocations: 44.8 kB / 0.5568 GB, free: 244 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.004106, allocations: 0 / 0.5568 GB, free: 244 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.00411, allocations: 0 / 0.5568 GB, free: 244 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.004112, allocations: 0 / 0.5568 GB, free: 244 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.069e-05/0.004193, allocations: 105.2 kB / 0.5569 GB, free: 108 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.004194, allocations: 0 / 0.5569 GB, free: 108 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.972e-05/0.004213, allocations: 4.031 kB / 0.5569 GB, free: 104 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.004215, allocations: 4 kB / 0.5569 GB, free: 100 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.004223, allocations: 4 kB / 0.5569 GB, free: 96 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.004224, allocations: 0 / 0.5569 GB, free: 96 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.004224, allocations: 0 / 0.5569 GB, free: 96 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.392e-05/0.004308, allocations: 65.06 kB / 0.557 GB, free: 12 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-06/0.004312, allocations: 7.938 kB / 0.557 GB, free: 4 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.646e-06/0.00432, allocations: 0 / 0.557 GB, free: 4 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.279e-05/0.004333, allocations: 4 kB / 0.557 GB, free: 0 / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.00438, allocations: 4.047 kB / 0.557 GB, free: 15.99 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-06/0.004386, allocations: 4.031 kB / 0.557 GB, free: 15.99 MB / 478.1 MB Notification: Performance of sorting global known variables: time 3.241e-05/0.004418, allocations: 83.22 kB / 0.5571 GB, free: 15.91 MB / 478.1 MB Notification: Performance of sort global known variables: time 5e-08/0.004418, allocations: 0 / 0.5571 GB, free: 15.91 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0001836/0.004602, allocations: 11.88 kB / 0.5571 GB, free: 15.89 MB / 478.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,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.0001284/0.00473, allocations: 99.19 kB / 0.5572 GB, free: 15.79 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 7.084e-05/0.004801, allocations: 15.98 kB / 0.5572 GB, free: 15.77 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.004802, allocations: 0 / 0.5572 GB, free: 15.77 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 1.443e-05/0.004816, allocations: 7.938 kB / 0.5572 GB, free: 15.77 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000117/0.004933, allocations: 2.969 kB / 0.5572 GB, free: 15.77 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000191/0.005124, allocations: 85 kB / 0.5573 GB, free: 15.66 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.453e-05/0.005179, allocations: 59.34 kB / 0.5574 GB, free: 15.58 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 1.244e-05/0.005191, allocations: 4 kB / 0.5574 GB, free: 15.58 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.789e-05/0.005209, allocations: 8.5 kB / 0.5574 GB, free: 15.57 MB / 478.1 MB Notification: Performance of SimCode: time 2.91e-07/0.00521, allocations: 0 / 0.5574 GB, free: 15.57 MB / 478.1 MB Notification: Performance of Templates: time 0.002569/0.007778, allocations: 332.3 kB / 0.5577 GB, free: 15.25 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.083991147577763] Failed to read output from testmodel.py, exit status != 0: 0.01516118273139 0.029527083000000003 0.024506315 Calling exit ...