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.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.000925/0.000925, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001177/0.001177, allocations: 165.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.902/0.902, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.566/0.566, allocations: 110.3 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.063e-06/2.063e-06, allocations: 0 / 0.5473 GB, free: 8.746 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.678e-05/2.884e-05, allocations: 2.281 kB / 0.5473 GB, free: 8.742 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002367/0.002396, allocations: 1.541 MB / 0.5488 GB, free: 7.195 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003706/0.002767, allocations: 128.5 kB / 0.5489 GB, free: 7.066 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.002807, allocations: 4 kB / 0.5489 GB, free: 7.062 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 3.045e-05/0.002837, allocations: 7.875 kB / 0.5489 GB, free: 7.055 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 4.202e-05/0.002879, allocations: 0 / 0.5489 GB, free: 7.055 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003374/0.003217, allocations: 31.84 kB / 0.549 GB, free: 7.023 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 8.006e-05/0.003297, allocations: 39.91 kB / 0.549 GB, free: 6.984 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.003404, allocations: 15.98 kB / 0.549 GB, free: 6.969 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.225e-05/0.003446, allocations: 19.92 kB / 0.549 GB, free: 6.949 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.092e-05/0.003487, allocations: 19.97 kB / 0.549 GB, free: 6.93 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.003503, allocations: 4 kB / 0.5491 GB, free: 6.926 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.621e-05/0.003579, allocations: 19.98 kB / 0.5491 GB, free: 6.906 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.003591, allocations: 7.938 kB / 0.5491 GB, free: 6.898 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 2.203e-05/0.003613, allocations: 15.97 kB / 0.5491 GB, free: 6.883 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.003742, allocations: 55.73 kB / 0.5491 GB, free: 6.828 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.003745, allocations: 0 / 0.5491 GB, free: 6.828 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.003746, allocations: 0 / 0.5491 GB, free: 6.828 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.00375, allocations: 0 / 0.5491 GB, free: 6.828 MB / 474.7 MB 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.000396/0.004146, allocations: 278.3 kB / 0.5494 GB, free: 6.523 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.004186, allocations: 16.02 kB / 0.5494 GB, free: 6.508 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.093e-05/0.004216, allocations: 34.75 kB / 0.5495 GB, free: 6.465 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.603e-05/0.004242, allocations: 8.828 kB / 0.5495 GB, free: 6.457 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.407e-05/0.004327, allocations: 113.7 kB / 0.5496 GB, free: 6.32 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.004346, allocations: 384 / 0.5496 GB, free: 6.32 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-06/0.004356, allocations: 8.375 kB / 0.5496 GB, free: 6.312 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.004505, allocations: 62.22 kB / 0.5496 GB, free: 6.246 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.004516, allocations: 4.172 kB / 0.5496 GB, free: 6.242 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.004529, allocations: 4.375 kB / 0.5497 GB, free: 6.238 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.004536, allocations: 8.062 kB / 0.5497 GB, free: 6.23 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.004649, allocations: 47.95 kB / 0.5497 GB, free: 6.184 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.005021, allocations: 236 kB / 0.5499 GB, free: 5.91 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.005253, allocations: 66.41 kB / 0.55 GB, free: 5.836 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.062e-05/0.005304, allocations: 20.91 kB / 0.55 GB, free: 5.812 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.005419, allocations: 15.98 kB / 0.55 GB, free: 5.797 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.005437, allocations: 34.56 kB / 0.5501 GB, free: 5.754 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.512e-06/0.005439, allocations: 4 kB / 0.5501 GB, free: 5.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002518/0.00569, allocations: 97.58 kB / 0.5502 GB, free: 5.648 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.005718, allocations: 51.41 kB / 0.5502 GB, free: 5.586 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.5e-05/0.005783, allocations: 109.8 kB / 0.5503 GB, free: 5.469 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.005795, allocations: 25.7 kB / 0.5503 GB, free: 5.438 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.633e-05/0.005841, allocations: 84.14 kB / 0.5504 GB, free: 5.352 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.335e-05/0.005854, allocations: 11.89 kB / 0.5504 GB, free: 5.34 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.005885, allocations: 21.7 kB / 0.5505 GB, free: 5.312 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.922e-05/0.005965, allocations: 318.8 kB / 0.5508 GB, free: 4.992 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.374e-05/0.006018, allocations: 23.97 kB / 0.5508 GB, free: 4.969 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.109e-05/0.00606, allocations: 19.98 kB / 0.5508 GB, free: 4.949 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.781e-05/0.006147, allocations: 44.81 kB / 0.5508 GB, free: 4.902 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.006149, allocations: 0 / 0.5508 GB, free: 4.902 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001189/0.006268, allocations: 73.59 kB / 0.5509 GB, free: 4.824 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.00628, allocations: 8 kB / 0.5509 GB, free: 4.816 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.006285, allocations: 0 / 0.5509 GB, free: 4.816 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.006298, allocations: 4 kB / 0.5509 GB, free: 4.812 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.942e-05/0.006347, allocations: 11.92 kB / 0.5509 GB, free: 4.801 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.006353, allocations: 4 kB / 0.5509 GB, free: 4.797 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.005e-05/0.006383, allocations: 19.88 kB / 0.551 GB, free: 4.777 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.006388, allocations: 0 / 0.551 GB, free: 4.777 MB / 474.7 MB 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 6.299e-05/0.006451, allocations: 109.8 kB / 0.5511 GB, free: 4.66 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.421e-05/0.006466, allocations: 3.938 kB / 0.5511 GB, free: 4.656 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001626/0.006628, allocations: 89.64 kB / 0.5511 GB, free: 4.559 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.006631, allocations: 384 / 0.5511 GB, free: 4.559 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.006635, allocations: 0 / 0.5511 GB, free: 4.559 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.006637, allocations: 0 / 0.5511 GB, free: 4.559 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.006759, allocations: 140.7 kB / 0.5513 GB, free: 4.379 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.00676, allocations: 3.938 kB / 0.5513 GB, free: 4.375 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.457e-05/0.006795, allocations: 8 kB / 0.5513 GB, free: 4.367 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.006798, allocations: 7.969 kB / 0.5513 GB, free: 4.359 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.006805, allocations: 4 kB / 0.5513 GB, free: 4.355 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.006807, allocations: 3.938 kB / 0.5513 GB, free: 4.352 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.006809, allocations: 4 kB / 0.5513 GB, free: 4.348 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.006957, allocations: 171.4 kB / 0.5515 GB, free: 4.164 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.036e-05/0.006968, allocations: 4 kB / 0.5515 GB, free: 4.16 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.00698, allocations: 7.984 kB / 0.5515 GB, free: 4.152 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.907e-05/0.007019, allocations: 4 kB / 0.5515 GB, free: 4.148 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.007062, allocations: 7.984 kB / 0.5515 GB, free: 4.141 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.007066, allocations: 0 / 0.5515 GB, free: 4.141 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.422e-05/0.0071, allocations: 95.27 kB / 0.5516 GB, free: 4.047 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0071, allocations: 0 / 0.5516 GB, free: 4.047 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001612/0.007261, allocations: 8 kB / 0.5516 GB, free: 4.039 MB / 474.7 MB 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.000413/0.007674, allocations: 0.724 MB / 0.5523 GB, free: 3.289 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001499/0.007824, allocations: 43.95 kB / 0.5523 GB, free: 3.246 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.007826, allocations: 0 / 0.5523 GB, free: 3.246 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.045e-05/0.007877, allocations: 27.97 kB / 0.5524 GB, free: 3.219 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.008121, allocations: 11.3 kB / 0.5524 GB, free: 3.211 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.009188, allocations: 1.276 MB / 0.5536 GB, free: 1.852 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.399e-05/0.009242, allocations: 67.34 kB / 0.5537 GB, free: 1.766 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.278e-05/0.009275, allocations: 7.844 kB / 0.5537 GB, free: 1.758 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.379e-05/0.009318, allocations: 16.5 kB / 0.5537 GB, free: 1.742 MB / 474.7 MB Notification: Performance of SimCode: time 9.62e-07/0.009319, allocations: 0 / 0.5537 GB, free: 1.742 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01911/0.02843, allocations: 2.396 MB / 0.5561 GB, free: 15.49 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.763/6.791, allocations: 19 kB / 0.5561 GB, free: 15.48 MB / 490.7 MB " [Timeout remaining time 653] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.400299141183496] Failed to read output from testmodel.py, exit status != 0: 6.873410350643098 6.885157291 6.879521567 Calling exit ...