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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 199.4 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 222.9 MB / 240.5 MB, free: 4.523 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.9826/0.9826, allocations: 143 MB / 433.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 59.91 kB / 0.5141 GB, free: 12.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1579, allocations: 82.04 MB / 0.5943 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.00264/0.1605, allocations: 1.58 MB / 0.5958 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003518/0.1609, allocations: 124.5 kB / 0.5959 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.245e-05/0.1609, allocations: 0 / 0.5959 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.133e-05/0.161, allocations: 0 / 0.5959 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.986e-05/0.161, allocations: 3.938 kB / 0.5959 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.1612, allocations: 15.98 kB / 0.5959 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.701e-05/0.1613, allocations: 35.84 kB / 0.596 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.002e-05/0.1614, allocations: 11.98 kB / 0.596 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.844e-05/0.1614, allocations: 12 kB / 0.596 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.283e-05/0.1615, allocations: 15.92 kB / 0.596 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.1615, allocations: 3.938 kB / 0.596 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.711e-05/0.1615, allocations: 15.98 kB / 0.596 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.1616, allocations: 3.984 kB / 0.596 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.851e-05/0.1616, allocations: 15.94 kB / 0.596 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.345e-05/0.1617, allocations: 15.97 kB / 0.5961 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.1617, allocations: 3.984 kB / 0.5961 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.02e-07/0.1617, allocations: 3.938 kB / 0.5961 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.1617, allocations: 0 / 0.5961 GB, free: 8.246 MB / 0.4981 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.0004442/0.1622, allocations: 347.7 kB / 0.5964 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.1622, allocations: 12.03 kB / 0.5964 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.066e-05/0.1622, allocations: 0.9375 kB / 0.5964 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.584e-05/0.1623, allocations: 160.4 kB / 0.5966 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.1624, allocations: 8.375 kB / 0.5966 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.1624, allocations: 384 / 0.5966 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.1626, allocations: 62.16 kB / 0.5966 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.1626, allocations: 4.188 kB / 0.5966 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.1626, allocations: 7.922 kB / 0.5966 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1626, allocations: 0 / 0.5966 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.1628, allocations: 43.95 kB / 0.5967 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003425/0.1632, allocations: 256.9 kB / 0.5969 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003338/0.1635, allocations: 70.41 kB / 0.597 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.1636, allocations: 28.89 kB / 0.597 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.1637, allocations: 81.11 kB / 0.5971 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.1638, allocations: 30.56 kB / 0.5971 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1638, allocations: 0 / 0.5971 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003889/0.1642, allocations: 97.62 kB / 0.5972 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.1642, allocations: 51.41 kB / 0.5973 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.074e-05/0.1643, allocations: 105.8 kB / 0.5974 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.1643, allocations: 29.7 kB / 0.5974 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.973e-05/0.1644, allocations: 84.12 kB / 0.5975 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.1644, allocations: 7.844 kB / 0.5975 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.1644, allocations: 17.72 kB / 0.5975 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.834e-05/0.1645, allocations: 318.8 kB / 0.5978 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.1646, allocations: 19.98 kB / 0.5978 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.305e-05/0.1647, allocations: 19.98 kB / 0.5979 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.1649, allocations: 44.81 kB / 0.5979 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1649, allocations: 3.938 kB / 0.5979 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002218/0.1651, allocations: 77.56 kB / 0.598 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1652, allocations: 11.92 kB / 0.598 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1652, allocations: 0 / 0.598 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1652, allocations: 0 / 0.598 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.177e-05/0.1653, allocations: 15.92 kB / 0.598 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1653, allocations: 3.938 kB / 0.598 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.741e-05/0.1654, allocations: 4 kB / 0.598 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.1654, allocations: 8 kB / 0.598 GB, free: 6.008 MB / 0.4981 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 8.054e-05/0.1655, allocations: 113.8 kB / 0.5981 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.1655, allocations: 7.984 kB / 0.5981 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002588/0.1658, allocations: 77.66 kB / 0.5982 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1658, allocations: 0 / 0.5982 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1658, allocations: 0 / 0.5982 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.1658, allocations: 0 / 0.5982 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.1659, allocations: 169.6 kB / 0.5984 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.166, allocations: 3.984 kB / 0.5984 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.957e-05/0.166, allocations: 19.94 kB / 0.5984 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.1661, allocations: 3.984 kB / 0.5984 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.1661, allocations: 0 / 0.5984 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1661, allocations: 0 / 0.5984 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1661, allocations: 3.984 kB / 0.5984 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.1663, allocations: 167.5 kB / 0.5986 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.815e-05/0.1664, allocations: 85.02 kB / 0.5986 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.1664, allocations: 7.984 kB / 0.5986 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.665e-05/0.1665, allocations: 8 kB / 0.5987 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.1666, allocations: 3.984 kB / 0.5987 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.1666, allocations: 4 kB / 0.5987 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.129e-05/0.1666, allocations: 75.28 kB / 0.5987 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1666, allocations: 0 / 0.5987 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002273/0.1668, allocations: 12 kB / 0.5987 GB, free: 5.156 MB / 0.4981 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.0001507/0.167, allocations: 111.2 kB / 0.5989 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000223/0.1672, allocations: 39.95 kB / 0.5989 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1672, allocations: 4 kB / 0.5989 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.672e-05/0.1673, allocations: 23.97 kB / 0.5989 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.1676, allocations: 15.88 kB / 0.5989 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003017/0.168, allocations: 137 kB / 0.5991 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.1682, allocations: 0.6809 MB / 0.5997 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.781e-05/0.1683, allocations: 7.438 kB / 0.5997 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of SimCode: time 3.6e-07/0.1683, allocations: 3.938 kB / 0.5997 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of Templates: time 0.00214/0.1704, allocations: 0.7305 MB / 0.6005 GB, free: 3.34 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.makefile (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)