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.005349/0.005349, allocations: 100.3 kB / 15.87 MB, free: 5.867 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.001107/0.001107, allocations: 192.5 kB / 16.79 MB, free: 5.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.318/1.318, allocations: 222.9 MB / 240.5 MB, free: 4.562 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.9489/0.9489, allocations: 143 MB / 433.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 63.91 kB / 0.5142 GB, free: 12.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1456, allocations: 82.03 MB / 0.5943 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001838/0.1474, allocations: 0.6348 MB / 0.5949 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003271/0.1478, allocations: 63.7 kB / 0.595 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.014e-05/0.1478, allocations: 8 kB / 0.595 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.742e-05/0.1478, allocations: 0 / 0.595 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.14e-06/0.1479, allocations: 0 / 0.595 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.148, allocations: 4 kB / 0.595 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.64e-05/0.1481, allocations: 4 kB / 0.595 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.928e-05/0.1481, allocations: 0 / 0.595 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.65e-05/0.1481, allocations: 4 kB / 0.595 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.04e-05/0.1482, allocations: 0 / 0.595 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.998e-06/0.1482, allocations: 0 / 0.595 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.424e-05/0.1483, allocations: 11.98 kB / 0.595 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.172e-05/0.1483, allocations: 3.984 kB / 0.595 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.085e-05/0.1483, allocations: 4 kB / 0.595 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.451e-05/0.1484, allocations: 7.938 kB / 0.595 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1484, allocations: 7.938 kB / 0.595 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.82e-07/0.1484, allocations: 0 / 0.595 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.1484, allocations: 0 / 0.595 GB, free: 9.297 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.0003153/0.1487, allocations: 317.8 kB / 0.5953 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.1488, allocations: 12.03 kB / 0.5953 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.172e-05/0.1488, allocations: 0.9375 kB / 0.5953 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.1489, allocations: 168.3 kB / 0.5955 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.1489, allocations: 384 / 0.5955 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-06/0.1489, allocations: 4.375 kB / 0.5955 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.46e-05/0.149, allocations: 38.27 kB / 0.5955 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1491, allocations: 192 / 0.5955 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.1491, allocations: 3.938 kB / 0.5955 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1491, allocations: 4 kB / 0.5955 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.965e-05/0.1491, allocations: 0 / 0.5955 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.1493, allocations: 153.7 kB / 0.5957 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.985e-05/0.1493, allocations: 26.55 kB / 0.5957 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.923e-05/0.1494, allocations: 8.922 kB / 0.5957 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001671/0.1495, allocations: 85.08 kB / 0.5958 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.1496, allocations: 38.56 kB / 0.5958 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.1496, allocations: 0 / 0.5958 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000131/0.1497, allocations: 37.64 kB / 0.5959 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.1498, allocations: 55.39 kB / 0.5959 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.867e-05/0.1498, allocations: 93.98 kB / 0.596 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.1498, allocations: 29.7 kB / 0.596 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.611e-05/0.1498, allocations: 80.14 kB / 0.5961 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.1499, allocations: 11.84 kB / 0.5961 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.1499, allocations: 9.719 kB / 0.5961 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.15, allocations: 314.8 kB / 0.5964 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.224e-05/0.15, allocations: 4 kB / 0.5964 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.707e-06/0.1501, allocations: 3.984 kB / 0.5964 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.985e-05/0.1501, allocations: 16.92 kB / 0.5965 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1501, allocations: 0 / 0.5965 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.834e-05/0.1502, allocations: 45.64 kB / 0.5965 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.1502, allocations: 4 kB / 0.5965 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1502, allocations: 0 / 0.5965 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1502, allocations: 3.938 kB / 0.5965 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.634e-05/0.1503, allocations: 11.92 kB / 0.5965 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.1503, allocations: 0 / 0.5965 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.302e-05/0.1503, allocations: 0 / 0.5965 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.1503, allocations: 4 kB / 0.5965 GB, free: 7.5 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 (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 6.937e-05/0.1504, allocations: 109.9 kB / 0.5966 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-06/0.1504, allocations: 0 / 0.5966 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.485e-05/0.1505, allocations: 56.95 kB / 0.5967 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1505, allocations: 0 / 0.5967 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.1505, allocations: 0 / 0.5967 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1505, allocations: 0 / 0.5967 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.409e-05/0.1506, allocations: 153.6 kB / 0.5968 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1506, allocations: 3.984 kB / 0.5968 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.164e-05/0.1506, allocations: 8.031 kB / 0.5968 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.1506, allocations: 0 / 0.5968 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.1507, allocations: 3.938 kB / 0.5968 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1507, allocations: 3.938 kB / 0.5968 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1507, allocations: 0 / 0.5968 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.106e-05/0.1507, allocations: 61.12 kB / 0.5969 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.147e-05/0.1508, allocations: 81.11 kB / 0.597 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.1508, allocations: 3.938 kB / 0.597 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.101e-05/0.1508, allocations: 4.031 kB / 0.597 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.273e-05/0.1508, allocations: 0 / 0.597 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.1509, allocations: 0 / 0.597 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.534e-05/0.1509, allocations: 79.28 kB / 0.5971 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1509, allocations: 0 / 0.5971 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001866/0.1511, allocations: 4 kB / 0.5971 GB, free: 6.84 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,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.0001592/0.1512, allocations: 103.2 kB / 0.5972 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.757e-05/0.1513, allocations: 19.94 kB / 0.5972 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.1513, allocations: 0 / 0.5972 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.056e-05/0.1514, allocations: 7.938 kB / 0.5972 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.1515, allocations: 3.984 kB / 0.5972 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001879/0.1517, allocations: 108.4 kB / 0.5973 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.1519, allocations: 0.6692 MB / 0.598 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.835e-05/0.1519, allocations: 15.42 kB / 0.598 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1519, allocations: 0 / 0.598 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of Templates: time 0.001777/0.1537, allocations: 451.9 kB / 0.5984 GB, free: 5.406 MB / 0.4981 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)