Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001306/0.001306, allocations: 71.77 kB / 20.51 MB, free: 1.125 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.001415/0.001415, allocations: 161.1 kB / 23.76 MB, free: 4.195 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.423/1.423, allocations: 177.2 MB / 204.1 MB, free: 8.895 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.9225/0.9225, allocations: 113.9 MB / 374.5 MB, free: 12.87 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.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial") translateModel(IBPSA.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 72 kB / 0.555 GB, free: 2.719 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1487, allocations: 89.15 MB / 0.6421 GB, free: 9.52 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Factorial): time 0.002691/0.1514, allocations: 1.527 MB / 0.6436 GB, free: 7.984 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003449/0.1518, allocations: 115.7 kB / 0.6437 GB, free: 7.871 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.574e-05/0.1518, allocations: 0 / 0.6437 GB, free: 7.871 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.323e-05/0.1518, allocations: 7.984 kB / 0.6437 GB, free: 7.863 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.236e-05/0.1519, allocations: 7.938 kB / 0.6437 GB, free: 7.855 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.1521, allocations: 23.91 kB / 0.6437 GB, free: 7.832 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.519e-05/0.1521, allocations: 23.98 kB / 0.6438 GB, free: 7.809 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.123e-05/0.1522, allocations: 11.98 kB / 0.6438 GB, free: 7.797 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.558e-05/0.1523, allocations: 11.94 kB / 0.6438 GB, free: 7.785 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.83e-05/0.1523, allocations: 11.97 kB / 0.6438 GB, free: 7.773 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.1523, allocations: 7.938 kB / 0.6438 GB, free: 7.766 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.545e-05/0.1524, allocations: 15.98 kB / 0.6438 GB, free: 7.75 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.337e-05/0.1524, allocations: 7.938 kB / 0.6438 GB, free: 7.742 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.526e-05/0.1524, allocations: 15.94 kB / 0.6438 GB, free: 7.727 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.1525, allocations: 39.81 kB / 0.6439 GB, free: 7.688 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1525, allocations: 0 / 0.6439 GB, free: 7.688 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1525, allocations: 3.938 kB / 0.6439 GB, free: 7.684 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.1525, allocations: 0 / 0.6439 GB, free: 7.684 MB / 0.545 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.0004457/0.153, allocations: 270.3 kB / 0.6441 GB, free: 7.387 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.892e-05/0.153, allocations: 8.031 kB / 0.6442 GB, free: 7.379 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.879e-05/0.153, allocations: 0.9375 kB / 0.6442 GB, free: 7.379 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.1531, allocations: 110.5 kB / 0.6443 GB, free: 7.246 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.1532, allocations: 4.375 kB / 0.6443 GB, free: 7.242 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.799e-06/0.1532, allocations: 8.375 kB / 0.6443 GB, free: 7.234 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.1534, allocations: 54.22 kB / 0.6443 GB, free: 7.176 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.1534, allocations: 4.188 kB / 0.6443 GB, free: 7.172 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.1534, allocations: 7.875 kB / 0.6443 GB, free: 7.164 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.1534, allocations: 0 / 0.6443 GB, free: 7.164 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.1536, allocations: 43.95 kB / 0.6444 GB, free: 7.121 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.1539, allocations: 208.6 kB / 0.6446 GB, free: 6.887 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003272/0.1542, allocations: 58.53 kB / 0.6446 GB, free: 6.82 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.1543, allocations: 28.78 kB / 0.6447 GB, free: 6.789 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-05/0.1544, allocations: 11.98 kB / 0.6447 GB, free: 6.777 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.1544, allocations: 30.56 kB / 0.6447 GB, free: 6.738 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1544, allocations: 0 / 0.6447 GB, free: 6.738 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003836/0.1548, allocations: 93.62 kB / 0.6448 GB, free: 6.641 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.1549, allocations: 55.41 kB / 0.6448 GB, free: 6.574 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.085e-05/0.1549, allocations: 101.8 kB / 0.6449 GB, free: 6.465 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.155, allocations: 25.7 kB / 0.645 GB, free: 6.434 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.084e-05/0.155, allocations: 92.12 kB / 0.645 GB, free: 6.34 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.306e-05/0.155, allocations: 3.953 kB / 0.6451 GB, free: 6.336 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.1551, allocations: 13.72 kB / 0.6451 GB, free: 6.316 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1552, allocations: 314.8 kB / 0.6454 GB, free: 6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.1553, allocations: 27.91 kB / 0.6454 GB, free: 5.973 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.459e-05/0.1554, allocations: 15.98 kB / 0.6454 GB, free: 5.957 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.1556, allocations: 48.81 kB / 0.6455 GB, free: 5.906 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1556, allocations: 3.938 kB / 0.6455 GB, free: 5.902 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002243/0.1558, allocations: 77.59 kB / 0.6455 GB, free: 5.82 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.1558, allocations: 4 kB / 0.6455 GB, free: 5.816 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-06/0.1558, allocations: 0 / 0.6455 GB, free: 5.816 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.1558, allocations: 0 / 0.6455 GB, free: 5.816 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.66e-05/0.1559, allocations: 11.98 kB / 0.6455 GB, free: 5.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.1559, allocations: 4 kB / 0.6456 GB, free: 5.801 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.781e-05/0.156, allocations: 15.86 kB / 0.6456 GB, free: 5.785 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.156, allocations: 0 / 0.6456 GB, free: 5.785 MB / 0.545 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 7.948e-05/0.156, allocations: 113.8 kB / 0.6457 GB, free: 5.664 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.1561, allocations: 7.891 kB / 0.6457 GB, free: 5.656 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002617/0.1563, allocations: 81.33 kB / 0.6458 GB, free: 5.566 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1563, allocations: 3.938 kB / 0.6458 GB, free: 5.562 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.1563, allocations: 0 / 0.6458 GB, free: 5.562 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.1563, allocations: 8.547 kB / 0.6458 GB, free: 5.555 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.1565, allocations: 105.3 kB / 0.6459 GB, free: 5.422 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1565, allocations: 0 / 0.6459 GB, free: 5.422 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.314e-05/0.1566, allocations: 15.92 kB / 0.6459 GB, free: 5.406 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1566, allocations: 0 / 0.6459 GB, free: 5.406 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.1566, allocations: 0 / 0.6459 GB, free: 5.406 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1566, allocations: 0 / 0.6459 GB, free: 5.406 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.1566, allocations: 7.922 kB / 0.6459 GB, free: 5.398 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.1568, allocations: 167.5 kB / 0.6461 GB, free: 5.219 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.109e-05/0.1569, allocations: 15.94 kB / 0.6461 GB, free: 5.203 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.1569, allocations: 8 kB / 0.6461 GB, free: 5.195 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.12e-05/0.157, allocations: 7.984 kB / 0.6461 GB, free: 5.188 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.157, allocations: 3.984 kB / 0.6461 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.157, allocations: 4 kB / 0.6461 GB, free: 5.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.275e-05/0.1571, allocations: 83.28 kB / 0.6462 GB, free: 5.098 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1571, allocations: 0 / 0.6462 GB, free: 5.098 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000225/0.1573, allocations: 4 kB / 0.6462 GB, free: 5.094 MB / 0.545 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.0001293/0.1574, allocations: 103.2 kB / 0.6463 GB, free: 4.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002377/0.1576, allocations: 51.89 kB / 0.6463 GB, free: 4.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1576, allocations: 3.938 kB / 0.6463 GB, free: 4.926 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.925e-05/0.1577, allocations: 19.98 kB / 0.6463 GB, free: 4.906 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.158, allocations: 11.92 kB / 0.6464 GB, free: 4.895 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000271/0.1583, allocations: 121.4 kB / 0.6465 GB, free: 4.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.917e-05/0.1583, allocations: 67.34 kB / 0.6465 GB, free: 4.664 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.439e-05/0.1583, allocations: 4 kB / 0.6465 GB, free: 4.66 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.732e-05/0.1584, allocations: 12.5 kB / 0.6466 GB, free: 4.648 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.1584, allocations: 0 / 0.6466 GB, free: 4.648 MB / 0.545 GB Notification: Performance of Templates: time 0.003084/0.1615, allocations: 0.7444 MB / 0.6473 GB, free: 3.91 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.31552027806174] Failed to read output from testmodel.py, exit status != 0: 0.1691801849519834 0.18333870400000002 0.027871366 Calling exit ...