Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007268/0.007268, allocations: 96.19 kB / 15.73 MB, free: 6.043 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.001366/0.001366, allocations: 195.3 kB / 16.67 MB, free: 5.969 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 4.266 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.003/1.003, allocations: 143 MB / 433.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 63.91 kB / 0.5951 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4575/0.4597, allocations: 82.03 MB / 0.6752 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002763/0.4625, allocations: 1.518 MB / 0.6767 GB, free: 32 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005457/0.4631, allocations: 142.2 kB / 0.6768 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.074e-05/0.4632, allocations: 5.344 kB / 0.6768 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.199e-05/0.4632, allocations: 7.922 kB / 0.6768 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.551e-05/0.4633, allocations: 3.938 kB / 0.6768 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003761/0.4637, allocations: 25.25 kB / 0.6768 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.966e-05/0.4638, allocations: 41.94 kB / 0.6769 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.4639, allocations: 10.22 kB / 0.6769 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.426e-05/0.4639, allocations: 14.45 kB / 0.6769 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.298e-05/0.464, allocations: 16.77 kB / 0.6769 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.464, allocations: 10.97 kB / 0.6769 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.957e-05/0.4641, allocations: 22.33 kB / 0.6769 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.176e-05/0.4641, allocations: 13.09 kB / 0.677 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.415e-05/0.4642, allocations: 11.34 kB / 0.677 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.4644, allocations: 51.94 kB / 0.677 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.4644, allocations: 5.203 kB / 0.677 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.524e-06/0.4644, allocations: 0 / 0.677 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.4644, allocations: 0 / 0.677 GB, free: 15.76 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005358/0.4649, allocations: 349.9 kB / 0.6774 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.465, allocations: 13.53 kB / 0.6774 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.792e-05/0.465, allocations: 40.09 kB / 0.6774 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.4651, allocations: 7.547 kB / 0.6774 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.4652, allocations: 165.7 kB / 0.6776 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.4653, allocations: 5.719 kB / 0.6776 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.4653, allocations: 2.938 kB / 0.6776 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.4655, allocations: 58.92 kB / 0.6776 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.4655, allocations: 11.86 kB / 0.6777 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.4655, allocations: 0.9688 kB / 0.6777 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.4655, allocations: 5.125 kB / 0.6777 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002006/0.4657, allocations: 44.2 kB / 0.6777 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004964/0.4662, allocations: 278.6 kB / 0.678 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003352/0.4666, allocations: 62.44 kB / 0.678 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.901e-05/0.4667, allocations: 28.41 kB / 0.6781 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002888/0.467, allocations: 404.9 kB / 0.6784 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.467, allocations: 30.56 kB / 0.6785 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.467, allocations: 1.219 kB / 0.6785 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0003989/0.4675, allocations: 90.38 kB / 0.6786 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.4675, allocations: 55.41 kB / 0.6786 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.701e-05/0.4676, allocations: 112.4 kB / 0.6787 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.4676, allocations: 29.64 kB / 0.6787 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.986e-05/0.4677, allocations: 89.22 kB / 0.6788 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.4677, allocations: 6.188 kB / 0.6788 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.4677, allocations: 17.31 kB / 0.6789 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.4678, allocations: 323.8 kB / 0.6792 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.482e-05/0.4679, allocations: 22.14 kB / 0.6792 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.99e-05/0.468, allocations: 15.08 kB / 0.6792 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.4682, allocations: 47.34 kB / 0.6792 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4682, allocations: 0 / 0.6792 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002163/0.4684, allocations: 72.84 kB / 0.6793 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.4685, allocations: 5.344 kB / 0.6793 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.4685, allocations: 7.984 kB / 0.6793 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.4685, allocations: 1.469 kB / 0.6793 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.972e-05/0.4686, allocations: 10.59 kB / 0.6793 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.4686, allocations: 5.672 kB / 0.6793 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.918e-05/0.4687, allocations: 8.156 kB / 0.6793 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.4687, allocations: 1.375 kB / 0.6793 GB, free: 13.33 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 (falFac.y,rea2Int.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 8.508e-05/0.4688, allocations: 115.2 kB / 0.6795 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.4688, allocations: 10.25 kB / 0.6795 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/0.4691, allocations: 87.56 kB / 0.6796 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.4691, allocations: 1.281 kB / 0.6796 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.4691, allocations: 0 / 0.6796 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.4691, allocations: 1.062 kB / 0.6796 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.4693, allocations: 172.6 kB / 0.6797 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4693, allocations: 1 kB / 0.6797 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.02e-05/0.4694, allocations: 15.23 kB / 0.6797 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.4694, allocations: 3.938 kB / 0.6797 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.4694, allocations: 9.094 kB / 0.6797 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4694, allocations: 0 / 0.6797 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4694, allocations: 1.469 kB / 0.6797 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.4697, allocations: 175.1 kB / 0.6799 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.4698, allocations: 86.27 kB / 0.68 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.4698, allocations: 1.125 kB / 0.68 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.651e-05/0.4699, allocations: 11.83 kB / 0.68 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.47, allocations: 2.156 kB / 0.68 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.47, allocations: 0.9688 kB / 0.68 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.765e-05/0.47, allocations: 90.36 kB / 0.6801 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.47, allocations: 0 / 0.6801 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002307/0.4703, allocations: 8.438 kB / 0.6801 GB, free: 12.55 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 (rea2Int.y,falFac.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.0006786/0.4709, allocations: 0.7215 MB / 0.6808 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002576/0.4712, allocations: 46.14 kB / 0.6809 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4712, allocations: 0 / 0.6809 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.4713, allocations: 31.34 kB / 0.6809 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.4717, allocations: 7.75 kB / 0.6809 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.4735, allocations: 1.275 MB / 0.6821 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.4738, allocations: 0.6835 MB / 0.6828 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.371e-05/0.4739, allocations: 12.02 kB / 0.6828 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.278e-05/0.4739, allocations: 13.78 kB / 0.6828 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.474, allocations: 0 / 0.6828 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.4923, allocations: 1.718 MB / 0.6845 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.61/8.103, allocations: 6 kB / 0.6845 GB, free: 8.91 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)