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.001453/0.001453, allocations: 104.1 kB / 16.36 MB, free: 6.285 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.001566/0.001566, allocations: 191.6 kB / 17.29 MB, free: 5.863 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.17 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.8699/0.8699, allocations: 143.1 MB / 434.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 63.91 kB / 0.5156 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3462, allocations: 82.03 MB / 0.5957 GB, free: 16.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.002226/0.3485, allocations: 1.513 MB / 0.5972 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002396/0.3488, allocations: 120.5 kB / 0.5973 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.545e-05/0.3488, allocations: 1.531 kB / 0.5973 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.823e-05/0.3488, allocations: 7.922 kB / 0.5973 GB, free: 14.49 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.505e-05/0.3489, allocations: 3.938 kB / 0.5973 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001275/0.349, allocations: 19.98 kB / 0.5973 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.516e-05/0.349, allocations: 37.19 kB / 0.5973 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.74e-05/0.3491, allocations: 8 kB / 0.5974 GB, free: 14.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.57e-05/0.3491, allocations: 12.7 kB / 0.5974 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.184e-05/0.3492, allocations: 17.2 kB / 0.5974 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.456e-06/0.3492, allocations: 4 kB / 0.5974 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.7e-05/0.3492, allocations: 12 kB / 0.5974 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.999e-06/0.3493, allocations: 11.97 kB / 0.5974 GB, free: 14.37 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.057e-05/0.3493, allocations: 8.969 kB / 0.5974 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.332e-05/0.3494, allocations: 35.89 kB / 0.5975 GB, free: 14.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.3494, allocations: 0 / 0.5975 GB, free: 14.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3494, allocations: 1.344 kB / 0.5975 GB, free: 14.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.3494, allocations: 0 / 0.5975 GB, free: 14.32 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.0002774/0.3497, allocations: 348.5 kB / 0.5978 GB, free: 13.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.166e-05/0.3497, allocations: 8.031 kB / 0.5978 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.477e-05/0.3497, allocations: 4.938 kB / 0.5978 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.171e-05/0.3498, allocations: 176.8 kB / 0.598 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.3498, allocations: 1.438 kB / 0.598 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.3498, allocations: 4.375 kB / 0.598 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.35, allocations: 55.33 kB / 0.598 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.591e-06/0.35, allocations: 192 / 0.598 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.35, allocations: 9.062 kB / 0.598 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.35, allocations: 0 / 0.598 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.3502, allocations: 37.48 kB / 0.5981 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002264/0.3504, allocations: 276.8 kB / 0.5983 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.3507, allocations: 60.31 kB / 0.5984 GB, free: 13.22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.93e-05/0.3508, allocations: 22.12 kB / 0.5984 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.123e-05/0.3508, allocations: 81.11 kB / 0.5985 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.289e-05/0.3509, allocations: 39.95 kB / 0.5985 GB, free: 13.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.3509, allocations: 0 / 0.5985 GB, free: 13.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003028/0.3512, allocations: 91.05 kB / 0.5986 GB, free: 12.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.55e-05/0.3512, allocations: 55.41 kB / 0.5987 GB, free: 12.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.405e-05/0.3512, allocations: 107.4 kB / 0.5988 GB, free: 12.78 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.3513, allocations: 25.7 kB / 0.5988 GB, free: 12.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.266e-05/0.3513, allocations: 80.14 kB / 0.5989 GB, free: 12.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.295e-05/0.3513, allocations: 16.2 kB / 0.5989 GB, free: 12.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/0.3513, allocations: 17.7 kB / 0.5989 GB, free: 12.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.176e-05/0.3514, allocations: 314.8 kB / 0.5992 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.584e-05/0.3515, allocations: 11.98 kB / 0.5992 GB, free: 12.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-05/0.3515, allocations: 25.69 kB / 0.5992 GB, free: 12.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.3517, allocations: 54.39 kB / 0.5993 GB, free: 12.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3517, allocations: 3.938 kB / 0.5993 GB, free: 12.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001767/0.3519, allocations: 77.5 kB / 0.5994 GB, free: 12.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.3519, allocations: 8.562 kB / 0.5994 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-06/0.3519, allocations: 1.5 kB / 0.5994 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.3519, allocations: 0 / 0.5994 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.172e-05/0.352, allocations: 11.98 kB / 0.5994 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.352, allocations: 0 / 0.5994 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.057e-05/0.3521, allocations: 9.484 kB / 0.5994 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.3521, allocations: 0 / 0.5994 GB, free: 12.11 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.07e-05/0.3521, allocations: 118.5 kB / 0.5995 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.3521, allocations: 0 / 0.5995 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002053/0.3524, allocations: 86.58 kB / 0.5996 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3524, allocations: 5.219 kB / 0.5996 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.3524, allocations: 0 / 0.5996 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.3524, allocations: 0 / 0.5996 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.3525, allocations: 161.6 kB / 0.5998 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3525, allocations: 0.875 kB / 0.5998 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.749e-05/0.3526, allocations: 11.98 kB / 0.5998 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3526, allocations: 1.406 kB / 0.5998 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.3526, allocations: 4 kB / 0.5998 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3526, allocations: 4 kB / 0.5998 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3526, allocations: 0.9375 kB / 0.5998 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.3528, allocations: 180.6 kB / 0.5999 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.407e-05/0.3528, allocations: 86.45 kB / 0.6 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.024e-05/0.3528, allocations: 0 / 0.6 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.783e-05/0.3529, allocations: 7.984 kB / 0.6 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/0.353, allocations: 4.625 kB / 0.6 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.353, allocations: 0 / 0.6 GB, free: 11.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.871e-05/0.353, allocations: 88.89 kB / 0.6001 GB, free: 11.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.353, allocations: 0 / 0.6001 GB, free: 11.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002143/0.3532, allocations: 8 kB / 0.6001 GB, free: 11.27 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 9.571e-05/0.3533, allocations: 100 kB / 0.6002 GB, free: 11.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.3535, allocations: 46.7 kB / 0.6003 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3536, allocations: 3.938 kB / 0.6003 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.339e-05/0.3536, allocations: 31.91 kB / 0.6003 GB, free: 11.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.3539, allocations: 5.312 kB / 0.6003 GB, free: 11.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002065/0.3541, allocations: 117.8 kB / 0.6004 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.838e-05/0.3542, allocations: 0.6781 MB / 0.6011 GB, free: 10.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.586e-05/0.3542, allocations: 9.328 kB / 0.6011 GB, free: 10.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.129e-05/0.3542, allocations: 11.42 kB / 0.6011 GB, free: 10.21 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3542, allocations: 0 / 0.6011 GB, free: 10.21 MB / 446.1 MB Notification: Performance of Templates: time 0.002123/0.3564, allocations: 0.713 MB / 0.6018 GB, free: 9.531 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 gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe 2>&1)