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.007927/0.007927, allocations: 103.7 kB / 15.73 MB, free: 5.996 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.001631/0.001631, allocations: 187.5 kB / 16.67 MB, free: 5.934 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.062/1.062, allocations: 143 MB / 433.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 64.09 kB / 0.5955 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4414/0.4426, allocations: 82.04 MB / 0.6756 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.002722/0.4454, allocations: 1.5 MB / 0.6771 GB, free: 360 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003766/0.4458, allocations: 135.2 kB / 0.6772 GB, free: 252 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.931e-05/0.4458, allocations: 0 / 0.6772 GB, free: 252 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.937e-05/0.4459, allocations: 1.281 kB / 0.6772 GB, free: 252 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.056e-05/0.4459, allocations: 3.938 kB / 0.6772 GB, free: 248 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.4462, allocations: 22.41 kB / 0.6773 GB, free: 232 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.145e-05/0.4463, allocations: 35.44 kB / 0.6773 GB, free: 208 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.4464, allocations: 8.438 kB / 0.6773 GB, free: 204 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.608e-05/0.4465, allocations: 12.48 kB / 0.6773 GB, free: 196 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.997e-05/0.4465, allocations: 20.48 kB / 0.6773 GB, free: 180 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.4465, allocations: 7.25 kB / 0.6773 GB, free: 176 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.361e-05/0.4466, allocations: 15.03 kB / 0.6774 GB, free: 168 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.4466, allocations: 5.062 kB / 0.6774 GB, free: 164 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.985e-05/0.4467, allocations: 19.25 kB / 0.6774 GB, free: 148 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.4468, allocations: 27.69 kB / 0.6774 GB, free: 128 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.4468, allocations: 5.016 kB / 0.6774 GB, free: 124 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4468, allocations: 0 / 0.6774 GB, free: 124 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.4468, allocations: 0 / 0.6774 GB, free: 124 kB / 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.0005078/0.4473, allocations: 343.9 kB / 0.6777 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.4474, allocations: 13.25 kB / 0.6778 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.4474, allocations: 6.281 kB / 0.6778 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.4475, allocations: 161.5 kB / 0.6779 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.4476, allocations: 1.781 kB / 0.6779 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.4476, allocations: 7 kB / 0.6779 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.4478, allocations: 60.09 kB / 0.678 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.4478, allocations: 192 / 0.678 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.4478, allocations: 5.25 kB / 0.678 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.4478, allocations: 0 / 0.678 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/0.4481, allocations: 50.42 kB / 0.678 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004993/0.4486, allocations: 266.9 kB / 0.6783 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003662/0.4489, allocations: 61.52 kB / 0.6783 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.4491, allocations: 32.36 kB / 0.6784 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001348/0.4492, allocations: 79.48 kB / 0.6785 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.4492, allocations: 31.81 kB / 0.6785 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.4492, allocations: 0 / 0.6785 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.000404/0.4497, allocations: 93.81 kB / 0.6786 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.4497, allocations: 52.53 kB / 0.6786 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.592e-05/0.4498, allocations: 106.4 kB / 0.6787 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.4498, allocations: 26.83 kB / 0.6787 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/0.4499, allocations: 81.33 kB / 0.6788 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.4499, allocations: 10.73 kB / 0.6788 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.4499, allocations: 17.06 kB / 0.6789 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.4501, allocations: 316 kB / 0.6792 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.993e-05/0.4502, allocations: 18.42 kB / 0.6792 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.974e-05/0.4503, allocations: 23.7 kB / 0.6792 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.4504, allocations: 42.94 kB / 0.6792 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.4504, allocations: 3.938 kB / 0.6792 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002049/0.4507, allocations: 71.97 kB / 0.6793 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.4507, allocations: 9.172 kB / 0.6793 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4507, allocations: 48 / 0.6793 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.4507, allocations: 9.172 kB / 0.6793 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.196e-05/0.4508, allocations: 18.73 kB / 0.6793 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.4508, allocations: 1.375 kB / 0.6793 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.778e-05/0.4509, allocations: 7.344 kB / 0.6794 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.4509, allocations: 4.719 kB / 0.6794 GB, free: 14.14 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 (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.865e-05/0.451, allocations: 119.8 kB / 0.6795 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.451, allocations: 2.188 kB / 0.6795 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/0.4513, allocations: 82.36 kB / 0.6795 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.4513, allocations: 0 / 0.6795 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4513, allocations: 1 kB / 0.6796 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.4513, allocations: 0 / 0.6796 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.4515, allocations: 168.1 kB / 0.6797 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4515, allocations: 1.094 kB / 0.6797 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.294e-05/0.4516, allocations: 11.2 kB / 0.6797 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4516, allocations: 3.938 kB / 0.6797 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.4516, allocations: 1.031 kB / 0.6797 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.4517, allocations: 5.062 kB / 0.6797 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.4517, allocations: 0 / 0.6797 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.4519, allocations: 166.7 kB / 0.6799 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.244e-05/0.452, allocations: 90.06 kB / 0.68 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.452, allocations: 1.094 kB / 0.68 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.776e-05/0.4521, allocations: 7.875 kB / 0.68 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.4521, allocations: 9.703 kB / 0.68 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.4522, allocations: 5.469 kB / 0.68 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.415e-05/0.4522, allocations: 82.75 kB / 0.6801 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4522, allocations: 0 / 0.6801 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002317/0.4525, allocations: 7.125 kB / 0.6801 GB, free: 13.39 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.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.0001689/0.4526, allocations: 103.5 kB / 0.6802 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002511/0.4529, allocations: 52.17 kB / 0.6802 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4529, allocations: 1.281 kB / 0.6802 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.997e-05/0.453, allocations: 21.69 kB / 0.6803 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.4533, allocations: 12.16 kB / 0.6803 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003413/0.4536, allocations: 110.6 kB / 0.6804 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.4539, allocations: 0.6784 MB / 0.681 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.233e-05/0.454, allocations: 7.188 kB / 0.681 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.454, allocations: 13.81 kB / 0.6811 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of SimCode: time 1.553e-06/0.454, allocations: 3.938 kB / 0.6811 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of Templates: time 0.002907/0.4569, allocations: 0.7354 MB / 0.6818 GB, free: 12.04 MB / 0.5137 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)