Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 76.45 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8866/0.8866, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.5446/0.5446, allocations: 110.2 MB / 369.4 MB, free: 12.61 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.5473 GB, free: 9.766 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.525e-05/1.696e-05, allocations: 2.281 kB / 0.5473 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.00101/0.001027, allocations: 0.5894 MB / 0.5479 GB, free: 9.172 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0002008/0.001228, allocations: 51.8 kB / 0.5479 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.801e-05/0.001246, allocations: 0 / 0.5479 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.446e-05/0.00127, allocations: 0 / 0.5479 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.44e-06/0.001276, allocations: 0 / 0.5479 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.001549, allocations: 27.84 kB / 0.548 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.688e-05/0.001616, allocations: 27.95 kB / 0.548 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.588e-05/0.001651, allocations: 4 kB / 0.548 GB, free: 9.062 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.147e-05/0.001683, allocations: 19.98 kB / 0.548 GB, free: 9.043 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 2.035e-05/0.001703, allocations: 7.984 kB / 0.548 GB, free: 9.035 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.001716, allocations: 0 / 0.548 GB, free: 9.035 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.522e-05/0.001791, allocations: 23.97 kB / 0.5481 GB, free: 9.012 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/0.001814, allocations: 15.92 kB / 0.5481 GB, free: 8.996 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.083e-05/0.001835, allocations: 4 kB / 0.5481 GB, free: 8.992 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 9.191e-05/0.001927, allocations: 39.92 kB / 0.5481 GB, free: 8.953 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.001929, allocations: 0 / 0.5481 GB, free: 8.953 MB / 0.5105 GB Notification: Performance of FrontEnd: time 7.82e-07/0.001929, allocations: 0 / 0.5481 GB, free: 8.953 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.001933, allocations: 0 / 0.5481 GB, free: 8.953 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000227/0.00216, allocations: 270.2 kB / 0.5484 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.002192, allocations: 12.03 kB / 0.5484 GB, free: 8.645 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.788e-05/0.00222, allocations: 38.73 kB / 0.5484 GB, free: 8.598 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.21e-05/0.002242, allocations: 4.938 kB / 0.5484 GB, free: 8.594 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.779e-05/0.00229, allocations: 109.7 kB / 0.5485 GB, free: 8.461 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.0023, allocations: 4.375 kB / 0.5485 GB, free: 8.457 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.002312, allocations: 12.36 kB / 0.5485 GB, free: 8.445 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.002423, allocations: 66.16 kB / 0.5486 GB, free: 8.375 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.00243, allocations: 192 / 0.5486 GB, free: 8.375 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.782e-06/0.002436, allocations: 384 / 0.5486 GB, free: 8.375 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.002442, allocations: 12.06 kB / 0.5486 GB, free: 8.363 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.884e-05/0.002531, allocations: 95.88 kB / 0.5487 GB, free: 8.27 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001139/0.002645, allocations: 144.6 kB / 0.5488 GB, free: 8.086 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.801e-05/0.002723, allocations: 66.53 kB / 0.5489 GB, free: 8.012 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.071e-05/0.002754, allocations: 29.17 kB / 0.5489 GB, free: 7.98 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001563/0.00291, allocations: 23.92 kB / 0.549 GB, free: 7.957 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.002928, allocations: 30.56 kB / 0.549 GB, free: 7.918 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=11): time 7.21e-07/0.002928, allocations: 0 / 0.549 GB, free: 7.918 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0001777/0.003106, allocations: 109.6 kB / 0.5491 GB, free: 7.805 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.003132, allocations: 59.34 kB / 0.5492 GB, free: 7.734 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.242e-05/0.003165, allocations: 101.8 kB / 0.5492 GB, free: 7.625 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.003175, allocations: 25.7 kB / 0.5493 GB, free: 7.594 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.835e-05/0.003194, allocations: 88.14 kB / 0.5494 GB, free: 7.504 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.003217, allocations: 23.8 kB / 0.5494 GB, free: 7.48 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.003245, allocations: 29.7 kB / 0.5494 GB, free: 7.445 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.25e-05/0.003317, allocations: 322.8 kB / 0.5497 GB, free: 7.121 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.578e-05/0.003343, allocations: 19.98 kB / 0.5497 GB, free: 7.102 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.371e-05/0.003367, allocations: 23.98 kB / 0.5498 GB, free: 7.078 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.401e-05/0.003431, allocations: 56.83 kB / 0.5498 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.003432, allocations: 0 / 0.5498 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.214e-05/0.003514, allocations: 98.2 kB / 0.5499 GB, free: 6.918 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.003527, allocations: 4 kB / 0.5499 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.003531, allocations: 4 kB / 0.5499 GB, free: 6.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.003543, allocations: 0 / 0.5499 GB, free: 6.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.652e-05/0.003609, allocations: 23.92 kB / 0.5499 GB, free: 6.887 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.003613, allocations: 0 / 0.5499 GB, free: 6.887 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.207e-05/0.003625, allocations: 7.953 kB / 0.5499 GB, free: 6.879 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.00363, allocations: 0 / 0.5499 GB, free: 6.879 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.713e-05/0.003707, allocations: 123.1 kB / 0.5501 GB, free: 6.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.582e-06/0.003714, allocations: 11.94 kB / 0.5501 GB, free: 6.738 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001329/0.003847, allocations: 125.5 kB / 0.5502 GB, free: 6.605 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.00385, allocations: 11.94 kB / 0.5502 GB, free: 6.594 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.003854, allocations: 0 / 0.5502 GB, free: 6.594 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.003857, allocations: 3.984 kB / 0.5502 GB, free: 6.59 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.935e-05/0.003926, allocations: 140.7 kB / 0.5503 GB, free: 6.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.003927, allocations: 3.938 kB / 0.5503 GB, free: 6.406 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.134e-05/0.003958, allocations: 16 kB / 0.5504 GB, free: 6.391 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.00396, allocations: 0 / 0.5504 GB, free: 6.391 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.003968, allocations: 7.984 kB / 0.5504 GB, free: 6.383 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.003969, allocations: 7.875 kB / 0.5504 GB, free: 6.375 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-07/0.00397, allocations: 0 / 0.5504 GB, free: 6.375 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.009e-05/0.00406, allocations: 117 kB / 0.5505 GB, free: 6.242 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-06/0.004066, allocations: 15.88 kB / 0.5505 GB, free: 6.227 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.004077, allocations: 7.938 kB / 0.5505 GB, free: 6.219 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-06/0.004084, allocations: 4 kB / 0.5505 GB, free: 6.215 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.663e-05/0.004111, allocations: 3.984 kB / 0.5505 GB, free: 6.211 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.004113, allocations: 4 kB / 0.5505 GB, free: 6.207 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.047e-05/0.004134, allocations: 75.28 kB / 0.5506 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004134, allocations: 0 / 0.5506 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001293/0.004263, allocations: 16 kB / 0.5506 GB, free: 6.117 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002941/0.004557, allocations: 0.6748 MB / 0.5513 GB, free: 5.414 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.377e-05/0.004651, allocations: 63.84 kB / 0.5513 GB, free: 5.352 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.004652, allocations: 0 / 0.5513 GB, free: 5.352 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.882e-05/0.004681, allocations: 31.92 kB / 0.5514 GB, free: 5.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.036e-05/0.004771, allocations: 8 kB / 0.5514 GB, free: 5.312 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004702/0.005241, allocations: 174.4 kB / 0.5515 GB, free: 5.102 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.837e-05/0.00528, allocations: 63.34 kB / 0.5516 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.636e-05/0.005326, allocations: 43.92 kB / 0.5516 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.727e-05/0.005353, allocations: 28.42 kB / 0.5517 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of SimCode: time 6.31e-07/0.005354, allocations: 0 / 0.5517 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01351/0.01887, allocations: 2.209 MB / 0.5538 GB, free: 2.867 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.892/6.911, allocations: 13.59 kB / 0.5538 GB, free: 2.859 MB / 0.5105 GB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial_res.csv --start-time 0 --stop-time 13.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00556 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.440576421096921] Failed to read output from testmodel.py, exit status != 0: 6.991067310795188 7.000909934 6.997297582 Calling exit ...