Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006066/0.006065, allocations: 106.7 kB / 15.71 MB, free: 5.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 192.3 kB / 16.65 MB, free: 5.434 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.452/1.452, allocations: 222.9 MB / 240.3 MB, free: 4.129 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 1.016/1.016, allocations: 143 MB / 433.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 59.91 kB / 0.5955 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4677/0.469, allocations: 82.03 MB / 0.6756 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001929/0.471, allocations: 0.577 MB / 0.6762 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003157/0.4714, allocations: 53.02 kB / 0.6762 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.424e-05/0.4714, allocations: 0 / 0.6762 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.369e-05/0.4714, allocations: 9 kB / 0.6762 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.662e-06/0.4714, allocations: 0 / 0.6762 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.4717, allocations: 4.531 kB / 0.6762 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.84e-05/0.4718, allocations: 5.172 kB / 0.6763 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.344e-05/0.4718, allocations: 1.312 kB / 0.6763 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.405e-05/0.4719, allocations: 9.219 kB / 0.6763 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.677e-05/0.4719, allocations: 5.359 kB / 0.6763 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.4719, allocations: 0 / 0.6763 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.031e-05/0.472, allocations: 8.938 kB / 0.6763 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.472, allocations: 9.266 kB / 0.6763 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.139e-05/0.472, allocations: 0 / 0.6763 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.977e-05/0.4721, allocations: 4.094 kB / 0.6763 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.4721, allocations: 0 / 0.6763 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.572e-06/0.4721, allocations: 5.344 kB / 0.6763 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.4722, allocations: 0 / 0.6763 GB, free: 1.008 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002665/0.4724, allocations: 323.7 kB / 0.6766 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.4725, allocations: 9.062 kB / 0.6766 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.4725, allocations: 2.156 kB / 0.6766 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.879e-05/0.4726, allocations: 164.4 kB / 0.6768 GB, free: 456 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.4726, allocations: 1.594 kB / 0.6768 GB, free: 456 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.4726, allocations: 5.484 kB / 0.6768 GB, free: 452 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.583e-05/0.4727, allocations: 36.47 kB / 0.6768 GB, free: 412 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.4727, allocations: 1.188 kB / 0.6768 GB, free: 412 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.4728, allocations: 3.938 kB / 0.6768 GB, free: 408 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.4728, allocations: 1.125 kB / 0.6768 GB, free: 408 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.554e-05/0.4728, allocations: 6.625 kB / 0.6768 GB, free: 404 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001168/0.4729, allocations: 152 kB / 0.677 GB, free: 204 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.626e-05/0.473, allocations: 27.39 kB / 0.677 GB, free: 172 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.953e-05/0.473, allocations: 7.297 kB / 0.677 GB, free: 164 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001602/0.4732, allocations: 84.69 kB / 0.6771 GB, free: 64 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.4732, allocations: 30.56 kB / 0.6771 GB, free: 24 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.4732, allocations: 0 / 0.6771 GB, free: 24 kB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001753/0.4734, allocations: 42.8 kB / 0.6772 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.4734, allocations: 60.62 kB / 0.6772 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.176e-05/0.4735, allocations: 89.86 kB / 0.6773 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.4735, allocations: 25.7 kB / 0.6773 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.714e-05/0.4736, allocations: 85.25 kB / 0.6774 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.4736, allocations: 7.891 kB / 0.6774 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.4736, allocations: 16.5 kB / 0.6774 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.4737, allocations: 311.9 kB / 0.6777 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.575e-05/0.4738, allocations: 2.531 kB / 0.6777 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.147e-06/0.4738, allocations: 5.5 kB / 0.6777 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.758e-05/0.4738, allocations: 17.67 kB / 0.6777 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.4738, allocations: 0 / 0.6777 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.795e-05/0.4739, allocations: 41.69 kB / 0.6778 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.4739, allocations: 5.656 kB / 0.6778 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.4739, allocations: 0 / 0.6778 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.474, allocations: 9.219 kB / 0.6778 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.007e-05/0.474, allocations: 6.625 kB / 0.6778 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.474, allocations: 96 / 0.6778 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.489e-05/0.4741, allocations: 5.281 kB / 0.6778 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.4741, allocations: 5.141 kB / 0.6778 GB, free: 15.28 MB / 0.5137 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 (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 8.193e-05/0.4742, allocations: 107 kB / 0.6779 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-06/0.4742, allocations: 0 / 0.6779 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.4743, allocations: 48.88 kB / 0.678 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.4743, allocations: 0 / 0.678 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.4743, allocations: 1.188 kB / 0.678 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.4743, allocations: 0 / 0.678 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.4744, allocations: 151.9 kB / 0.6781 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.4744, allocations: 0 / 0.6781 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.394e-05/0.4745, allocations: 10.7 kB / 0.6781 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.4745, allocations: 1.094 kB / 0.6781 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.4745, allocations: 3.938 kB / 0.6781 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4745, allocations: 1.469 kB / 0.6781 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4745, allocations: 0 / 0.6781 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.451e-05/0.4746, allocations: 66.47 kB / 0.6782 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.609e-05/0.4746, allocations: 81.11 kB / 0.6783 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.4747, allocations: 5.219 kB / 0.6783 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.254e-05/0.4747, allocations: 4 kB / 0.6783 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.4747, allocations: 1.281 kB / 0.6783 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.4747, allocations: 1.031 kB / 0.6783 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.932e-05/0.4748, allocations: 75.28 kB / 0.6784 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4748, allocations: 1.125 kB / 0.6784 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001991/0.475, allocations: 3.469 kB / 0.6784 GB, free: 14.67 MB / 0.5137 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,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.0001922/0.4752, allocations: 112.4 kB / 0.6785 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.42e-05/0.4753, allocations: 10.84 kB / 0.6785 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4753, allocations: 0 / 0.6785 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.731e-05/0.4753, allocations: 4.531 kB / 0.6785 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.4755, allocations: 2.875 kB / 0.6785 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002745/0.4757, allocations: 94.44 kB / 0.6786 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.476, allocations: 0.675 MB / 0.6792 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.762e-05/0.4761, allocations: 9.125 kB / 0.6792 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.612e-05/0.4761, allocations: 9.5 kB / 0.6792 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.4761, allocations: 3.938 kB / 0.6793 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of Templates: time 0.002566/0.4787, allocations: 334.8 kB / 0.6796 GB, free: 13.56 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1)