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.00144/0.00144, allocations: 111.5 kB / 16.42 MB, free: 6.441 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.001761/0.001761, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.08 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.846/0.846, allocations: 143.1 MB / 434.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 64.47 kB / 0.5962 GB, free: 12.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.14, allocations: 82.04 MB / 0.6763 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.002477/0.1425, allocations: 1.506 MB / 0.6778 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003246/0.1428, allocations: 124.5 kB / 0.6779 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.554e-05/0.1429, allocations: 0 / 0.6779 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.504e-05/0.1429, allocations: 3.938 kB / 0.6779 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.572e-05/0.1429, allocations: 0 / 0.6779 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.1432, allocations: 31.89 kB / 0.6779 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.867e-05/0.1432, allocations: 27.92 kB / 0.678 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.486e-05/0.1433, allocations: 11.98 kB / 0.678 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.136e-05/0.1434, allocations: 15.92 kB / 0.678 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.637e-05/0.1434, allocations: 23.91 kB / 0.678 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.1434, allocations: 4 kB / 0.678 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.13e-05/0.1435, allocations: 4 kB / 0.678 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.1435, allocations: 11.98 kB / 0.678 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.445e-05/0.1436, allocations: 7.938 kB / 0.6781 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.1437, allocations: 47.86 kB / 0.6781 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1437, allocations: 0 / 0.6781 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1437, allocations: 0 / 0.6781 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.1437, allocations: 0 / 0.6781 GB, free: 8.508 MB / 0.5137 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.0004273/0.1441, allocations: 345.4 kB / 0.6784 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.1442, allocations: 8.031 kB / 0.6784 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.1442, allocations: 8.781 kB / 0.6784 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.303e-05/0.1443, allocations: 164.4 kB / 0.6786 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.1443, allocations: 8.359 kB / 0.6786 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.1443, allocations: 8.312 kB / 0.6786 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.1445, allocations: 50.23 kB / 0.6787 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.1445, allocations: 192 / 0.6787 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.1446, allocations: 11.94 kB / 0.6787 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.1446, allocations: 4 kB / 0.6787 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001861/0.1448, allocations: 35.95 kB / 0.6787 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.1451, allocations: 268.8 kB / 0.679 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.1454, allocations: 62.42 kB / 0.679 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.1456, allocations: 32.89 kB / 0.6791 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/0.1457, allocations: 81.11 kB / 0.6791 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.1457, allocations: 30.56 kB / 0.6792 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.1457, allocations: 0 / 0.6792 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0003687/0.1461, allocations: 101.6 kB / 0.6793 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.1461, allocations: 55.41 kB / 0.6793 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.735e-05/0.1462, allocations: 101.8 kB / 0.6794 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.1462, allocations: 25.7 kB / 0.6794 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.1462, allocations: 80.14 kB / 0.6795 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.1463, allocations: 15.84 kB / 0.6795 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.1463, allocations: 9.719 kB / 0.6795 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.649e-05/0.1464, allocations: 318.8 kB / 0.6798 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.276e-05/0.1465, allocations: 19.98 kB / 0.6799 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.338e-05/0.1466, allocations: 23.97 kB / 0.6799 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.1468, allocations: 44.83 kB / 0.6799 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1468, allocations: 0 / 0.6799 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002193/0.147, allocations: 77.98 kB / 0.68 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.147, allocations: 12 kB / 0.68 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.147, allocations: 0 / 0.68 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.147, allocations: 0 / 0.68 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.206e-05/0.1471, allocations: 11.98 kB / 0.68 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.1471, allocations: 0 / 0.68 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.946e-05/0.1472, allocations: 8 kB / 0.68 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.1472, allocations: 3.984 kB / 0.68 GB, free: 6.277 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 6.842e-05/0.1473, allocations: 117.8 kB / 0.6801 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.1473, allocations: 7.906 kB / 0.6802 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.1476, allocations: 77.14 kB / 0.6802 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1476, allocations: 0 / 0.6802 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1476, allocations: 3.938 kB / 0.6802 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.245e-05/0.1476, allocations: 85.11 kB / 0.6803 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.1477, allocations: 0 / 0.6803 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.141e-05/0.1478, allocations: 11.92 kB / 0.6803 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.1478, allocations: 11.88 kB / 0.6803 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002728/0.1481, allocations: 160.9 kB / 0.6805 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002692/0.1484, allocations: 246.7 kB / 0.6807 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.781e-05/0.1485, allocations: 23.97 kB / 0.6807 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.005e-05/0.1485, allocations: 83.28 kB / 0.6808 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of Backend: time 4.01e-07/0.1485, allocations: 0 / 0.6808 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004333/0.149, allocations: 106.3 kB / 0.6809 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0004097/0.1494, allocations: 0.5569 MB / 0.6815 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of Templates: time 0.003059/0.1524, allocations: 0.8273 MB / 0.6823 GB, free: 3.867 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)