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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.005711/0.005711, allocations: 99.52 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.001322/0.001322, allocations: 200.8 kB / 16.68 MB, free: 5.965 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.489/1.489, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.063/1.063, allocations: 143.3 MB / 433.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001915, allocations: 63.91 kB / 0.5953 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.451/0.4529, allocations: 82.02 MB / 0.6754 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002441/0.4554, allocations: 1.532 MB / 0.6769 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003943/0.4558, allocations: 134.2 kB / 0.677 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.645e-05/0.4558, allocations: 0 / 0.677 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.268e-05/0.4559, allocations: 12.94 kB / 0.677 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.159e-05/0.4559, allocations: 3.938 kB / 0.6771 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.4562, allocations: 29.42 kB / 0.6771 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.253e-05/0.4563, allocations: 34.17 kB / 0.6771 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.4564, allocations: 17.52 kB / 0.6771 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.576e-05/0.4565, allocations: 17.47 kB / 0.6771 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.387e-05/0.4565, allocations: 25.48 kB / 0.6772 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.4566, allocations: 7.188 kB / 0.6772 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.181e-05/0.4566, allocations: 18.58 kB / 0.6772 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.4567, allocations: 5 kB / 0.6772 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.215e-05/0.4567, allocations: 11.47 kB / 0.6772 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.4569, allocations: 60.7 kB / 0.6773 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4569, allocations: 0 / 0.6773 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4569, allocations: 0 / 0.6773 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.4569, allocations: 1.25 kB / 0.6773 GB, free: 15.51 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.0005377/0.4574, allocations: 350.2 kB / 0.6776 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.4575, allocations: 13.97 kB / 0.6776 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.186e-05/0.4576, allocations: 35.78 kB / 0.6777 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/0.4576, allocations: 11.03 kB / 0.6777 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.4577, allocations: 162.7 kB / 0.6778 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.4578, allocations: 1.562 kB / 0.6778 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.4578, allocations: 2.531 kB / 0.6778 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.458, allocations: 63.31 kB / 0.6779 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.458, allocations: 9.031 kB / 0.6779 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.458, allocations: 0 / 0.6779 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.4581, allocations: 5.062 kB / 0.6779 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.4583, allocations: 44.42 kB / 0.6779 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.4587, allocations: 286 kB / 0.6782 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003269/0.4591, allocations: 58.55 kB / 0.6783 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.4592, allocations: 33.55 kB / 0.6783 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003258/0.4595, allocations: 396.3 kB / 0.6787 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.4595, allocations: 34.56 kB / 0.6787 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.4596, allocations: 1.469 kB / 0.6787 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0004005/0.46, allocations: 94.23 kB / 0.6788 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.46, allocations: 55.41 kB / 0.6789 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.217e-05/0.4601, allocations: 116.4 kB / 0.679 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.4601, allocations: 25.7 kB / 0.679 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.438e-05/0.4602, allocations: 85.23 kB / 0.6791 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.4602, allocations: 9.234 kB / 0.6791 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.4603, allocations: 18.14 kB / 0.6791 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.4604, allocations: 320 kB / 0.6794 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.165e-05/0.4605, allocations: 13.67 kB / 0.6794 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.733e-05/0.4606, allocations: 31.06 kB / 0.6794 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.4608, allocations: 47.88 kB / 0.6795 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4608, allocations: 0 / 0.6795 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002288/0.461, allocations: 72.03 kB / 0.6796 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.4611, allocations: 5.938 kB / 0.6796 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4611, allocations: 0 / 0.6796 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.4611, allocations: 5.125 kB / 0.6796 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.106e-05/0.4612, allocations: 19.3 kB / 0.6796 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.4612, allocations: 0 / 0.6796 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.065e-05/0.4613, allocations: 12.66 kB / 0.6796 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.4613, allocations: 1.219 kB / 0.6796 GB, free: 13.07 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.258e-05/0.4614, allocations: 116 kB / 0.6797 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.4614, allocations: 1.797 kB / 0.6797 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/0.4617, allocations: 87.59 kB / 0.6798 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.4617, allocations: 0.9062 kB / 0.6798 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.4617, allocations: 1.125 kB / 0.6798 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4617, allocations: 0 / 0.6798 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.4619, allocations: 169.3 kB / 0.68 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4619, allocations: 0 / 0.68 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.738e-05/0.462, allocations: 15.95 kB / 0.68 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.462, allocations: 0 / 0.68 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.462, allocations: 1.281 kB / 0.68 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.462, allocations: 4 kB / 0.68 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.462, allocations: 5.391 kB / 0.68 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.4623, allocations: 170.9 kB / 0.6801 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.823e-05/0.4624, allocations: 82.3 kB / 0.6802 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.4624, allocations: 1.25 kB / 0.6802 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.714e-05/0.4625, allocations: 11.3 kB / 0.6802 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.4625, allocations: 10.8 kB / 0.6802 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.4625, allocations: 1.188 kB / 0.6802 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.241e-05/0.4626, allocations: 94.11 kB / 0.6803 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4626, allocations: 0 / 0.6803 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002238/0.4628, allocations: 7.844 kB / 0.6803 GB, free: 12.3 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.000677/0.4635, allocations: 0.7193 MB / 0.681 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002511/0.4638, allocations: 49.91 kB / 0.6811 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4638, allocations: 0 / 0.6811 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.4639, allocations: 27.36 kB / 0.6811 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.4642, allocations: 3.531 kB / 0.6811 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.4658, allocations: 1.291 MB / 0.6824 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.4661, allocations: 0.6791 MB / 0.683 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.53e-05/0.4662, allocations: 6.266 kB / 0.6831 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.516e-05/0.4662, allocations: 22.67 kB / 0.6831 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.4662, allocations: 0 / 0.6831 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.4885, allocations: 1.713 MB / 0.6847 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.029/8.518, allocations: 5.812 kB / 0.6848 GB, free: 8.656 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)