Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.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.0008183/0.0008183, 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.0008289/0.0008289, 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.8959/0.8959, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.5213/0.5213, allocations: 110.2 MB / 369.4 MB, free: 12.63 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.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 3.938 kB / 0.5473 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.779e-05/1.95e-05, allocations: 2.281 kB / 0.5473 GB, free: 9.758 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001476/0.001495, allocations: 0.588 MB / 0.5479 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0002962/0.001792, allocations: 99.66 kB / 0.548 GB, free: 9.07 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.888e-05/0.00181, allocations: 0 / 0.548 GB, free: 9.07 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.8e-05/0.001838, allocations: 0 / 0.548 GB, free: 9.07 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.723e-06/0.001845, allocations: 0 / 0.548 GB, free: 9.07 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.002182, allocations: 43.77 kB / 0.548 GB, free: 9.027 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.002283, allocations: 63.92 kB / 0.5481 GB, free: 8.965 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.861e-05/0.002321, allocations: 4 kB / 0.5481 GB, free: 8.961 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.623e-05/0.002367, allocations: 35.95 kB / 0.5481 GB, free: 8.926 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.121e-05/0.002409, allocations: 23.95 kB / 0.5482 GB, free: 8.902 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.002425, allocations: 4 kB / 0.5482 GB, free: 8.898 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.002543, allocations: 51.89 kB / 0.5482 GB, free: 8.848 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 3.287e-05/0.002576, allocations: 19.97 kB / 0.5482 GB, free: 8.828 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.429e-05/0.0026, allocations: 19.91 kB / 0.5483 GB, free: 8.809 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.002736, allocations: 83.86 kB / 0.5483 GB, free: 8.727 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.002738, allocations: 0 / 0.5483 GB, free: 8.727 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.222e-06/0.00274, allocations: 3.938 kB / 0.5483 GB, free: 8.723 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.002744, allocations: 0 / 0.5483 GB, free: 8.723 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.00036/0.003104, allocations: 302.2 kB / 0.5486 GB, free: 8.395 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.003142, allocations: 16.62 kB / 0.5486 GB, free: 8.379 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.153e-05/0.003174, allocations: 38.75 kB / 0.5487 GB, free: 8.332 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.921e-05/0.003203, allocations: 4.938 kB / 0.5487 GB, free: 8.328 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.105e-05/0.003254, allocations: 101.8 kB / 0.5488 GB, free: 8.203 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002359/0.00349, allocations: 0.5376 MB / 0.5493 GB, free: 7.543 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.003501, allocations: 4.375 kB / 0.5493 GB, free: 7.539 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.003655, allocations: 82.12 kB / 0.5494 GB, free: 7.453 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-06/0.003661, allocations: 192 / 0.5494 GB, free: 7.453 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.003672, allocations: 4.375 kB / 0.5494 GB, free: 7.449 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.003677, allocations: 3.938 kB / 0.5494 GB, free: 7.445 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.003855, allocations: 139.7 kB / 0.5495 GB, free: 7.309 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001273/0.003982, allocations: 144.6 kB / 0.5497 GB, free: 7.125 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.004137, allocations: 90.52 kB / 0.5498 GB, free: 7.027 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.036e-05/0.004207, allocations: 40.83 kB / 0.5498 GB, free: 6.984 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.004231, allocations: 4 kB / 0.5498 GB, free: 6.98 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.004251, allocations: 30.56 kB / 0.5498 GB, free: 6.941 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.004253, allocations: 8.312 kB / 0.5498 GB, free: 6.934 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.000323/0.004576, allocations: 149.4 kB / 0.55 GB, free: 6.781 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.004605, allocations: 51.41 kB / 0.55 GB, free: 6.719 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.759e-05/0.004632, allocations: 93.86 kB / 0.5501 GB, free: 6.617 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.004648, allocations: 33.7 kB / 0.5501 GB, free: 6.578 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.797e-05/0.004666, allocations: 80.14 kB / 0.5502 GB, free: 6.496 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.44e-05/0.004711, allocations: 35.69 kB / 0.5503 GB, free: 6.461 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.004748, allocations: 29.7 kB / 0.5503 GB, free: 6.426 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.537e-05/0.004823, allocations: 314.8 kB / 0.5506 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.31e-05/0.004896, allocations: 31.97 kB / 0.5506 GB, free: 6.078 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.325e-05/0.004959, allocations: 39.91 kB / 0.5507 GB, free: 6.039 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.005098, allocations: 80.75 kB / 0.5507 GB, free: 5.957 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.0051, allocations: 0 / 0.5507 GB, free: 5.957 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001762/0.005276, allocations: 114.2 kB / 0.5508 GB, free: 5.84 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.005292, allocations: 10.34 kB / 0.5509 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.005298, allocations: 0 / 0.5509 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.00531, allocations: 3.938 kB / 0.5509 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.582e-05/0.005406, allocations: 23.97 kB / 0.5509 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.505e-06/0.005414, allocations: 7.938 kB / 0.5509 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.74e-05/0.005441, allocations: 0 / 0.5509 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.00545, allocations: 4 kB / 0.5509 GB, free: 5.793 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: 1 (n) * 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 6.484e-05/0.005515, allocations: 121.8 kB / 0.551 GB, free: 5.664 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.183e-05/0.005527, allocations: 7.953 kB / 0.551 GB, free: 5.656 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/0.005561, allocations: 15.97 kB / 0.551 GB, free: 5.637 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.005564, allocations: 3.938 kB / 0.551 GB, free: 5.633 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.005569, allocations: 4 kB / 0.551 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.005572, allocations: 0 / 0.551 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.489e-05/0.005657, allocations: 148.7 kB / 0.5512 GB, free: 5.441 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.005658, allocations: 0 / 0.5512 GB, free: 5.441 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.539e-05/0.005713, allocations: 23.98 kB / 0.5512 GB, free: 5.418 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.005715, allocations: 0 / 0.5512 GB, free: 5.418 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.005724, allocations: 3.984 kB / 0.5512 GB, free: 5.414 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.005727, allocations: 7.938 kB / 0.5512 GB, free: 5.406 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.005727, allocations: 3.938 kB / 0.5512 GB, free: 5.402 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.005916, allocations: 153 kB / 0.5514 GB, free: 5.234 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.512e-06/0.005922, allocations: 4 kB / 0.5514 GB, free: 5.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.005934, allocations: 3.984 kB / 0.5514 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.616e-05/0.00596, allocations: 11.94 kB / 0.5514 GB, free: 5.215 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.006005, allocations: 11.97 kB / 0.5514 GB, free: 5.203 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.00601, allocations: 4 kB / 0.5514 GB, free: 5.199 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.86e-05/0.006029, allocations: 75.28 kB / 0.5515 GB, free: 5.125 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/0.006029, allocations: 0 / 0.5515 GB, free: 5.125 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001646/0.006194, allocations: 23.94 kB / 0.5515 GB, free: 5.102 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: 1 (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.0004568/0.00665, allocations: 0.7072 MB / 0.5522 GB, free: 4.367 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001873/0.006838, allocations: 83.94 kB / 0.5523 GB, free: 4.285 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.006839, allocations: 0 / 0.5523 GB, free: 4.285 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.298e-05/0.006912, allocations: 43.91 kB / 0.5523 GB, free: 4.242 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001052/0.007018, allocations: 7.938 kB / 0.5523 GB, free: 4.234 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003825/0.0074, allocations: 202.3 kB / 0.5525 GB, free: 3.996 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.551e-05/0.007446, allocations: 63.34 kB / 0.5526 GB, free: 3.914 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001357/0.007581, allocations: 43.92 kB / 0.5526 GB, free: 3.871 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.183e-05/0.007623, allocations: 28.48 kB / 0.5526 GB, free: 3.844 MB / 0.5105 GB Notification: Performance of SimCode: time 5.41e-07/0.007624, allocations: 0 / 0.5526 GB, free: 3.844 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01482/0.02244, allocations: 2.693 MB / 0.5553 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.847/6.869, allocations: 4 kB / 0.5553 GB, free: 1.289 MB / 0.5105 GB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial_res.csv --start-time 0 --stop-time 15.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00636 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.379344377666712] Failed to read output from testmodel.py, exit status != 0: 6.951109068468213 6.960803504 6.956263168 Calling exit ...