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.00157/0.00157, allocations: 115.1 kB / 16.42 MB, free: 6.473 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.001254/0.001255, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.376/1.376, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.8452/0.8452, allocations: 143.1 MB / 434.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 68.64 kB / 0.5962 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1354, allocations: 82.02 MB / 0.6763 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.002693/0.1381, allocations: 1.527 MB / 0.6778 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003273/0.1385, allocations: 124.5 kB / 0.6779 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.401e-05/0.1385, allocations: 0 / 0.6779 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.436e-05/0.1386, allocations: 3.984 kB / 0.6779 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.893e-05/0.1386, allocations: 3.938 kB / 0.6779 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.1388, allocations: 23.92 kB / 0.678 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.543e-05/0.1389, allocations: 31.92 kB / 0.678 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.416e-05/0.139, allocations: 8 kB / 0.678 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.047e-05/0.1391, allocations: 19.91 kB / 0.678 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.625e-05/0.1391, allocations: 15.92 kB / 0.678 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.1391, allocations: 4 kB / 0.678 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.38e-05/0.1392, allocations: 12 kB / 0.678 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.148e-05/0.1392, allocations: 3.984 kB / 0.678 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.436e-05/0.1392, allocations: 11.94 kB / 0.6781 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.1393, allocations: 39.88 kB / 0.6781 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1394, allocations: 4 kB / 0.6781 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1394, allocations: 0 / 0.6781 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.1394, allocations: 0 / 0.6781 GB, free: 8.5 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.0004109/0.1398, allocations: 343.5 kB / 0.6784 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.1398, allocations: 8.031 kB / 0.6784 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.1399, allocations: 8.844 kB / 0.6784 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.666e-05/0.14, allocations: 168.3 kB / 0.6786 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.14, allocations: 384 / 0.6786 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.14, allocations: 4.375 kB / 0.6786 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.1402, allocations: 62.17 kB / 0.6787 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.1402, allocations: 4.188 kB / 0.6787 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.1402, allocations: 3.938 kB / 0.6787 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1403, allocations: 0 / 0.6787 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.1404, allocations: 39.89 kB / 0.6787 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.1408, allocations: 272.9 kB / 0.679 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003131/0.1411, allocations: 66.47 kB / 0.679 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.008e-05/0.1412, allocations: 20.83 kB / 0.6791 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/0.1413, allocations: 85.11 kB / 0.6791 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.1414, allocations: 30.56 kB / 0.6792 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.1414, allocations: 4 kB / 0.6792 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0003621/0.1417, allocations: 93.62 kB / 0.6793 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.289e-05/0.1418, allocations: 51.41 kB / 0.6793 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.092e-05/0.1418, allocations: 101.8 kB / 0.6794 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.1419, allocations: 25.7 kB / 0.6794 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.1419, allocations: 88.08 kB / 0.6795 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.415e-05/0.1419, allocations: 11.84 kB / 0.6795 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.142, allocations: 21.7 kB / 0.6795 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1421, allocations: 314.8 kB / 0.6798 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.906e-05/0.1422, allocations: 15.98 kB / 0.6799 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.788e-05/0.1423, allocations: 19.97 kB / 0.6799 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.1424, allocations: 44.83 kB / 0.6799 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1424, allocations: 4 kB / 0.6799 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002064/0.1427, allocations: 77.58 kB / 0.68 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1427, allocations: 8 kB / 0.68 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.1427, allocations: 0 / 0.68 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.1427, allocations: 0 / 0.68 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.741e-05/0.1428, allocations: 15.92 kB / 0.68 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.1428, allocations: 0 / 0.68 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.452e-05/0.1429, allocations: 7.984 kB / 0.68 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.1429, allocations: 4 kB / 0.68 GB, free: 6.27 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.094e-05/0.1429, allocations: 113.8 kB / 0.6801 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.143, allocations: 3.906 kB / 0.6801 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002327/0.1432, allocations: 81.14 kB / 0.6802 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1432, allocations: 0 / 0.6802 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.1432, allocations: 8 kB / 0.6802 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.59e-05/0.1433, allocations: 77.67 kB / 0.6803 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.1433, allocations: 4 kB / 0.6803 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.18e-05/0.1434, allocations: 11.92 kB / 0.6803 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.1434, allocations: 19.86 kB / 0.6803 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002574/0.1437, allocations: 164.8 kB / 0.6805 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002557/0.144, allocations: 242.8 kB / 0.6807 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.67e-05/0.1441, allocations: 23.97 kB / 0.6807 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.101e-05/0.1441, allocations: 79.28 kB / 0.6808 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of Backend: time 3.91e-07/0.1441, allocations: 3.938 kB / 0.6808 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004008/0.1445, allocations: 106.4 kB / 0.6809 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0003861/0.1449, allocations: 0.5647 MB / 0.6815 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of Templates: time 0.002712/0.1476, allocations: 0.8159 MB / 0.6823 GB, free: 3.859 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)