Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.001483/0.001483, 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.001782/0.001782, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.951/0.951, 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.5568/0.5568, allocations: 110.2 MB / 369.4 MB, free: 12.62 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.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 0.5473 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.91e-05, allocations: 10.28 kB / 0.5473 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial): time 0.002353/0.002382, allocations: 1.557 MB / 0.5488 GB, free: 8.242 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0004378/0.00282, allocations: 176.2 kB / 0.549 GB, free: 8.066 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.239e-05/0.002872, allocations: 0 / 0.549 GB, free: 8.066 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 4.019e-05/0.002912, allocations: 7.938 kB / 0.549 GB, free: 8.059 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.991e-05/0.002962, allocations: 7.922 kB / 0.549 GB, free: 8.051 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004527/0.003415, allocations: 55.81 kB / 0.549 GB, free: 7.996 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.511e-05/0.0035, allocations: 31.92 kB / 0.5491 GB, free: 7.965 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.003612, allocations: 11.98 kB / 0.5491 GB, free: 7.953 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.971e-05/0.003661, allocations: 23.92 kB / 0.5491 GB, free: 7.93 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.673e-05/0.003708, allocations: 11.98 kB / 0.5491 GB, free: 7.918 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.003728, allocations: 4 kB / 0.5491 GB, free: 7.914 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.003857, allocations: 51.92 kB / 0.5492 GB, free: 7.863 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.548e-05/0.003872, allocations: 7.938 kB / 0.5492 GB, free: 7.855 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.268e-05/0.003895, allocations: 15.98 kB / 0.5492 GB, free: 7.84 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.00406, allocations: 79.7 kB / 0.5493 GB, free: 7.762 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.004063, allocations: 4 kB / 0.5493 GB, free: 7.758 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.653e-06/0.004064, allocations: 0 / 0.5493 GB, free: 7.758 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.00407, allocations: 0 / 0.5493 GB, free: 7.758 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004468/0.004517, allocations: 286.2 kB / 0.5495 GB, free: 7.445 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.004562, allocations: 8.031 kB / 0.5496 GB, free: 7.438 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.637e-05/0.004599, allocations: 30.75 kB / 0.5496 GB, free: 7.398 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.808e-05/0.004627, allocations: 4.938 kB / 0.5496 GB, free: 7.395 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.948e-05/0.004726, allocations: 109.8 kB / 0.5497 GB, free: 7.262 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.004748, allocations: 8.375 kB / 0.5497 GB, free: 7.254 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.004758, allocations: 8.359 kB / 0.5497 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.004903, allocations: 58.23 kB / 0.5498 GB, free: 7.184 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.004913, allocations: 4.125 kB / 0.5498 GB, free: 7.18 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.004922, allocations: 384 / 0.5498 GB, free: 7.18 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.00493, allocations: 4.125 kB / 0.5498 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.005048, allocations: 51.94 kB / 0.5498 GB, free: 7.125 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003738/0.005422, allocations: 235.9 kB / 0.55 GB, free: 6.852 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.005646, allocations: 70.41 kB / 0.5501 GB, free: 6.773 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.375e-05/0.005699, allocations: 24.91 kB / 0.5501 GB, free: 6.746 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/0.005838, allocations: 23.91 kB / 0.5502 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.005859, allocations: 34.56 kB / 0.5502 GB, free: 6.68 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.00586, allocations: 3.938 kB / 0.5502 GB, free: 6.676 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0002789/0.006139, allocations: 93.59 kB / 0.5503 GB, free: 6.578 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.006175, allocations: 55.41 kB / 0.5503 GB, free: 6.512 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.156e-05/0.006247, allocations: 109.8 kB / 0.5504 GB, free: 6.395 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.006259, allocations: 29.64 kB / 0.5505 GB, free: 6.359 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.816e-05/0.006308, allocations: 92.12 kB / 0.5506 GB, free: 6.266 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.006324, allocations: 3.953 kB / 0.5506 GB, free: 6.262 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.006354, allocations: 13.72 kB / 0.5506 GB, free: 6.242 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.006464, allocations: 318.8 kB / 0.5509 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.92e-05/0.006513, allocations: 19.98 kB / 0.5509 GB, free: 5.902 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.163e-05/0.006555, allocations: 19.98 kB / 0.5509 GB, free: 5.883 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.039e-05/0.006645, allocations: 44.81 kB / 0.551 GB, free: 5.836 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.006647, allocations: 0 / 0.551 GB, free: 5.836 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001292/0.006776, allocations: 81.88 kB / 0.551 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.006793, allocations: 11.98 kB / 0.5511 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.006801, allocations: 3.984 kB / 0.5511 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.006813, allocations: 0 / 0.5511 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.806e-05/0.006861, allocations: 19.92 kB / 0.5511 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.006867, allocations: 0 / 0.5511 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.767e-05/0.006895, allocations: 4 kB / 0.5511 GB, free: 5.711 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.006901, allocations: 0 / 0.5511 GB, free: 5.711 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: 2 (bin.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.584e-05/0.006966, allocations: 117.8 kB / 0.5512 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.48e-05/0.006981, allocations: 3.938 kB / 0.5512 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001613/0.007142, allocations: 81.64 kB / 0.5513 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.007144, allocations: 0 / 0.5513 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.007149, allocations: 4 kB / 0.5513 GB, free: 5.484 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.007152, allocations: 0 / 0.5513 GB, free: 5.484 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.007261, allocations: 136.7 kB / 0.5514 GB, free: 5.309 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.007262, allocations: 0 / 0.5514 GB, free: 5.309 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.361e-05/0.007296, allocations: 11.98 kB / 0.5514 GB, free: 5.297 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.007297, allocations: 0 / 0.5514 GB, free: 5.297 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.007305, allocations: 7.938 kB / 0.5514 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.007306, allocations: 0 / 0.5514 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.007307, allocations: 0 / 0.5514 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.00745, allocations: 183.3 kB / 0.5516 GB, free: 5.094 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.646e-06/0.007459, allocations: 4 kB / 0.5516 GB, free: 5.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.007469, allocations: 0 / 0.5516 GB, free: 5.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.988e-05/0.007509, allocations: 7.984 kB / 0.5516 GB, free: 5.082 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.007549, allocations: 4 kB / 0.5516 GB, free: 5.078 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.007555, allocations: 7.984 kB / 0.5516 GB, free: 5.07 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.177e-05/0.007587, allocations: 87.22 kB / 0.5517 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.007587, allocations: 0 / 0.5517 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001734/0.00776, allocations: 19.94 kB / 0.5517 GB, free: 4.965 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: 2 (rea2Int.y,bin.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.0004056/0.008166, allocations: 0.7358 MB / 0.5524 GB, free: 4.203 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000132/0.008298, allocations: 43.95 kB / 0.5525 GB, free: 4.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.0083, allocations: 0 / 0.5525 GB, free: 4.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.845e-05/0.008348, allocations: 27.91 kB / 0.5525 GB, free: 4.133 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.008553, allocations: 8 kB / 0.5525 GB, free: 4.125 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009288/0.009482, allocations: 1.296 MB / 0.5538 GB, free: 2.746 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.873e-05/0.009531, allocations: 71.38 kB / 0.5539 GB, free: 2.656 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.455e-05/0.009555, allocations: 7.984 kB / 0.5539 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.009592, allocations: 16.5 kB / 0.5539 GB, free: 2.633 MB / 0.5105 GB Notification: Performance of SimCode: time 3.21e-07/0.009592, allocations: 4 kB / 0.5539 GB, free: 2.629 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01539/0.02498, allocations: 2.614 MB / 0.5564 GB, free: 156 kB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.941/6.966, allocations: 8 kB / 0.5564 GB, free: 148 kB / 0.5105 GB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial_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_Binomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.715573400259018] Failed to read output from testmodel.py, exit status != 0: 7.048480490222573 7.056934157 7.051012043 Calling exit ...