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.001239/0.001239, allocations: 107.3 kB / 16.36 MB, free: 5.824 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.001216/0.001216, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.8687/0.8687, allocations: 143.1 MB / 434.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001299, allocations: 63.91 kB / 0.5156 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3969, allocations: 82.04 MB / 0.5957 GB, free: 16.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.002346/0.3993, allocations: 1.501 MB / 0.5972 GB, free: 14.78 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002863/0.3996, allocations: 128.5 kB / 0.5973 GB, free: 14.65 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.404e-05/0.3996, allocations: 0.5625 kB / 0.5973 GB, free: 14.65 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.381e-05/0.3997, allocations: 5.594 kB / 0.5973 GB, free: 14.65 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.012e-05/0.3997, allocations: 0 / 0.5973 GB, free: 14.65 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.3999, allocations: 27.91 kB / 0.5973 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.759e-05/0.4, allocations: 35.84 kB / 0.5973 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.664e-05/0.4001, allocations: 9.344 kB / 0.5974 GB, free: 14.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.684e-05/0.4001, allocations: 11.98 kB / 0.5974 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.224e-05/0.4002, allocations: 16.67 kB / 0.5974 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.4002, allocations: 4 kB / 0.5974 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.208e-05/0.4003, allocations: 13.5 kB / 0.5974 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.4003, allocations: 11.97 kB / 0.5974 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.322e-05/0.4003, allocations: 15.94 kB / 0.5974 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.224e-05/0.4004, allocations: 27.91 kB / 0.5974 GB, free: 14.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4004, allocations: 5.328 kB / 0.5975 GB, free: 14.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4004, allocations: 0 / 0.5975 GB, free: 14.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.4004, allocations: 0 / 0.5975 GB, free: 14.48 MB / 446.1 MB 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.0003547/0.4008, allocations: 342.2 kB / 0.5978 GB, free: 14.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.4008, allocations: 9.438 kB / 0.5978 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.713e-05/0.4009, allocations: 8.875 kB / 0.5978 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.141e-05/0.4009, allocations: 168.3 kB / 0.598 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.401, allocations: 4.375 kB / 0.598 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.401, allocations: 1.312 kB / 0.598 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.4011, allocations: 63.28 kB / 0.598 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.4012, allocations: 192 / 0.598 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.4012, allocations: 3.938 kB / 0.598 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.4012, allocations: 1.5 kB / 0.598 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.4013, allocations: 47.95 kB / 0.5981 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002804/0.4016, allocations: 267.1 kB / 0.5983 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.4019, allocations: 63.86 kB / 0.5984 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.352e-05/0.402, allocations: 32.88 kB / 0.5984 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.289e-05/0.4021, allocations: 77.11 kB / 0.5985 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.437e-05/0.4021, allocations: 36.16 kB / 0.5985 GB, free: 13.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.4022, allocations: 3.938 kB / 0.5985 GB, free: 13.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003316/0.4025, allocations: 96.62 kB / 0.5986 GB, free: 13.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.916e-05/0.4025, allocations: 51.41 kB / 0.5987 GB, free: 13.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.783e-05/0.4026, allocations: 101.8 kB / 0.5988 GB, free: 12.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.4026, allocations: 25.7 kB / 0.5988 GB, free: 12.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.419e-05/0.4026, allocations: 88.14 kB / 0.5989 GB, free: 12.81 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.17e-05/0.4026, allocations: 5.25 kB / 0.5989 GB, free: 12.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.4027, allocations: 17.72 kB / 0.5989 GB, free: 12.78 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.884e-05/0.4027, allocations: 316.2 kB / 0.5992 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.232e-05/0.4028, allocations: 19.98 kB / 0.5992 GB, free: 12.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.799e-05/0.4029, allocations: 13.2 kB / 0.5992 GB, free: 12.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.403, allocations: 49.72 kB / 0.5993 GB, free: 12.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.403, allocations: 3.938 kB / 0.5993 GB, free: 12.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001819/0.4032, allocations: 83 kB / 0.5994 GB, free: 12.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.4032, allocations: 9.391 kB / 0.5994 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.4032, allocations: 1.344 kB / 0.5994 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.4033, allocations: 0 / 0.5994 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.326e-05/0.4033, allocations: 11.98 kB / 0.5994 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.4034, allocations: 3.984 kB / 0.5994 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.19e-05/0.4034, allocations: 5.281 kB / 0.5994 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.4034, allocations: 3.938 kB / 0.5994 GB, free: 12.26 MB / 446.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 (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 4.911e-05/0.4035, allocations: 123.2 kB / 0.5995 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.4035, allocations: 0 / 0.5995 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002185/0.4037, allocations: 86.3 kB / 0.5996 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.4037, allocations: 0 / 0.5996 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.4037, allocations: 0.7188 kB / 0.5996 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.4038, allocations: 0 / 0.5996 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.4039, allocations: 167 kB / 0.5998 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4039, allocations: 0 / 0.5998 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.643e-05/0.404, allocations: 11.98 kB / 0.5998 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.404, allocations: 1.344 kB / 0.5998 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.404, allocations: 4.562 kB / 0.5998 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.404, allocations: 0 / 0.5998 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.404, allocations: 0 / 0.5998 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.4042, allocations: 174.3 kB / 0.5999 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.702e-05/0.4042, allocations: 85 kB / 0.6 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.4042, allocations: 0 / 0.6 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.988e-05/0.4043, allocations: 5.312 kB / 0.6 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.4044, allocations: 19.92 kB / 0.6 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.4044, allocations: 0 / 0.6 GB, free: 11.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.939e-05/0.4044, allocations: 80.62 kB / 0.6001 GB, free: 11.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4044, allocations: 0 / 0.6001 GB, free: 11.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002278/0.4047, allocations: 15.88 kB / 0.6001 GB, free: 11.41 MB / 446.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.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.0001179/0.4048, allocations: 108.1 kB / 0.6002 GB, free: 11.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002023/0.405, allocations: 41.23 kB / 0.6003 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.405, allocations: 1.438 kB / 0.6003 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.506e-05/0.4051, allocations: 27.97 kB / 0.6003 GB, free: 11.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.4053, allocations: 5.375 kB / 0.6003 GB, free: 11.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002389/0.4056, allocations: 121.5 kB / 0.6004 GB, free: 11.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.009e-05/0.4057, allocations: 0.6774 MB / 0.6011 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.739e-05/0.4057, allocations: 5.062 kB / 0.6011 GB, free: 10.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.422e-05/0.4058, allocations: 11.97 kB / 0.6011 GB, free: 10.36 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4058, allocations: 3.938 kB / 0.6011 GB, free: 10.36 MB / 446.1 MB Notification: Performance of Templates: time 0.00268/0.4084, allocations: 0.7074 MB / 0.6018 GB, free: 9.68 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe 2>&1)